Import Member.number from CORE

This commit is contained in:
Lance Edgar 2020-03-18 12:29:35 -05:00
parent 8917316a21
commit 6e51f36fc5

View file

@ -483,6 +483,7 @@ class MemberImporter(FromCOREPOSAPI, importing.model.MemberImporter):
key = 'id'
supported_fields = [
'id',
'number',
'customer_uuid',
'joined',
'withdrew',
@ -548,6 +549,7 @@ class MemberImporter(FromCOREPOSAPI, importing.model.MemberImporter):
return {
'id': str(member['cardNo']),
'number': int(member['cardNo']),
'customer_uuid': customer.uuid,
'joined': joined,
'withdrew': withdrew,