[import] convert shackbureau leave_date into membership end
This commit is contained in:
parent
5db2b81042
commit
f37f393d72
@ -147,6 +147,9 @@ def import_member(member_data):
|
|||||||
last.save(update_fields=['end'])
|
last.save(update_fields=['end'])
|
||||||
last = obj
|
last = obj
|
||||||
|
|
||||||
|
if member_data['leave_date']:
|
||||||
|
last.end = parse_date(membership['leave_date'])
|
||||||
|
|
||||||
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