Commit b35205cd by Owo Sugiana

Melengkapi field Kabupaten Serang saat self test

1 parent 587e0472
0.1.30 2021-12-29
-----------------
- Melengkapi field Kabupaten Serang saat self test
- Tambah Kabupaten Sumedang
0.1.29 2021-12-11
......
......@@ -80,7 +80,7 @@ def show_inquiry(inq):
'kd_kanwil_bank', 'kd_kppbb_bank', 'kd_bank_tunggal',
'kd_bank_persepsi', 'kd_tp', 'tgl_rekam_byr_sppt',
'tgl_pembayaran_sppt', 'jml_sppt_yg_dibayar',
'denda_sblm_diskon', 'denda_sppt',
'jml_pbb_yg_dibayar', 'denda_sblm_diskon', 'denda_sppt',
'discount_pokok', 'discount_denda', 'discount'])
......@@ -105,8 +105,8 @@ def show_payment(module_name, inq, pay):
show_fields(
pay, ['kd_kanwil', 'kd_bank', 'kd_kanwil_bank', 'kd_kppbb_bank',
'kd_bank_tunggal', 'kd_bank_persepsi', 'kd_tp',
'jml_sppt_yg_dibayar', 'denda_sppt', 'discount_pokok',
'discount_denda', 'discount'])
'jml_sppt_yg_dibayar', 'jml_pbb_yg_dibayar', 'denda_sppt',
'discount_pokok', 'discount_denda', 'discount'])
try:
row, fields = inq.get_other_payment_table(pay)
except AttributeError:
......@@ -123,8 +123,8 @@ def show_reversal(module_name, inq, pay):
pay.pembayaran_sppt_ke))
print('Tabel pembayaran_sppt')
show_fields(
pay, ['jml_sppt_yg_dibayar', 'denda_sppt', 'discount_pokok',
'discount_denda', 'discount'])
pay, ['jml_sppt_yg_dibayar', 'jml_pbb_yg_dibayar', 'denda_sppt',
'discount_pokok', 'discount_denda', 'discount'])
try:
row, fields = inq.get_other_payment_table(pay)
except AttributeError:
......@@ -188,9 +188,12 @@ def main(argv=sys.argv):
kd_kanwil=conf.get('main', 'kd_kanwil'),
kd_kantor=conf.get('main', 'kd_kantor')))
else:
tp.update(dict(
if conf.has_option('main', 'kd_kanwil_bank'):
tp.update(dict(
kd_kanwil_bank=conf.get('main', 'kd_kanwil_bank'),
kd_kppbb_bank=conf.get('main', 'kd_kppbb_bank'),
kd_kppbb_bank=conf.get('main', 'kd_kppbb_bank')))
if conf.has_option('main', 'kd_bank_tunggal'):
tp.update(dict(
kd_bank_tunggal=conf.get('main', 'kd_bank_tunggal'),
kd_bank_persepsi=conf.get('main', 'kd_bank_persepsi')))
nip = conf.get('main', 'nip_pencatat')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!