Changeset 17446 for main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Timestamp:
- 23 Jun 2023, 04:15:41 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r17445 r17446 104 104 reader = csv.DictReader(open(schoolfees_path, 'rb')) 105 105 SCHOOLFEES_19 = {item['code']:item for item in reader} 106 107 schoolfees_path = os.path.join( 108 os.path.dirname(__file__), '../students/schoolfees_14.csv') 109 reader = csv.DictReader(open(schoolfees_path, 'rb')) 110 SCHOOLFEES_14 = {item['code']:item for item in reader} 111 112 schoolfees_path = os.path.join( 113 os.path.dirname(__file__), '../students/schoolfees_13.csv') 114 reader = csv.DictReader(open(schoolfees_path, 'rb')) 115 SCHOOLFEES_13 = {item['code']:item for item in reader} 116 117 schoolfees_path = os.path.join( 118 os.path.dirname(__file__), '../students/schoolfees_12.csv') 119 reader = csv.DictReader(open(schoolfees_path, 'rb')) 120 SCHOOLFEES_12 = {item['code']:item for item in reader} 106 121 107 122 acceptancefees_path = os.path.join( … … 273 288 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">""" % xmldict 274 289 item_id = 1 275 if student.entry_session < 2020: 290 291 if student.entry_session < 2013: 292 sorted_items = SCHOOLFEES_12[student.certcode].items() 293 elif student.entry_session < 2013: 294 sorted_items = SCHOOLFEES_19[student.certcode].items() 295 elif student.entry_session < 2014: 296 sorted_items = SCHOOLFEES_19[student.certcode].items() 297 elif student.entry_session < 2020: 276 298 sorted_items = SCHOOLFEES_19[student.certcode].items() 277 299 elif student.entry_session < 2021:
Note: See TracChangeset for help on using the changeset viewer.