Commit b73b5194 by Owo Sugiana

Tambah modul bekasi_kab

1 parent 12faf087
0.1.10 2020-09-24
-----------------
- Tambah modul bekasi_kab
0.1.9 2020-08-30 0.1.9 2020-08-30
---------------- ----------------
- Perubahan rumus discount pokok dan discount denda pada modul tangsel sesuai - Perubahan rumus discount pokok dan discount denda pada modul tangsel sesuai
......
...@@ -20,7 +20,7 @@ requires = [ ...@@ -20,7 +20,7 @@ requires = [
'zope.sqlalchemy', 'zope.sqlalchemy',
'psycopg2-binary', 'psycopg2-binary',
'opensipkd-hitung @ ' 'opensipkd-hitung @ '
'git+https://git.opensipkd.com/sugiana/opensipkd-hitung', 'git+https://git.opensipkd.com/sugiana/opensipkd-hitung.git',
] ]
......
from datetime import date
from sismiop.services.cilegon import (
Inquiry as BaseInquiry,
Reversal,
AvailableInvoice,
)
AWAL_DISC = date(2020, 9, 1)
AKHIR_DISC = date(2020, 10, 30)
class Inquiry(BaseInquiry):
def hitung_discount_denda(self): # Override
tgl_bayar = self.tgl_bayar.date()
if self.denda < 1 or tgl_bayar < AWAL_DISC or \
tgl_bayar > AKHIR_DISC or self.invoice.thn_pajak_sppt > '2020':
return 0
return self.denda
# File ini berdasarkan Surat Keputusan Walikota Cilegon Nomor 973/kep. -BPKAD/2020 # File ini berdasarkan Surat Keputusan Walikota Cilegon
# Nomor 973/kep. -BPKAD/2020
from datetime import date from datetime import date
from ..default import ( from ..default import (
Inquiry as BaseInquiry, Inquiry as BaseInquiry,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!