- Timestamp:
- 15 Mar 2022, 08:51:02 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r16835 r16882 118 118 elif category == 'bed_allocation': 119 119 p_item = self.getAccommodationDetails(student)['bt'] 120 amount = academic_session.booking_fee120 amount = 0.0 121 121 elif category == 'hostel_maintenance': 122 122 amount = 0.0 … … 145 145 fee_name = category + '_fee' 146 146 amount = getattr(academic_session, fee_name, 0.0) 147 if amount in (0.0, None):147 if category != 'bed_allocation' and amount in (0.0, None): 148 148 return _('Amount could not be determined.'), None 149 149 if self.samePaymentMade(student, category, p_item, p_session):
Note: See TracChangeset for help on using the changeset viewer.