Commit b1a6db7c by Solo Group

advice

1 parent e3a30b5e
...@@ -323,10 +323,10 @@ def advice(request, data): ...@@ -323,10 +323,10 @@ def advice(request, data):
or p.status == -2 and 'PENDING' or p.status == -2 and 'PENDING'
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"], subtotal=p.amt_sell + p.discount,
discount=p["discount"], discount=p.discount,
total=p["amt_sell"], total=p.amt_sell,
status=status, status=status,
serial_number=p.serial_number, ) serial_number=p.serial_number, )
) )
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!