Changeset 13069 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 17 Jun 2015, 05:08:17 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
r13057 r13069 214 214 except (TypeError, KeyError): 215 215 return True 216 if not deadline or deadline > datetime.now(pytz.utc): 217 return True 216 218 payment_made = False 217 219 if len(self.student['payments']): … … 221 223 ticket.p_state == 'paid': 222 224 payment_made = True 223 if deadline and deadline < datetime.now(pytz.utc) and notpayment_made:224 return False225 return True225 if payment_made: 226 return True 227 return False 226 228 227 229 def addCourseTicket(self, ticket, course):
Note: See TracChangeset for help on using the changeset viewer.