Make expire and paused date read-only, add fake months individually

This commit is contained in:
2020-01-20 00:29:28 +00:00
parent 8ca8970092
commit 45965b29b2
5 changed files with 69 additions and 35 deletions
+4 -1
View File
@@ -144,13 +144,16 @@ for m in members:
tx = utils.fake_missing_membership_months(m)
utils.tally_membership_months(m, import_date)
print(m.first_name, m.last_name, tx.memo)
if tx:
print(m.first_name, m.last_name, tx.memo)
if old_status != m.status or old_expire != m.expire_date:
print('Expire / status mismatch member:', m.__dict__)
print('New status:', m.status)
print('Old status:', old_status)
print('New expire:', m.expire_date)
print('Old expire:', old_expire)
print('')
bad_count += 1
print('Import mismatch count:', bad_count)