Commit 0b6aae6c by Owo Sugiana

Rumus discount Kabupaten Bekasi

1 parent 766663fb
0.1.36 2022-3-26
----------------
- Rumus discount Kabupaten Bekasi
0.1.35 2022-3-9 0.1.35 2022-3-9
--------------- ---------------
- Rumus discount Kota Bekasi - Rumus discount Kota Bekasi
......
...@@ -6,15 +6,15 @@ from .cilegon import ( ...@@ -6,15 +6,15 @@ from .cilegon import (
) )
# SK Bupati No. 973/Kep-446-BAPENDA/2020 tanggal 11-11-2020 # Permintaan Pak Yasir tanggal 31 Januari 2022
AWAL_DISC = date(2020, 11, 20) AWAL_DISC = date(2022, 2, 1)
AKHIR_DISC = date(2020, 12, 20) AKHIR_DISC = date(2022, 3, 31)
class Inquiry(BaseInquiry): class Inquiry(BaseInquiry):
def hitung_discount_denda(self): # Override def hitung_discount_denda(self): # Override
if self.denda < 1 or self.tgl_bayar < AWAL_DISC or \ if self.denda < 1 or self.tgl_bayar < AWAL_DISC or \
self.tgl_bayar > AKHIR_DISC or \ self.tgl_bayar > AKHIR_DISC or \
self.invoice.thn_pajak_sppt > '2020': self.invoice.thn_pajak_sppt > '2021':
return 0 return 0
return self.denda return self.denda
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!