Changeset 16790 for main/kofacustom.unidel/trunk/src
- Timestamp:
- 9 Feb 2022, 17:31:29 (3 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
r16736 r16790 93 93 xmldict['institution_bank_id'] = '117' 94 94 provider_amt = 0.0 95 if self.context.p_category == 'clearance': 96 provider_amt = 500.0 95 97 self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch 96 98 xmldict['provider_amt'] = 100 * provider_amt -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r16789 r16790 22 22 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 23 23 from kofacustom.unidel.interfaces import MessageFactory as _ 24 25 def local(student): 26 lga = getattr(student, 'lga') 27 if lga and lga.startswith('delta'): 28 return True 29 return False 24 30 25 31 class CustomStudentsUtils(NigeriaStudentsUtils): … … 106 112 return _('Study course data are incomplete.'), None 107 113 amount = academic_session.clearance_fee 114 if local(student): 115 amount += 10000 108 116 elif category == 'bed_allocation': 109 117 p_item = self.getAccommodationDetails(student)['bt']
Note: See TracChangeset for help on using the changeset viewer.