Commit 408c0a88 by Owo Sugiana

Perubahan yang mendapat discount pokok di Kota Cimahi

1 parent 36497e75
0.4.4 2026-09-02
----------------
- Perubahan yang mendapat discount pokok di Kota Cimahi
0.4.3 2026-09-01 0.4.3 2026-09-01
---------------- ----------------
- Discount pokok Kota Cimahi - Discount pokok Kota Cimahi
......
...@@ -3,7 +3,7 @@ requires = ['setuptools >= 64'] ...@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project] [project]
name = 'sismiop-models' name = 'sismiop-models'
version = '0.4.3' version = '0.4.4'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
...@@ -23,7 +23,7 @@ class Inquiry(BaseInquiry): ...@@ -23,7 +23,7 @@ class Inquiry(BaseInquiry):
def hitung_discount_pokok(self): def hitung_discount_pokok(self):
if self.invoice.thn_pajak_sppt != '2026': if self.invoice.thn_pajak_sppt != '2026':
return return
if self.invoice.status_tagihan_sppt in ('5', '6', '7', '9'): if self.invoice.status_tagihan_sppt in ('5', '7', '8', '9'):
return return
if AWAL_DISC_POKOK <= self.tgl_bayar <= AKHIR_DISC_POKOK: if AWAL_DISC_POKOK <= self.tgl_bayar <= AKHIR_DISC_POKOK:
self.discount_pokok = int(0.05 * self.tagihan) self.discount_pokok = int(0.05 * self.tagihan)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!