Changeset 16835 for main/kofacustom.unidel/trunk/src/kofacustom
- Timestamp:
- 25 Feb 2022, 06:16:09 (3 years ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py
r16736 r16835 69 69 self.assertMatches('...Amount Authorized...', 70 70 self.browser.contents) 71 self.assertTrue( 72 '<span>40000.0</span>' in self.browser.contents) 71 # plus 40000 because student is not from Delta state. 72 self.assertTrue( 73 '<span>80000.0</span>' in self.browser.contents) 73 74 self.payment_url = self.browser.url 74 75 self.browser.getLink("Pay via Interswitch", index=0).click() … … 77 78 self.assertEqual(self.student.current_mode, 'ug_ft') 78 79 self.assertTrue( 79 '<input type="hidden" name="amount" value=" 4025000" />' in80 self.browser.contents) 81 self.assertTrue( 82 'item_name="School Fee" item_amt=" 4000000" bank_id="117" acct_num="1216063205"' in80 '<input type="hidden" name="amount" value="8025000" />' in 81 self.browser.contents) 82 self.assertTrue( 83 'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1216063205"' in 83 84 self.browser.contents) 84 85 -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r16802 r16835 106 106 ), None 107 107 amount = getattr(certificate, 'school_fee_2', 0.0) 108 if amount and not local(student): 109 amount += 40000 108 110 elif category == 'clearance': 109 111 try:
Note: See TracChangeset for help on using the changeset viewer.