Add logic for missing card number, in CORE member import batch
This commit is contained in:
parent
dc1aea24d3
commit
53071121df
|
@ -89,6 +89,7 @@ class CoreMemberBatchView(BatchMasterView):
|
||||||
row_form_fields = [
|
row_form_fields = [
|
||||||
'sequence',
|
'sequence',
|
||||||
'card_number',
|
'card_number',
|
||||||
|
'card_number_raw',
|
||||||
'status_code',
|
'status_code',
|
||||||
'status_text',
|
'status_text',
|
||||||
]
|
]
|
||||||
|
@ -155,6 +156,9 @@ class CoreMemberBatchView(BatchMasterView):
|
||||||
else:
|
else:
|
||||||
kwargs['core_office_why_no_url'] = "URL not defined for this object"
|
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
|
return kwargs
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue