diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-08 08:14:34 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-08 08:14:34 +0700 |
| commit | 5f04912a511578a73fe298f154713ade56e933b4 (patch) | |
| tree | 6ca4ba855e618cd96a1cf8f67f7147392954da67 | |
| parent | 667ae638f2e9ec9c699037e8f2dac9f53199bc07 (diff) | |
<miqdad> update tnc for shipping
| -rw-r--r-- | indoteknik_custom/models/voucher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/voucher.py b/indoteknik_custom/models/voucher.py index 91d87ddd..b213a039 100644 --- a/indoteknik_custom/models/voucher.py +++ b/indoteknik_custom/models/voucher.py @@ -292,7 +292,7 @@ class Voucher(models.Model): tnc.append(f'<li>Voucher berlaku untuk produk dari brand terpilih</li>') tnc.append( f'<li>Nominal potongan produk yang bisa didapatkan hingga 10 Juta dengan minimum pembelian 10 Ribu.</li>') - elif self.apply_type == 'all': + elif self.apply_type == 'all' or self.apply_type == 'shipping': if self.voucher_category: category_names = ', '.join([cat.name for cat in self.voucher_category]) tnc.append( |
