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
----------------
- Discount pokok Kota Cimahi
......
......@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name = 'sismiop-models'
version = '0.4.3'
version = '0.4.4'
dependencies = [
'sqlalchemy',
'zope.sqlalchemy',
......
......@@ -23,7 +23,7 @@ class Inquiry(BaseInquiry):
def hitung_discount_pokok(self):
if self.invoice.thn_pajak_sppt != '2026':
return
if self.invoice.status_tagihan_sppt in ('5', '6', '7', '9'):
if self.invoice.status_tagihan_sppt in ('5', '7', '8', '9'):
return
if AWAL_DISC_POKOK <= self.tgl_bayar <= AKHIR_DISC_POKOK:
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!