From 0fe85e6df3254184f156d25d026d8d80fae6bc57 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 13 Sep 2023 14:37:50 -0500 Subject: [PATCH] Add row highlight if equity payment already exists in CORE --- tailbone_corepos/views/batch/equityimport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tailbone_corepos/views/batch/equityimport.py b/tailbone_corepos/views/batch/equityimport.py index ba7eaaf..f64e968 100644 --- a/tailbone_corepos/views/batch/equityimport.py +++ b/tailbone_corepos/views/batch/equityimport.py @@ -112,7 +112,8 @@ class CoreEquityImportBatchView(BatchMasterView): def row_grid_extra_class(self, row, i): 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' if row.status_code in (row.STATUS_NEEDS_ATTENTION,): return 'notice'