Changeset 15571
- Timestamp:
- 29 Aug 2019, 08:17:43 (5 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interfaces.py
r15349 r15571 81 81 required = True, 82 82 ) 83 83 84 hnd_certificate_fee = schema.Float( 84 85 title = _(u'HND Certificate Fee'), … … 86 87 required = True, 87 88 ) 89 88 90 pgd_certificate_fee = schema.Float( 89 91 title = _(u'PGD Certificate Fee'), … … 91 93 required = True, 92 94 ) 95 93 96 state_result_fee = schema.Float( 94 97 title = _(u'ND Statement of Result Fee'), … … 96 99 required = True, 97 100 ) 101 98 102 hnd_state_result_fee = schema.Float( 99 103 title = _(u'HND Statement of Result Fee'), … … 101 105 required = True, 102 106 ) 107 103 108 pgd_state_result_fee = schema.Float( 104 109 title = _(u'PGD Statement of Result Fee'), … … 106 111 required = True, 107 112 ) 113 108 114 transcript_local_fee = schema.Float( 109 115 title = _(u'ND Transcript (local) Fee'), … … 111 117 required = True, 112 118 ) 119 113 120 hnd_transcript_local_fee = schema.Float( 114 121 title = _(u'HND Transcript (local) Fee'), … … 116 123 required = True, 117 124 ) 125 118 126 pgd_transcript_local_fee = schema.Float( 119 127 title = _(u'PGD Transcript (local) Fee'), … … 121 129 required = True, 122 130 ) 131 123 132 transcript_foreign_fee = schema.Float( 124 133 title = _(u'ND Transcript (foreign) Fee'), … … 126 135 required = True, 127 136 ) 137 128 138 hnd_transcript_foreign_fee = schema.Float( 129 139 title = _(u'HND Transcript (foreign) Fee'), … … 131 141 required = True, 132 142 ) 143 133 144 pgd_transcript_foreign_fee = schema.Float( 134 145 title = _(u'PGD Transcript (foreign) Fee'), … … 136 147 required = True, 137 148 ) 149 138 150 ver_result_fee = schema.Float( 139 151 title = _(u'Verification of Result Fee'), … … 141 153 required = True, 142 154 ) 155 143 156 change_course_fee = schema.Float( 144 157 title = _(u'Change of Course Fee'), … … 146 159 required = True, 147 160 ) 161 148 162 change_inst_fee = schema.Float( 149 163 title = _(u'Change of Institute Fee'), … … 151 165 required = True, 152 166 ) 167 153 168 jamb_reject_fee = schema.Float( 154 169 title = _(u'JAMB Rejection Form Fee'), … … 156 171 required = True, 157 172 ) 173 158 174 cert_of_cert_fee = schema.Float( 159 175 title = _(u'Certification of Certificate Fee'), … … 161 177 required = True, 162 178 ) 179 163 180 ref_let_fee = schema.Float( 164 181 title = _(u'Recommendation/Reference Letter Fee'), … … 166 183 required = True, 167 184 ) 185 168 186 proc_cert_fee = schema.Float( 169 187 title = _(u'Processing of Certificate by Proxy Fee'), … … 171 189 required = True, 172 190 ) 191 173 192 loss_idcard_fee = schema.Float( 174 193 title = _(u'Loss of ID Card Fee (student)'), … … 176 195 required = True, 177 196 ) 197 178 198 staff_loss_idcard_fee = schema.Float( 179 199 title = _(u'Loss of ID Card Fee (staff)'), … … 181 201 required = True, 182 202 ) 203 183 204 loss_examcard_fee = schema.Float( 184 205 title = _(u'Loss of Exam Card Fee'), … … 186 207 required = True, 187 208 ) 209 188 210 loss_result_fee = schema.Float( 189 211 title = _(u'Loss of Result Fee'), … … 191 213 required = True, 192 214 ) 215 193 216 loss_receipt_fee = schema.Float( 194 217 title = _(u'Loss of Receipt Fee'), … … 196 219 required = True, 197 220 ) 221 198 222 loss_clearance_fee = schema.Float( 199 223 title = _(u'Loss of Clearance Fee'), … … 201 225 required = True, 202 226 ) 203 conv_brochure_fee = schema.Float( 204 title = _(u'ND Convocation Brochure Fee'), 205 default = 0.0, 206 required = True, 207 ) 208 hnd_conv_brochure_fee = schema.Float( 209 title = _(u'HND Convocation Brochure Fee'), 210 default = 0.0, 211 required = True, 212 ) 213 pgd_conv_brochure_fee = schema.Float( 214 title = _(u'PGD Convocation Brochure Fee'), 215 default = 0.0, 216 required = True, 217 ) 227 228 #conv_brochure_fee = schema.Float( 229 # title = _(u'ND Convocation Brochure Fee'), 230 # default = 0.0, 231 # required = True, 232 # ) 233 234 #hnd_conv_brochure_fee = schema.Float( 235 # title = _(u'HND Convocation Brochure Fee'), 236 # default = 0.0, 237 # required = True, 238 # ) 239 240 #pgd_conv_brochure_fee = schema.Float( 241 # title = _(u'PGD Convocation Brochure Fee'), 242 # default = 0.0, 243 # required = True, 244 # ) 245 218 246 log_book_fee = schema.Float( 219 247 title = _(u'Log Book Fees'), … … 221 249 required = True, 222 250 ) 251 223 252 jamb_regularization_fee = schema.Float( 224 253 title = _(u'Jamb Regularization Fee'), … … 226 255 required = True, 227 256 ) 257 228 258 utme_registration_fee = schema.Float( 229 259 title = _(u'UTME Registration Fee'), … … 231 261 required = True, 232 262 ) 263 233 264 utme_cbt_fee = schema.Float( 234 265 title = _(u'UTME CBT Fee'), … … 236 267 required = True, 237 268 ) 269 238 270 nysc_id_card_fee = schema.Float( 239 271 title = _(u'NYSC ID Card Fee'), … … 241 273 required = True, 242 274 ) 275 243 276 ijmb_result_fee = schema.Float( 244 277 title = _(u'IJMB Result Fee'), … … 246 279 required = True, 247 280 ) 281 248 282 carryover1_fee = schema.Float( 249 283 title = _(u'1, 2 or 3 Carry-Over Courses Fee'), … … 251 285 required = True, 252 286 ) 287 253 288 carryover4_fee = schema.Float( 254 289 title = _(u'4 Carry-Over Courses Fee'), … … 256 291 required = True, 257 292 ) 293 258 294 carryover5_fee = schema.Float( 259 295 title = _(u'5 Carry-Over Courses Fee'), … … 261 297 required = True, 262 298 ) 299 263 300 carryover6_fee = schema.Float( 264 301 title = _(u'6 Carry-Over Courses Fee'), … … 266 303 required = True, 267 304 ) 305 268 306 carryover7_fee = schema.Float( 269 307 title = _(u'7 Carry-Over Courses Fee'), … … 271 309 required = True, 272 310 ) 311 273 312 carryover8_fee = schema.Float( 274 313 title = _(u'8 Carry-Over Courses Fee'), … … 276 315 required = True, 277 316 ) 317 278 318 carryover9_fee = schema.Float( 279 319 title = _(u'9 Carry-Over Courses Fee'), … … 281 321 required = True, 282 322 ) 323 283 324 carryover10_fee = schema.Float( 284 325 title = _(u'10 Carry-Over Courses Fee'), … … 286 327 required = True, 287 328 ) 329 288 330 carryover11_fee = schema.Float( 289 331 title = _(u'11 Carry-Over Courses Fee'), … … 291 333 required = True, 292 334 ) 335 293 336 carryover12_fee = schema.Float( 294 337 title = _(u'12 Carry-Over Courses Fee'), … … 296 339 required = True, 297 340 ) 341 298 342 balance_fee = schema.Float( 299 343 title = _(u'Balance Payment'), … … 410 454 ) 411 455 456 hndgrad_fee = schema.Float( 457 title = _(u'HND Final Clearance Pack'), 458 default = 0.0, 459 required = True, 460 ) 461 462 ndgrad_fee = schema.Float( 463 title = _(u'ND Final Clearance Pack'), 464 default = 0.0, 465 required = True, 466 ) 467 412 468 lsfp_penalty_fee = schema.Float( 413 469 title = _(u'Late School Fee Payment Penalty Fee'), 470 default = 0.0, 471 required = True, 472 ) 473 474 conv_fee = schema.Float( 475 title = _(u'Convocation Pack'), 414 476 default = 0.0, 415 477 required = True, -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r15474 r15571 98 98 'nysc_id_card': ('144', 9.0, '1012808851', '117'), 99 99 'ijmb_result': ('147', 500.0, '1012808851', '117'), 100 'conv': ('151', 500.0, '1012963301', '117'), 100 101 } 101 102 … … 426 427 </payment_item_detail>""" % xmldict 427 428 429 if self.context.p_category == 'hndgrad': 430 self.pay_item_id = '153' 431 # amount_auth is being ignored. However, the sum of all split payments 432 # must coincide with the amount_auth configured in students/utils.py 433 xmldict['amt1'] = 100 * 3000 434 xmldict['amt2'] = 100 * 5000 435 xmldict['amt3'] = 100 * 1000 436 xmldict['amt4'] = 100 * 3500 437 xmltext = """<payment_item_detail> 438 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 439 <item_detail item_id="1" item_name="Collection of Results" item_amt="%(amt1)d" bank_id="117" acct_num="1012808851" /> 440 <item_detail item_id="2" item_name="Collection of Certificate" item_amt="%(amt2)d" bank_id="117" acct_num="1012808851" /> 441 <item_detail item_id="3" item_name="Alumni" item_amt="%(amt3)d" bank_id="8" acct_num="2011810346" /> 442 <item_detail item_id="4" item_name="Convocation" item_amt="%(amt3)d" bank_id="8" acct_num="2006612782" /> 443 </item_details> 444 </payment_item_detail>""" % xmldict 445 446 if self.context.p_category == 'ndgrad': 447 self.pay_item_id = '152' 448 # amount_auth is being ignored. However, the sum of all split payments 449 # must coincide with the amount_auth configured in students/utils.py 450 xmldict['amt1'] = 100 * 3000 451 xmldict['amt2'] = 100 * 7500 452 xmldict['amt3'] = 100 * 1000 453 xmldict['amt4'] = 100 * 3500 454 xmltext = """<payment_item_detail> 455 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 456 <item_detail item_id="1" item_name="Collection of Results" item_amt="%(amt1)d" bank_id="117" acct_num="1012808851" /> 457 <item_detail item_id="2" item_name="Collection of Certificate" item_amt="%(amt2)d" bank_id="117" acct_num="1012808851" /> 458 <item_detail item_id="3" item_name="Alumni" item_amt="%(amt3)d" bank_id="8" acct_num="2011810346" /> 459 <item_detail item_id="4" item_name="Convocation" item_amt="%(amt3)d" bank_id="8" acct_num="2006612782" /> 460 </item_details> 461 </payment_item_detail>""" % xmldict 428 462 429 463 self.xml_data = """<input type="hidden" name="xml_data" value='%s' />""" % xmltext -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py
r15440 r15571 124 124 'pom':'POM Pack', 125 125 'hrm':'HRM Pack', 126 'hndgrad':'HND Final Clearance Pack', 127 'ndgrad':'ND Final Clearance Pack', 126 128 'lsfp_penalty':'Late School Fee Payment Penalty', 129 'conv':'Convocation Pack', 127 130 } 128 131 … … 189 192 'pom':'POM Pack', 190 193 'hrm':'HRM Pack', 194 'hndgrad':'HND Final Clearance Pack', 195 'ndgrad':'ND Final Clearance Pack', 191 196 'lsfp_penalty':'Late School Fee Payment Penalty', 197 'conv':'Convocation Pack', 192 198 } 193 199 … … 241 247 'carryover12': '12 Carry-Over Courses', 242 248 'balance': 'Balance Payment', 243 } 249 'conv':'Convocation Pack', 250 }
Note: See TracChangeset for help on using the changeset viewer.