Commit 8a28ed95 by iwan

Penyesuaian get_listkdbayar

2 parents b3eacbf0 78f10254
...@@ -43,11 +43,7 @@ def get_listkdbayar(): ...@@ -43,11 +43,7 @@ def get_listkdbayar():
ARSspd.ntb.notin_(['BJBQRIS','BJBVA']), ARSspd.ntb.notin_(['BJBQRIS','BJBVA']),
ARSspd.tgl_bayar >= datenow, ARSspd.tgl_bayar >= datenow,
ARSspd.posted == 0).all() ARSspd.posted == 0).all()
if not getdata: list_kd_bayar = [d.kode for d in getdata]
return
for row in getdata:
kode = row
list_kd_bayar = kode # [kode for d in getdata]
return list_kd_bayar return list_kd_bayar
def sendrpc(kd_bayar): def sendrpc(kd_bayar):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!