From 53071121dfc98deb7f153ddf5dc41242f5bbf383 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 15 Mar 2022 11:36:30 -0500 Subject: [PATCH] Add logic for missing card number, in CORE member import batch --- tailbone_corepos/views/batch/coremember.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tailbone_corepos/views/batch/coremember.py b/tailbone_corepos/views/batch/coremember.py index 5d7b974..82a2b6b 100644 --- a/tailbone_corepos/views/batch/coremember.py +++ b/tailbone_corepos/views/batch/coremember.py @@ -89,6 +89,7 @@ class CoreMemberBatchView(BatchMasterView): row_form_fields = [ 'sequence', 'card_number', + 'card_number_raw', 'status_code', 'status_text', ] @@ -155,6 +156,9 @@ class CoreMemberBatchView(BatchMasterView): else: kwargs['core_office_why_no_url'] = "URL not defined for this object" + else: + kwargs['core_office_why_no_url'] = "Card number not valid" + return kwargs