Changeset 17382 for main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Timestamp:
- 17 Apr 2023, 08:53:50 (21 months ago)
- 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 104 104 self.browser.contents) 105 105 self.assertTrue( 106 'item_name="School Fee ( 69.5% -1st instalment)" item_amt="2780000" bank_id="31" acct_num="1489560452"' in106 'item_name="School Fee (1st instalment)" item_amt="2780000" bank_id="31" acct_num="1489560452"' in 107 107 self.browser.contents) 108 108 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py
r17381 r17382 111 111 amount *= 0.695 112 112 else: 113 amount *= 0.62 2113 amount *= 0.621621621 114 114 # Second instalment can be paid in all states. 115 115 if category == 'secondinstal': … … 117 117 amount = 0.305 * getattr(certificate, 'school_fee_1', 0.0) 118 118 else: 119 amount = 0.378 * getattr(certificate, 'school_fee_2', 0.0)119 amount = 0.378378378 * getattr(certificate, 'school_fee_2', 0.0) 120 120 elif category == 'clearance': 121 121 try: -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/utils/utils.py
r17380 r17382 57 57 PAYMENT_CATEGORIES = { 58 58 '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)', 61 61 'clearance': 'Acceptance Fee', 62 62 'hostel':'Hostel Fee (1st instalment)', … … 76 76 SELECTABLE_PAYMENT_CATEGORIES = { 77 77 '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)', 80 80 'hostel':'Hostel Fee (1st instalment)', 81 81 'hostel_2':'Hostel Fee (2nd instalment)',
Note: See TracChangeset for help on using the changeset viewer.