Commit 82cd2bcf by iWan Mustaqim

Discount denda Kabupaten Kuningan

1 parent 35746037
0.3.36 2025-08-01
-----------------
- Discount denda Kabupaten Kuningan
0.3.35 2025-07-31
-----------------
- Discount pokok dan denda Kota Tangerang
......
......@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name = 'sismiop-models'
version = '0.3.35'
version = '0.3.36'
dependencies = [
'sqlalchemy',
'zope.sqlalchemy',
......
......@@ -10,8 +10,8 @@ from .cilegon import (
from .base import get_db_session
AWAL_DISC = date(2024, 9, 5)
AKHIR_DISC = date(2024, 9, 30)
AWAL_DISC = date(2025, 8, 1)
AKHIR_DISC = date(2025, 10, 31)
class Inquiry(BaseInquiry):
......@@ -47,9 +47,8 @@ class Inquiry(BaseInquiry):
def hitung_discount_denda(self): # Override
if self.denda < 1:
return 0
if self.invoice.thn_pajak_sppt != '2024':
return 0
if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC:
if '2014' <= self.invoice.thn_pajak_sppt <= '2024':
return self.denda
return 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!