Changeset 17382


Ignore:
Timestamp:
17 Apr 2023, 08:53:50 (21 months ago)
Author:
Henrik Bettermann
Message:

More precisely

Location:
main/kofacustom.edocons/trunk/src/kofacustom/edocons
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/interswitch/tests.py

    r17380 r17382  
    104104            self.browser.contents)
    105105        self.assertTrue(
    106             'item_name="School Fee (69.5% - 1st instalment)" item_amt="2780000" bank_id="31" acct_num="1489560452"' in
     106            'item_name="School Fee (1st instalment)" item_amt="2780000" bank_id="31" acct_num="1489560452"' in
    107107            self.browser.contents)
    108108
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py

    r17381 r17382  
    111111                        amount *= 0.695
    112112                    else:
    113                         amount *= 0.622
     113                        amount *= 0.621621621
    114114                # Second instalment can be paid in all states.
    115115                if category == 'secondinstal':
     
    117117                        amount = 0.305 * getattr(certificate, 'school_fee_1', 0.0)
    118118                    else:
    119                         amount = 0.378 * getattr(certificate, 'school_fee_2', 0.0)
     119                        amount = 0.378378378 * getattr(certificate, 'school_fee_2', 0.0)
    120120        elif category == 'clearance':
    121121            try:
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/utils/utils.py

    r17380 r17382  
    5757    PAYMENT_CATEGORIES = {
    5858        'schoolfee': 'School Fee (total amount)',
    59         'schoolfee_1': 'School Fee (69.5% - 1st instalment)',
    60         'secondinstal': 'School Fee (30.5% - 2nd instalment)',
     59        'schoolfee_1': 'School Fee (1st instalment)',
     60        'secondinstal': 'School Fee (2nd instalment)',
    6161        'clearance': 'Acceptance Fee',
    6262        'hostel':'Hostel Fee (1st instalment)',
     
    7676    SELECTABLE_PAYMENT_CATEGORIES = {
    7777        'schoolfee': 'School Fee (total amount)',
    78         'schoolfee_1': 'School Fee (69.5% - 1st instalment)',
    79         'secondinstal': 'School Fee (30.5% - 2nd instalment)',
     78        'schoolfee_1': 'School Fee (1st instalment)',
     79        'secondinstal': 'School Fee (2nd instalment)',
    8080        'hostel':'Hostel Fee (1st instalment)',
    8181        'hostel_2':'Hostel Fee (2nd instalment)',
Note: See TracChangeset for help on using the changeset viewer.