From 6ef5677dc5aa63a2a679590820ee08af59e3116a Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 7 Aug 2018 21:41:43 -0500 Subject: [PATCH] Use invoice total, PO total as fallback, for mobile receiving list --- tailbone/views/purchasing/receiving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/purchasing/receiving.py b/tailbone/views/purchasing/receiving.py index e819be2c..2bcae43b 100644 --- a/tailbone/views/purchasing/receiving.py +++ b/tailbone/views/purchasing/receiving.py @@ -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