- Timestamp:
- 9 Feb 2022, 17:31:29 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.