Changeset 13070 for main/waeup.aaue
- Timestamp:
- 17 Jun 2015, 05:08:52 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r13036 r13070 71 71 except TypeError, KeyError: 72 72 return True 73 if not deadline or deadline > datetime.now(pytz.utc): 74 return True 73 75 payment_made = False 74 76 if len(self.student['payments']): … … 78 80 ticket.p_state == 'paid': 79 81 payment_made = True 80 if deadline and deadline < datetime.now(pytz.utc) and notpayment_made:81 return False82 return True82 if payment_made: 83 return True 84 return False 83 85 84 86 CustomStudentStudyLevel = attrs_to_fields(
Note: See TracChangeset for help on using the changeset viewer.