From 6b01a7e888016503c1a68271c5bd70fab5191e49 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 27 Jun 2018 18:40:22 -0500 Subject: [PATCH] Add highlight for "cost not found" rows in purchasing batch --- tailbone/views/purchasing/batch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tailbone/views/purchasing/batch.py b/tailbone/views/purchasing/batch.py index b4156edf..1baafafd 100644 --- a/tailbone/views/purchasing/batch.py +++ b/tailbone/views/purchasing/batch.py @@ -612,7 +612,8 @@ class PurchasingBatchView(BatchMasterView): def row_grid_extra_class(self, row, i): if row.status_code == row.STATUS_PRODUCT_NOT_FOUND: return 'warning' - if row.status_code in (row.STATUS_INCOMPLETE, + if row.status_code in (row.STATUS_COST_NOT_FOUND, + row.STATUS_INCOMPLETE, row.STATUS_ORDERED_RECEIVED_DIFFER, row.STATUS_TRUCKDUMP_UNCLAIMED): return 'notice'