Changeset 17468 for main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Timestamp:
- 6 Jul 2023, 04:06:15 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r17456 r17468 66 66 'fac2': ('2000249757', '8'), 67 67 'fac3': ('1012678566', '123'), 68 'acceptance': ('2000249757', '8'),69 68 'matricgown': ('2000249757', '8'), 70 69 'lapel': ('2000249757', '8'), 71 70 71 'acceptance': ('2000249757', '8'), 72 72 73 'hostel_maintenance': ('1006406795', '123'), 74 'bed_allocation': ('1006406795', '123'), 73 75 'late_registration': ('5210006575', '51'), 74 76 'ent_combined': ('6220029828', '51'), … … 85 87 'gst_text_book_2': ('1010893123', '117'), 86 88 'gst_text_book_3': ('1010893123', '117'), 89 90 'postgrad': ('1010827641', '117'), 87 91 } 88 92 … … 153 157 if self.applicant.applicant_id.startswith('trans'): 154 158 provider_amt = 3000.0 155 xmldict['institution_acct'] = '00000000' 156 xmldict['institution_bank_id'] = '00' 159 xmldict['institution_acct'] = '1012332141' 160 xmldict['institution_bank_id'] = '123' 161 if self.applicant.applicant_id.startswith('dsh'): 162 xmldict['institution_acct'] = '1014847058' 163 xmldict['institution_bank_id'] = '7' 164 if self.applicant.applicant_id.startswith('ijmbe'): 165 xmldict['institution_acct'] = '1012278272' 166 xmldict['institution_bank_id'] = '123' 157 167 xmldict['detail_ref'] = self.context.p_id 158 168 xmldict['provider_amt'] = 100 * provider_amt … … 328 338 # no additional charges, determine faculty bank only 329 339 else: 330 if student.faccode in ('FAG', 'FAT', 'FBM', 'FMLS', 'fac1'): 340 if student.is_postgrad: 341 bank = BANK_ACCOUNTS['postgrad'] 342 elif student.faccode in ('FAG', 'FAT', 'FBM', 'FMLS', 'fac1'): 331 343 bank = BANK_ACCOUNTS['fac1'] 332 344 elif student.faccode in ('FCS', 'FED', 'FES', 'FET'): … … 365 377 # no additional charges, determine faculty bank only 366 378 else: 367 bank = BANK_ACCOUNTS['acceptance'] 379 if student.is_postgrad: 380 bank = BANK_ACCOUNTS['postgrad'] 381 else: 382 bank = BANK_ACCOUNTS['acceptance'] 368 383 xmldict['institution_acct'] = bank[0] 369 384 xmldict['institution_bank_id'] = bank[1] … … 374 389 xmldict['institution_acct'] = bank[0] 375 390 xmldict['institution_bank_id'] = bank[1] 376 377 378 379 380 381 382 383 391 384 392 if not xmltext and provider_amt == 0:
Note: See TracChangeset for help on using the changeset viewer.