Changeset 17481


Ignore:
Timestamp:
11 Jul 2023, 09:43:01 (16 months ago)
Author:
Henrik Bettermann
Message:

Fix previous session schollfve payments.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r17469 r17481  
    8282        self.assertTrue('Total Amount Authorized:' in self.browser.contents)
    8383        self.assertTrue(
    84             '<input type="hidden" name="amount" value="1320000" />'
    85             in self.browser.contents)
    86         self.assertTrue(
    87             'item_name="WAeAC Portal Fee" item_amt="300000"'
     84            '<input type="hidden" name="amount" value="1220000" />'
     85            in self.browser.contents)
     86        self.assertTrue(
     87            'item_name="WAeAC Portal Fee" item_amt="200000"'
    8888            in self.browser.contents)
    8989        self.assertTrue(
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r17455 r17481  
    433433                # workflow states.  Fresh students are excluded by the
    434434                # update method of the PreviousPaymentAddFormPage.
     435               # Cut school fee by 50%
     436                if category in ('schoolfee_1', 'schoolfee_2') and amount:
     437                    amount /= 2
    435438                pass
    436439            elif student.state == CLEARED:
Note: See TracChangeset for help on using the changeset viewer.