Commit 129fafd7 by Owo Sugiana

Discount denda Kabupaten Tasikmalaya

1 parent 0fb037f0
0.3.34 2025-07-16
-----------------
- Discount denda Kabupaten Tasikmalaya
0.3.33 2025-07-04 0.3.33 2025-07-04
----------------- -----------------
- Discount NOP tertentu di Kabupaten Subang - Discount NOP tertentu di 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.33' version = '0.3.34'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
...@@ -17,8 +17,8 @@ from .base import ( ...@@ -17,8 +17,8 @@ from .base import (
) )
AWAL_DISC = date(2024, 8, 29) AWAL_DISC = date(2025, 7, 16)
AKHIR_DISC = date(2024, 10, 31) AKHIR_DISC = date(2025, 10, 31)
class Inquiry(BaseInquiry): class Inquiry(BaseInquiry):
...@@ -63,7 +63,7 @@ class Inquiry(BaseInquiry): ...@@ -63,7 +63,7 @@ class Inquiry(BaseInquiry):
def hitung_discount(self): # Override def hitung_discount(self): # Override
if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC and \ if AWAL_DISC <= self.tgl_bayar <= AKHIR_DISC and \
'2018' <= self.invoice.thn_pajak_sppt <= '2024': '2014' <= self.invoice.thn_pajak_sppt <= '2025':
self.discount = self.denda self.discount = self.denda
else: else:
self.discount = 0 self.discount = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!