Use invoice total, PO total as fallback, for mobile receiving list

This commit is contained in:
Lance Edgar 2018-08-07 21:41:43 -05:00
parent ac451757b4
commit 6ef5677dc5

View file

@ -508,7 +508,7 @@ class ReceivingBatchView(PurchasingBatchView):
title = "({}) {} for ${:0,.2f} - {}, {}".format(
batch.id_str,
batch.vendor,
batch.po_total or 0,
batch.invoice_total or batch.po_total or 0,
batch.department,
batch.created_by)
return title