Commit d8f4b043 by Solo Group

advice

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