Changeset 15448 for main/kofacustom.edopoly/trunk/src
- Timestamp:
- 3 Jun 2019, 12:20:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py
r15364 r15448 115 115 return True, None 116 116 return False, req_payments_titles 117 118 def samePaymentMade(self, student, category, p_item, p_session): 119 for key in student['payments'].keys(): 120 ticket = student['payments'][key] 121 if ticket.p_state == 'paid' and\ 122 ticket.p_category == category and \ 123 ticket.p_item == p_item and \ 124 ticket.p_session == p_session: 125 return True 126 return False 117 127 118 128 def setPaymentDetails(self, category, student,
Note: See TracChangeset for help on using the changeset viewer.