Commit 438c9a48 by Owo Sugiana

Discount denda Kota Bogor

1 parent c2fe7577
0.3.39 2025-09-21
-----------------
- Discount denda Kota Bogor
0.3.38 2025-08-31 0.3.38 2025-08-31
----------------- -----------------
- Discount denda Kabupaten Kuningan untuk tahun pajak 2025 - Discount denda Kabupaten Kuningan untuk tahun pajak 2025
......
...@@ -3,7 +3,7 @@ requires = ['setuptools >= 64'] ...@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project] [project]
name = 'sismiop-models' name = 'sismiop-models'
version = '0.3.38' version = '0.3.39'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
...@@ -20,8 +20,8 @@ DISC_POKOK = [ ...@@ -20,8 +20,8 @@ DISC_POKOK = [
(date(2025, 5, 28), date(2025, 6, 28), 0.05), (date(2025, 5, 28), date(2025, 6, 28), 0.05),
] ]
DISC_DENDA_AWAL = date(2025, 4, 28) DISC_DENDA_AWAL = date(2025, 9, 22)
DISC_DENDA_AKHIR = date(2025, 6, 28) DISC_DENDA_AKHIR = date(2025, 12, 31)
class Common(Query): class Common(Query):
...@@ -78,7 +78,7 @@ class Inquiry(BaseInquiry, Common): ...@@ -78,7 +78,7 @@ class Inquiry(BaseInquiry, Common):
def hitung_discount_denda(self): def hitung_discount_denda(self):
if not self.is_e_sppt(): if not self.is_e_sppt():
return return
if self.invoice.thn_pajak_sppt > '2024': if self.invoice.thn_pajak_sppt > '2025':
return return
if DISC_DENDA_AWAL <= self.tgl_bayar <= DISC_DENDA_AKHIR: if DISC_DENDA_AWAL <= self.tgl_bayar <= DISC_DENDA_AKHIR:
self.discount_denda = self.denda self.discount_denda = self.denda
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!