Commit 5a642bb7 by Owo Sugiana

Kabupaten Cirebon discount denda 100% untuk masa pajak hingga November 2024

1 parent 7a7df0fb
0.5.19 2025-01-02
-----------------
- Kabupaten Cirebon discount denda 100% untuk masa pajak hingga November 2024
0.5.18 2024-12-15
-----------------
- Tambah Kabupaten Magelang
......
......@@ -15,11 +15,11 @@ INVOICE_ID = [
('SptNo', 5, 'N'),
]
AKHIR_MARET = date(2024, 3, 31)
DESEMBER_2024 = date(2024, 12, 1)
AKHIR_JULI = date(2024, 7, 31)
AWAL_DISC = date(2024, 1, 15)
AKHIR_DISC = date(2024, 12, 31)
AWAL_DISC = date(2025, 1, 1)
AKHIR_DISC = date(2025, 12, 31)
class Inquiry(BaseInquiry):
......@@ -43,7 +43,7 @@ class Inquiry(BaseInquiry):
tgl = self.get_tgl_kohir()
if not tgl:
tgl = self.invoice.masadari.date()
if tgl <= AKHIR_MARET:
if tgl < DESEMBER_2024:
return self.denda
return 0
......
......@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name = 'opensipkd-pad-models'
version = '0.5.18'
version = '0.5.19'
dependencies = [
'sqlalchemy',
'zope.sqlalchemy',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!