Changeset 16882
- Timestamp:
- 15 Mar 2022, 08:51:02 (3 years ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
r16869 r16882 96 96 xmldict['institution_acct'] = '1011739172' 97 97 xmldict['institution_bank_id'] = '117' 98 if self.context.p_category == ' bed_allocation':98 if self.context.p_category == 'hostel_maintenance': 99 99 xmldict['institution_acct'] = '1012551384' 100 100 xmldict['institution_bank_id'] = '117' -
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): -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py
r16870 r16882 28 28 'schoolfee': 'School Fee', 29 29 'clearance': 'Acceptance Fee', 30 'bed_allocation': 'Bed Allocation Fee',31 #'hostel_maintenance': 'Hostel MaintenanceFee',30 'bed_allocation': 'Bed Reservation', 31 'hostel_maintenance': 'Accommodation Fee', 32 32 #'transfer': 'Transfer Fee', 33 33 #'gown': 'Gown Hire Fee', … … 42 42 'schoolfee': 'School Fee', 43 43 'clearance': 'Acceptance Fee', 44 'bed_allocation': 'Bed Allocation Fee', 44 'bed_allocation': 'Bed Reservation (free of charge)', 45 'hostel_maintenance': 'Accommodation Fee', 45 46 } 46 47
Note: See TracChangeset for help on using the changeset viewer.