Commit cc39ce58 by taufikyu

fix ntp kosong, dan ntb kosong

1 parent 435f3f36
......@@ -184,13 +184,13 @@ def get_payment(request, data):
for k in row_payment:
d = dict(
kd_bayar = data['kd_bayar'],
ntp = k.ntp.strip(),
ntp = k.ntp and k.ntp.strip() or '',
pembayaran_ke = k.pembayaran_ke,
bunga = k.bunga,
bayar = k.bayar,
tgl_bayar = ymd(k.tgl_bayar),
jatuh_tempo = ymd(k.jatuh_tempo),
ntb = k.ntb.strip(),
ntb = k.ntb and k.ntb.strip() or '',
bank_id = k.bank_id,
channel_id = k.channel_id,
)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!