Changeset 17694 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 6 Feb 2024, 09:19:33 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r17657 r17694 373 373 item_name = '' 374 374 # Find appropriate bank 375 bank = None 375 376 try: 376 377 bank = BANK_ACCOUNTS[item[0]] … … 389 390 elif student.faccode in ('FP',): 390 391 bank = BANK_ACCOUNTS['ijmb'] 392 if not bank: 393 self.flash( 394 'Bank account not set (%s).' % item[1], type="danger") 395 self.redirect(self.url(self.context, '@@index')) 396 return 391 397 acct_num = bank[0] 392 398 bank_id = bank[1] … … 404 410 # no additional charges, determine faculty bank only 405 411 else: 412 bank = None 406 413 if student.is_postgrad: 407 414 bank = BANK_ACCOUNTS['postgrad'] … … 417 424 elif student.faccode in ('FP',): 418 425 bank = BANK_ACCOUNTS['ijmb'] 426 if not bank: 427 self.flash('Bank account not set.', type="danger") 428 self.redirect(self.url(self.context, '@@index')) 429 return 419 430 xmldict['institution_acct'] = bank[0] 420 431 xmldict['institution_bank_id'] = bank[1] 421 422 432 423 433 # Clearance (acceptance) fee
Note: See TracChangeset for help on using the changeset viewer.