Commit 9224eb4a by Owo Sugiana

Rumus discount denda Kota Bekasi

1 parent 40c8ebec
0.1.46 2022-10-29
-----------------
- Rumus discount denda Kota Bekasi
0.1.45 2022-10-9 0.1.45 2022-10-9
---------------- ----------------
- Rumus discount denda Kota Bogor - Rumus discount denda Kota Bogor
......
...@@ -14,8 +14,8 @@ from .binjai import ( ...@@ -14,8 +14,8 @@ from .binjai import (
) )
AWAL_DISC = date(2022, 3, 10) AWAL_DISC = date(2022, 10, 28)
AKHIR_DISC = date(2022, 3, 31) AKHIR_DISC = date(2022, 11, 28)
class Inquiry(BaseInquiry): class Inquiry(BaseInquiry):
...@@ -29,9 +29,6 @@ class Inquiry(BaseInquiry): ...@@ -29,9 +29,6 @@ class Inquiry(BaseInquiry):
return return
if self.invoice.faktor_pengurang_sppt != 0: if self.invoice.faktor_pengurang_sppt != 0:
return return
if self.invoice.thn_pajak_sppt == '2022':
self.discount = int(0.1 * self.tagihan)
else:
self.discount = self.denda self.discount = self.denda
def before_save(self, payment): # Override def before_save(self, payment): # Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!