Changeset 11654 for main/waeup.aaue/trunk/src
- Timestamp:
- 15 May 2014, 10:29:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r11652 r11654 106 106 self.output = ERROR_PART1 + 'Invalid PAYEE_ID' + ERROR_PART2 107 107 return 108 student = results[0].student109 108 amount = results[0].amount_auth 110 109 payment_type = results[0].category … … 117 116 return 118 117 if PAYMENT_TYPE.startswith('SCHOOL-FEE'): 118 try: 119 student = results[0].student 120 except AttributeError: 121 self.output = ERROR_PART1 + 'Wrong PAYMENT_TYPE' + ERROR_PART2 122 return 119 123 if not results[0].p_category.startswith('schoolfee'): 120 124 self.output = ERROR_PART1 + 'Wrong PAYMENT_TYPE' + ERROR_PART2
Note: See TracChangeset for help on using the changeset viewer.