diff --git a/rattail_corepos/importing/corepos/api.py b/rattail_corepos/importing/corepos/api.py index 0235f03..b080d8c 100644 --- a/rattail_corepos/importing/corepos/api.py +++ b/rattail_corepos/importing/corepos/api.py @@ -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,