Add highlight for "cost not found" rows in purchasing batch

This commit is contained in:
Lance Edgar 2018-06-27 18:40:22 -05:00
parent 49f241a4b9
commit 6b01a7e888

View file

@ -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'