Changeset 17900
- Timestamp:
- 21 Aug 2024, 08:09:35 (4 months ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/etranzact/browser.py
r17792 r17900 298 298 'IUO_CLEARANCE_FEE': ('grad_clearance',), 299 299 'IUO_ID_CARD_FEE': ('id_card',), 300 'IUO_REGISTRATION_FEE': ('registration',), 300 'IUO_REGISTRATION_FEE': ('registration', 'registration_fresh', 301 'registration_return',), 301 302 'IUO_DEVELOPMENT_FEE': ('develop',), 302 303 'IUO_MUNICIPAL_FEE': ('municipal_fresh','municipal_returning'), -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/etranzact/servicecodes.csv
r17792 r17900 55 55 pharmlab,001279XBU4AW 56 56 registration,001279GTQ3SN 57 registration_fresh,001279GTQ3SN 58 registration_return,001279GTQ3SN 57 59 required_combi, 58 60 resit1,0012798VI0I4 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interfaces.py
r17838 r17900 49 49 ) 50 50 51 late_registration_fee = schema.Float(52 title = _(u'Late Course Reg. Fee'),53 default = 0.0,54 required = False,55 )51 #late_registration_fee = schema.Float( 52 # title = _(u'Late Course Reg. Fee'), 53 # default = 0.0, 54 # required = False, 55 # ) 56 56 57 57 transcript_local_fee = schema.Float( … … 106 106 ) 107 107 108 registration_fee = schema.Float( 109 title = _(u'Registration Fee'), 108 #registration_fee = schema.Float( 109 # title = _(u'Registration Fee'), 110 # default = 0.0, 111 # required = False, 112 # ) 113 114 registration_fresh_fee = schema.Float( 115 title = _(u'Registration Fee (Fresh)'), 116 default = 0.0, 117 required = False, 118 ) 119 120 registration_return_fee = schema.Float( 121 title = _(u'Registration Fee (Returning)'), 110 122 default = 0.0, 111 123 required = False, -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r17672 r17900 108 108 self.pay_item_id = '102' 109 109 if self.context.p_category in ( 110 'registration', 'required_combi', 'pg_other', 'jupeb_reg'): 110 'registration', 'registration_fresh', 'registration_return', 111 'required_combi', 'pg_other', 'jupeb_reg'): 111 112 provider_amt = 5000.0 112 113 if self.context.p_category in ( -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r16434 r17900 53 53 54 54 def test_interswitch_form(self): 55 self.app['configuration']['2004'].registration_f ee = 7000.055 self.app['configuration']['2004'].registration_fresh_fee = 7000.0 56 56 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 57 57 self.browser.open(self.payments_path) … … 59 59 self.student.nationality = u'NG' 60 60 self.browser.open(self.payments_path + '/addop') 61 self.browser.getControl(name="form.p_category").value = ['registration ']61 self.browser.getControl(name="form.p_category").value = ['registration_fresh'] 62 62 self.browser.getControl(name="form.p_option").value = ['first'] 63 63 self.browser.getControl("Create payment").click() … … 83 83 # WAeAC charge have been substracted 84 84 self.assertTrue( 85 'item_name="Registration Fee " item_amt="200000" bank_id="8" acct_num="2021420049"' in85 'item_name="Registration Fee (Fresh)" item_amt="200000" bank_id="8" acct_num="2021420049"' in 86 86 self.browser.contents) 87 87 self.assertTrue( -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r17889 r17900 50 50 51 51 REQUIRED_PAYMENTS_FRESH = { 52 'registration ': 'Registration Fee',52 'registration_fresh': 'Registration Fee (Fresh)', 53 53 'book': 'Book Deposit', 54 54 'develop': 'Development Fee', … … 58 58 59 59 REQUIRED_PAYMENTS_RETURNING = { 60 'registration ': 'Registration Fee',60 'registration_return': 'Registration Fee (Returning)', 61 61 'book': 'Book Deposit', 62 62 'develop': 'Development Fee', -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r17899 r17900 34 34 'grad_clearance': 'Clearance Fee', 35 35 'registration': 'Registration Fee', 36 'registration_fresh': 'Registration Fee (Fresh)', 37 'registration_return': 'Registration Fee (Returning)', 36 38 #'bed_allocation': 'Bed Allocation Fee', 37 39 #'hostel_maintenance': 'Accommodation', … … 113 115 'schoolfee40': 'Tuition Plus (40% - 1st instalment)', 114 116 'secondinstal': 'Tuition Plus (60% - 2nd instalment)', 115 'registration': 'Registration Fee', 117 #'registration': 'Registration Fee', 118 'registration_fresh': 'Registration Fee (Fresh)', 119 'registration_return': 'Registration Fee (Returning)', 116 120 'clearance': 'Acceptance Fee', 117 121 'grad_clearance': 'Clearance Fee', … … 209 213 PREVIOUS_PAYMENT_CATEGORIES = { 210 214 'schoolfee': 'Tuition, Accommodation, Adm. Charges', 211 'registration': 'Registration Fee', 215 #'registration': 'Registration Fee', 216 'registration_fresh': 'Registration Fee (Fresh)', 217 'registration_return': 'Registration Fee (Returning)', 212 218 'clearance': 'Acceptance Fee', 213 219 'grad_clearance': 'Clearance Fee', … … 279 285 280 286 _COMBI_PAYMENT_CATEGORIES = { 281 'registration': 'Registration Fee', 287 #'registration': 'Registration Fee', 288 'registration_fresh': 'Registration Fee (Fresh)', 289 'registration_return': 'Registration Fee (Returning)', 282 290 'grad_clearance': 'Clearance Fee', 283 291 'late_registration': 'Late Registration Fee',
Note: See TracChangeset for help on using the changeset viewer.