Changeset 17202
- Timestamp:
- 5 Dec 2022, 11:07:59 (2 years ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
r17168 r17202 192 192 xmldict['institution_bank_id'] = '117' 193 193 if self.context.__parent__.__parent__.prefix in ( 194 'pre', 'jupeb', 'dp_ft', 'dp_pt' ):194 'pre', 'jupeb', 'dp_ft', 'dp_pt', 'ug_pt'): 195 195 xmldict['institution_acct'] = '1011431799' 196 196 xmldict['institution_bank_id'] = '117' -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17173 r17202 136 136 amount = 25000.0 137 137 elif category == 'bed_allocation': 138 p_item = self.getAccommodationDetails(student)['bt'] 139 amount = 0.0 138 acco_details = self.getAccommodationDetails(student) 139 p_session = acco_details['booking_session'] 140 p_item = acco_details['bt'] 141 amount = academic_session.booking_fee 140 142 elif category == 'hostel_maintenance': 141 143 amount = 0.0 142 b edticket = student['accommodation'].get(143 str(student.current_session), None)144 booking_session = grok.getSite()['hostels'].accommodation_session 145 bedticket = student['accommodation'].get(str(booking_session), None) 144 146 if bedticket is not None and bedticket.bed is not None: 147 p_session = booking_session 145 148 p_item = bedticket.bed_coordinates 146 149 if bedticket.bed.__parent__.maint_fee > 0:
Note: See TracChangeset for help on using the changeset viewer.