Commit 20643e83 by Solo Group

auto-push

1 parent 2d740344
......@@ -324,7 +324,7 @@ def advice(request, data):
r_prod.append(dict(denom=produk.kode,
id_pel=p.id_pel,
subtotal=int(p.amt_sell) + int(p.discount),
subtotal=(p.amt_sell or 0) + (p.discount or 0),
discount=p.discount,
total=p.amt_sell,
status=status,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!