Commit cab11488 by Solo Group

auto-push

1 parent 0b44bd7d
...@@ -320,7 +320,7 @@ def advice(request, data): ...@@ -320,7 +320,7 @@ def advice(request, data):
filter(Produk.id == p.produk_id).first() filter(Produk.id == p.produk_id).first()
status = p.status == -1 and 'PENDING' or p.status == 1 and 'SUCCESS' \ status = p.status == -1 and 'PENDING' or p.status == 1 and 'SUCCESS' \
or p.status == -2 and 'PENDING' or p.status == -2 and 'PENDING' or "FAILED"
r_prod.append(dict(denom=produk.kode, r_prod.append(dict(denom=produk.kode,
id_pel=p.id_pel, id_pel=p.id_pel,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!