[import] convert shackbureau leave_date into membership end
This commit is contained in:
parent
a4b91a2ad8
commit
bd1ab2034d
@ -149,6 +149,7 @@ def import_member(member_data):
|
|||||||
|
|
||||||
if member_data['leave_date']:
|
if member_data['leave_date']:
|
||||||
last.end = parse_date(member_data['leave_date'])
|
last.end = parse_date(member_data['leave_date'])
|
||||||
|
last.save(update_fields=['end'])
|
||||||
|
|
||||||
if member_data['payment_type'].lower() == 'sepa':
|
if member_data['payment_type'].lower() == 'sepa':
|
||||||
_import_sepa(member_data, member)
|
_import_sepa(member_data, member)
|
||||||
|
Loading…
Reference in New Issue
Block a user