Use invoice total, PO total as fallback, for mobile receiving list
This commit is contained in:
parent
ac451757b4
commit
6ef5677dc5
|
@ -508,7 +508,7 @@ class ReceivingBatchView(PurchasingBatchView):
|
||||||
title = "({}) {} for ${:0,.2f} - {}, {}".format(
|
title = "({}) {} for ${:0,.2f} - {}, {}".format(
|
||||||
batch.id_str,
|
batch.id_str,
|
||||||
batch.vendor,
|
batch.vendor,
|
||||||
batch.po_total or 0,
|
batch.invoice_total or batch.po_total or 0,
|
||||||
batch.department,
|
batch.department,
|
||||||
batch.created_by)
|
batch.created_by)
|
||||||
return title
|
return title
|
||||||
|
|
Loading…
Reference in a new issue