Commit 8460a8b9 by iWan Mustaqim

Discount denda Kabupaten Kuningan

1 parent e80118e3
0.3.50 2026-02-15
-----------------
- Discount denda Kabupaten Kuningan
0.3.49 2026-02-13 0.3.49 2026-02-13
----------------- -----------------
- Discount Kabupaten Subang - Discount Kabupaten Subang
......
...@@ -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.49' version = '0.3.50'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
...@@ -10,11 +10,8 @@ from .cilegon import ( ...@@ -10,11 +10,8 @@ from .cilegon import (
from .base import get_db_session from .base import get_db_session
AWAL_DISC = date(2025, 8, 1) AWAL_DISC = date(2026, 2, 14)
AKHIR_DISC = date(2025, 10, 31) AKHIR_DISC = date(2026, 4, 30)
AWAL_DISC_2025 = date(2025, 9, 1)
AKHIR_DISC_2025 = date(2025, 9, 7)
class Inquiry(BaseInquiry): class Inquiry(BaseInquiry):
...@@ -51,10 +48,7 @@ class Inquiry(BaseInquiry): ...@@ -51,10 +48,7 @@ class Inquiry(BaseInquiry):
if self.denda < 1: if self.denda < 1:
return 0 return 0
if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC: if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC:
if '2014' <= self.invoice.thn_pajak_sppt <= '2024': if '2014' <= self.invoice.thn_pajak_sppt <= '2025':
return self.denda
if AWAL_DISC_2025 <= self.tgl_bayar <= AKHIR_DISC_2025:
if self.invoice.thn_pajak_sppt == '2025':
return self.denda return self.denda
return 0 return 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!