Import Member.corepos_account_id from CORE

This commit is contained in:
Lance Edgar 2023-06-18 17:19:43 -05:00
parent 0c29a28f22
commit b6e4ad2a21

View file

@ -787,6 +787,7 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
key = 'number'
supported_fields = [
'number',
'corepos_account_id',
'customer_uuid',
'person_uuid',
'membership_type_number',
@ -881,6 +882,7 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
return {
'number': card_number,
'corepos_account_id': int(member['customerAccountID']),
'customer_uuid': customer.uuid,
'person_uuid': person.uuid,
'membership_type_number': typeno,