Add row highlight if equity payment already exists in CORE

This commit is contained in:
Lance Edgar 2023-09-13 14:37:50 -05:00
parent 8241da3443
commit 0fe85e6df3

View file

@ -112,7 +112,8 @@ class CoreEquityImportBatchView(BatchMasterView):
def row_grid_extra_class(self, row, i): def row_grid_extra_class(self, row, i):
if row.status_code in (row.STATUS_MEMBER_NOT_FOUND, if row.status_code in (row.STATUS_MEMBER_NOT_FOUND,
row.STATUS_MISSING_VALUES): row.STATUS_MISSING_VALUES,
row.STATUS_ALREADY_IN_CORE):
return 'warning' return 'warning'
if row.status_code in (row.STATUS_NEEDS_ATTENTION,): if row.status_code in (row.STATUS_NEEDS_ATTENTION,):
return 'notice' return 'notice'