From 131e5d7c1f837a842dda8d8ad50d81c8a89b01ff Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 25 Oct 2019 16:30:18 -0500 Subject: [PATCH] Add importer models for MemberDate, MemberContact --- rattail_corepos/corepos/importing/model.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rattail_corepos/corepos/importing/model.py b/rattail_corepos/corepos/importing/model.py index 13c7c58..1fcf469 100644 --- a/rattail_corepos/corepos/importing/model.py +++ b/rattail_corepos/corepos/importing/model.py @@ -77,6 +77,16 @@ class MemberInfoImporter(ToCore): key = 'card_number' +class MemberDateImporter(ToCore): + model_class = corepos.MemberDate + key = 'card_number' + + +class MemberContactImporter(ToCore): + model_class = corepos.MemberContact + key = 'card_number' + + class HouseCouponImporter(ToCore): model_class = corepos.HouseCoupon key = 'coupon_id'