Show vendor invoice rows as warning, if they have no case quantity
This commit is contained in:
parent
2772057381
commit
01acedaedf
3
tailbone/views/vendors/invoices.py
vendored
3
tailbone/views/vendors/invoices.py
vendored
|
@ -143,7 +143,8 @@ class VendorInvoicesView(FileBatchMasterView):
|
|||
row.STATUS_DIFFERS_FROM_PURCHASE):
|
||||
attrs['class_'] = 'notice'
|
||||
if row.status_code in (row.STATUS_NOT_IN_DB,
|
||||
row.STATUS_COST_NOT_IN_DB):
|
||||
row.STATUS_COST_NOT_IN_DB,
|
||||
row.STATUS_NO_CASE_QUANTITY):
|
||||
attrs['class_'] = 'warning'
|
||||
return attrs
|
||||
|
||||
|
|
Loading…
Reference in a new issue