Commit 6ea7e657 by iwan

update bug

1 parent b8aeebf3
...@@ -182,14 +182,14 @@ def get_payment(request, data): ...@@ -182,14 +182,14 @@ def get_payment(request, data):
rdata = [] rdata = []
for k in row_payment: for k in row_payment:
if not k.ntp: # if not k.ntp:
k.ntp = '' # k.ntp = ''
else: # else:
k.ntb = k.ntp.strip() # k.ntb = k.ntp.strip()
if not k.ntb: # if not k.ntb:
k.ntb = '' # k.ntb = ''
else: # else:
k.ntb = k.ntb.strip() # k.ntb = k.ntb.strip()
d = dict( d = dict(
kd_bayar = data['kd_bayar'], kd_bayar = data['kd_bayar'],
ntp = k.ntp, ntp = k.ntp,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!