Commit 131f9a52 by h2h

Kota Cilegon tahun pajak 2024 ke atas dendanya 1%

1 parent 90862098
0.3.16 2024-08-28 0.3.16 2024-09-03
----------------- -----------------
- Discount denda Kabupaten Tasikmalaya - Discount denda Kabupaten Tasikmalaya
- Kota Cilegon untuk Tahun Pajak 2023 ke bawah dendanya 2%, selain itu
1%. persen_denda pada file konfigurasi tidak digunakan.
0.3.15 2024-08-07 0.3.15 2024-08-07
----------------- -----------------
......
...@@ -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.15' version = '0.3.16'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
...@@ -17,6 +17,11 @@ AKHIR_DISC = date(2022, 12, 31) ...@@ -17,6 +17,11 @@ AKHIR_DISC = date(2022, 12, 31)
class Inquiry(BaseInquiry): class Inquiry(BaseInquiry):
def get_persen_denda(self): # Override
if self.invoice.thn_pajak_sppt < '2024':
return 2
return 1
def hitung_discount_denda(self): def hitung_discount_denda(self):
if self.tgl_bayar < AWAL_DISC or self.tgl_bayar > AKHIR_DISC or \ if self.tgl_bayar < AWAL_DISC or self.tgl_bayar > AKHIR_DISC or \
self.invoice.thn_pajak_sppt < '1990' or \ self.invoice.thn_pajak_sppt < '1990' or \
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!