Commit e95a9a36 by taufikyu

perbaikan rpc

1 parent 6ea7e657
......@@ -182,23 +182,15 @@ def get_payment(request, data):
rdata = []
for k in row_payment:
# if not k.ntp:
# k.ntp = ''
# else:
# k.ntb = k.ntp.strip()
# if not k.ntb:
# k.ntb = ''
# else:
# k.ntb = k.ntb.strip()
d = dict(
kd_bayar = data['kd_bayar'],
ntp = k.ntp,
ntp = hasattr(k,'ntp') and 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,
ntb = hasattr(k,'ntb') and 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!