Commit f57f3c47 by Owo Sugiana

Discount denda Kota Sukabumi

1 parent 56e0b94d
0.3.52 2026-02-28
-----------------
- Discount denda Kota Sukabumi
0.3.51 2026-02-24 0.3.51 2026-02-24
----------------- -----------------
- Discount pokok Kota Bogor - Discount pokok Kota Bogor
......
...@@ -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.51' version = '0.3.52'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
...@@ -27,6 +27,8 @@ AWAL_DISC_1 = date(2025, 6, 1) ...@@ -27,6 +27,8 @@ AWAL_DISC_1 = date(2025, 6, 1)
AKHIR_DISC_1 = date(2025, 9, 30) AKHIR_DISC_1 = date(2025, 9, 30)
AWAL_DISC_2 = date(2025, 10, 1) AWAL_DISC_2 = date(2025, 10, 1)
AKHIR_DISC_2 = date(2025, 12, 31) AKHIR_DISC_2 = date(2025, 12, 31)
AWAL_DISC_3 = date(2026, 3, 1)
AKHIR_DISC_3 = date(2026, 9, 30)
def get_nop(row): def get_nop(row):
...@@ -70,7 +72,11 @@ class Inquiry(BaseInquiry): ...@@ -70,7 +72,11 @@ class Inquiry(BaseInquiry):
return 1 return 1
def hitung_denda(self): # Override def hitung_denda(self): # Override
if AWAL_DISC_1 <= self.tgl_bayar <= AKHIR_DISC_1 and \ if AWAL_DISC_3 <= self.tgl_bayar <= AKHIR_DISC_3 and \
self.invoice.THN_PAJAK_SPPT <= '2025':
self.bln_tunggakan = 0
self.denda = 0
elif AWAL_DISC_1 <= self.tgl_bayar <= AKHIR_DISC_1 and \
'2009' <= self.invoice.THN_PAJAK_SPPT <= '2024': '2009' <= self.invoice.THN_PAJAK_SPPT <= '2024':
self.bln_tunggakan = 0 self.bln_tunggakan = 0
self.denda = 0 self.denda = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!