Changeset 16395 for main/kofacustom.iuokada/trunk/src/kofacustom
- Timestamp:
- 15 Feb 2021, 13:16:44 (4 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interfaces.py
r16394 r16395 235 235 application_fee = schema.Float( 236 236 title = _(u'Application Fee'), 237 default = 0.0, 238 required = False, 239 ) 240 jupeb_form_fee = schema.Float( 241 title = _(u'JUPEB Form Fee'), 242 default = 0.0, 243 required = False, 244 ) 245 246 jupeb_acc_fee = schema.Float( 247 title = _(u'JUPEB Acceptance Fee'), 248 default = 0.0, 249 required = False, 250 ) 251 252 jupeb_sci_fee = schema.Float( 253 title = _(u'JUPEB Science Fee'), 254 default = 0.0, 255 required = False, 256 ) 257 258 jupeb_arts_fee = schema.Float( 259 title = _(u'JUPEB Arts Fee'), 260 default = 0.0, 261 required = False, 262 ) 263 264 jupeb_hostel_fee = schema.Float( 265 title = _(u'JUPEB Hostel Fee'), 266 default = 0.0, 267 required = False, 268 ) 269 270 jupeb_reg_fee = schema.Float( 271 title = _(u'JUPEB Registration Fee'), 237 272 default = 0.0, 238 273 required = False, -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r16270 r16395 118 118 self.pay_item_id = '102' 119 119 if self.context.p_category in ( 120 'registration', 'required_combi', 'pg_other' ):120 'registration', 'required_combi', 'pg_other', 'jupeb_reg'): 121 121 provider_amt = 5000.0 122 122 if self.context.p_category in ( 123 123 'schoolfee', 'schoolfee40') and student.is_jupeb: 124 124 provider_amt = 5000.0 125 if self.context.p_category.startswith('jupeb'): 126 xmldict['institution_acct'] = '0787077169' 127 xmldict['institution_bank_id'] = '31' 128 self.pay_item_id = '102' 125 129 xmldict['provider_amt'] = 100 * provider_amt 126 130 xmldict['institution_item_name'] = self.context.category -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r16394 r16395 74 74 'required_combi': 'Required Combi Payment', 75 75 'pg_other': 'PG Other Charges', 76 'jupeb_form':'JUPEB Form Fee', 77 'jupeb_acc':'JUPEB Acceptance Fee', 78 'jupeb_sci':'JUPEB Science Course', 79 'jupeb_arts':'JUPEB Arts Course', 80 'jupeb_hostel':'JUPEB Hostel Fee', 81 'jupeb_reg':'JUPEB Registration Fee', 76 82 } 77 83 … … 123 129 'required_combi': 'Required Combi Payment', 124 130 'pg_other': 'PG Other Charges', 131 'jupeb_form':'JUPEB Form Fee', 132 'jupeb_acc':'JUPEB Acceptance Fee', 133 'jupeb_sci':'JUPEB Science Course', 134 'jupeb_arts':'JUPEB Arts Course', 135 'jupeb_hostel':'JUPEB Hostel Fee', 136 'jupeb_reg':'JUPEB Registration Fee', 125 137 } 126 138 … … 153 165 'required_combi': 'Required Combi Payment', 154 166 'pg_other': 'PG Other Charges', 167 'jupeb_form':'JUPEB Form Fee', 168 'jupeb_acc':'JUPEB Acceptance Fee', 169 'jupeb_sci':'JUPEB Science Course', 170 'jupeb_arts':'JUPEB Arts Course', 171 'jupeb_hostel':'JUPEB Hostel Fee', 172 'jupeb_reg':'JUPEB Registration Fee', 155 173 } 156 174 … … 179 197 'id_card': 'Student ID Card', 180 198 'pg_other': 'PG Other Charges', 199 'jupeb_form':'JUPEB Form Fee', 200 'jupeb_acc':'JUPEB Acceptance Fee', 201 'jupeb_sci':'JUPEB Science Course', 202 'jupeb_arts':'JUPEB Arts Course', 203 'jupeb_hostel':'JUPEB Hostel Fee', 204 'jupeb_reg':'JUPEB Registration Fee', 181 205 } 182 206
Note: See TracChangeset for help on using the changeset viewer.