Changeset 17960


Ignore:
Timestamp:
19 Nov 2024, 15:03:37 (6 hours ago)
Author:
Henrik Bettermann
Message:

Revert r17946.

Location:
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r17952 r17960  
    113113            xmldict['union_acct'] = '1011438901'
    114114            xmldict['union_bank_id'] = '117'
    115             #if student.current_mode == 'ug_ft':
    116             #    union_due = 1500.0
     115            if student.current_mode == 'ug_ft':
     116                union_due = 1500.0
    117117            if student.current_mode.startswith('dp'):
    118118                xmldict['institution_acct'] = '2001627961'
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py

    r17946 r17960  
    7777                           self.browser.contents)
    7878        self.assertEqual(self.student.current_mode, 'ug_ft')
    79         self.assertFalse(
     79        self.assertTrue(
    8080            '<input type="hidden" name="amount" value="9175000" />' in
    8181            self.browser.contents)
    8282        self.assertTrue(
    83             '<input type="hidden" name="amount" value="9025000" />' in
    84             self.browser.contents)
    85         self.assertTrue(
    8683            'item_name="School Fee" item_amt="8000000" bank_id="117" acct_num="1011739172"' in
    8784            self.browser.contents)
    88         self.assertFalse(
     85        self.assertTrue(
    8986            '<item_detail item_id="4" item_name="Student Union Due" item_amt="150000" bank_id="117" acct_num="1011438901" />' in
    9087            self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.