Changeset 11648 for main/waeup.aaua/trunk/src/waeup/aaua/students
- Timestamp:
- 14 May 2014, 05:26:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaua/trunk/src/waeup/aaua/students/utils.py
r11454 r11648 109 109 if amount in (0.0, None): 110 110 return _('Amount could not be determined.'), None 111 for key in student['payments'].keys(): 112 ticket = student['payments'][key] 113 if ticket.p_state == 'paid' and\ 114 ticket.p_category == category and \ 115 ticket.p_item == p_item and \ 116 ticket.p_session == p_session: 117 return _('This type of payment has already been made.'), None 111 if self.samePaymentMade(student, category, p_item, p_session): 112 return _('This type of payment has already been made.'), None 118 113 if self._isPaymentDisabled(p_session, category, student): 119 114 return _('Payment temporarily disabled.'), None
Note: See TracChangeset for help on using the changeset viewer.