Changeset 15571


Ignore:
Timestamp:
29 Aug 2019, 08:17:43 (5 years ago)
Author:
Henrik Bettermann
Message:

Configure hndgrad, ndgrad and conv fees.

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  
    8181        required = True,
    8282        )
     83
    8384    hnd_certificate_fee = schema.Float(
    8485        title = _(u'HND Certificate Fee'),
     
    8687        required = True,
    8788        )
     89
    8890    pgd_certificate_fee = schema.Float(
    8991        title = _(u'PGD Certificate Fee'),
     
    9193        required = True,
    9294        )
     95
    9396    state_result_fee = schema.Float(
    9497        title = _(u'ND Statement of Result Fee'),
     
    9699        required = True,
    97100        )
     101
    98102    hnd_state_result_fee = schema.Float(
    99103        title = _(u'HND Statement of Result Fee'),
     
    101105        required = True,
    102106        )
     107
    103108    pgd_state_result_fee = schema.Float(
    104109        title = _(u'PGD Statement of Result Fee'),
     
    106111        required = True,
    107112        )
     113
    108114    transcript_local_fee = schema.Float(
    109115        title = _(u'ND Transcript (local) Fee'),
     
    111117        required = True,
    112118        )
     119
    113120    hnd_transcript_local_fee = schema.Float(
    114121        title = _(u'HND Transcript (local) Fee'),
     
    116123        required = True,
    117124        )
     125
    118126    pgd_transcript_local_fee = schema.Float(
    119127        title = _(u'PGD Transcript (local) Fee'),
     
    121129        required = True,
    122130        )
     131
    123132    transcript_foreign_fee = schema.Float(
    124133        title = _(u'ND Transcript (foreign) Fee'),
     
    126135        required = True,
    127136        )
     137
    128138    hnd_transcript_foreign_fee = schema.Float(
    129139        title = _(u'HND Transcript (foreign) Fee'),
     
    131141        required = True,
    132142        )
     143
    133144    pgd_transcript_foreign_fee = schema.Float(
    134145        title = _(u'PGD Transcript (foreign) Fee'),
     
    136147        required = True,
    137148        )
     149
    138150    ver_result_fee = schema.Float(
    139151        title = _(u'Verification of Result Fee'),
     
    141153        required = True,
    142154        )
     155
    143156    change_course_fee = schema.Float(
    144157        title = _(u'Change of Course Fee'),
     
    146159        required = True,
    147160        )
     161
    148162    change_inst_fee = schema.Float(
    149163        title = _(u'Change of Institute Fee'),
     
    151165        required = True,
    152166        )
     167
    153168    jamb_reject_fee = schema.Float(
    154169        title = _(u'JAMB Rejection Form Fee'),
     
    156171        required = True,
    157172        )
     173
    158174    cert_of_cert_fee = schema.Float(
    159175        title = _(u'Certification of Certificate Fee'),
     
    161177        required = True,
    162178        )
     179
    163180    ref_let_fee = schema.Float(
    164181        title = _(u'Recommendation/Reference Letter Fee'),
     
    166183        required = True,
    167184        )
     185
    168186    proc_cert_fee = schema.Float(
    169187        title = _(u'Processing of Certificate by Proxy Fee'),
     
    171189        required = True,
    172190        )
     191
    173192    loss_idcard_fee = schema.Float(
    174193        title = _(u'Loss of ID Card Fee (student)'),
     
    176195        required = True,
    177196        )
     197
    178198    staff_loss_idcard_fee = schema.Float(
    179199        title = _(u'Loss of ID Card Fee (staff)'),
     
    181201        required = True,
    182202        )
     203
    183204    loss_examcard_fee = schema.Float(
    184205        title = _(u'Loss of Exam Card Fee'),
     
    186207        required = True,
    187208        )
     209
    188210    loss_result_fee = schema.Float(
    189211        title = _(u'Loss of Result Fee'),
     
    191213        required = True,
    192214        )
     215
    193216    loss_receipt_fee = schema.Float(
    194217        title = _(u'Loss of Receipt Fee'),
     
    196219        required = True,
    197220        )
     221
    198222    loss_clearance_fee = schema.Float(
    199223        title = _(u'Loss of Clearance Fee'),
     
    201225        required = True,
    202226        )
    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
    218246    log_book_fee = schema.Float(
    219247        title = _(u'Log Book Fees'),
     
    221249        required = True,
    222250        )
     251
    223252    jamb_regularization_fee = schema.Float(
    224253        title = _(u'Jamb Regularization Fee'),
     
    226255        required = True,
    227256        )
     257
    228258    utme_registration_fee = schema.Float(
    229259        title = _(u'UTME Registration Fee'),
     
    231261        required = True,
    232262        )
     263
    233264    utme_cbt_fee = schema.Float(
    234265        title = _(u'UTME CBT Fee'),
     
    236267        required = True,
    237268        )
     269
    238270    nysc_id_card_fee = schema.Float(
    239271        title = _(u'NYSC ID Card Fee'),
     
    241273        required = True,
    242274        )
     275
    243276    ijmb_result_fee = schema.Float(
    244277        title = _(u'IJMB Result Fee'),
     
    246279        required = True,
    247280        )
     281
    248282    carryover1_fee = schema.Float(
    249283        title = _(u'1, 2 or 3 Carry-Over Courses Fee'),
     
    251285        required = True,
    252286        )
     287
    253288    carryover4_fee = schema.Float(
    254289        title = _(u'4 Carry-Over Courses Fee'),
     
    256291        required = True,
    257292        )
     293
    258294    carryover5_fee = schema.Float(
    259295        title = _(u'5 Carry-Over Courses Fee'),
     
    261297        required = True,
    262298        )
     299
    263300    carryover6_fee = schema.Float(
    264301        title = _(u'6 Carry-Over Courses Fee'),
     
    266303        required = True,
    267304        )
     305
    268306    carryover7_fee = schema.Float(
    269307        title = _(u'7 Carry-Over Courses Fee'),
     
    271309        required = True,
    272310        )
     311
    273312    carryover8_fee = schema.Float(
    274313        title = _(u'8 Carry-Over Courses Fee'),
     
    276315        required = True,
    277316        )
     317
    278318    carryover9_fee = schema.Float(
    279319        title = _(u'9 Carry-Over Courses Fee'),
     
    281321        required = True,
    282322        )
     323
    283324    carryover10_fee = schema.Float(
    284325        title = _(u'10 Carry-Over Courses Fee'),
     
    286327        required = True,
    287328        )
     329
    288330    carryover11_fee = schema.Float(
    289331        title = _(u'11 Carry-Over Courses Fee'),
     
    291333        required = True,
    292334        )
     335
    293336    carryover12_fee = schema.Float(
    294337        title = _(u'12 Carry-Over Courses Fee'),
     
    296339        required = True,
    297340        )
     341
    298342    balance_fee = schema.Float(
    299343        title = _(u'Balance Payment'),
     
    410454        )
    411455
     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
    412468    lsfp_penalty_fee = schema.Float(
    413469        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'),
    414476        default = 0.0,
    415477        required = True,
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py

    r15474 r15571  
    9898    'nysc_id_card': ('144', 9.0, '1012808851', '117'),
    9999    'ijmb_result': ('147', 500.0, '1012808851', '117'),
     100    'conv': ('151', 500.0, '1012963301', '117'),
    100101    }
    101102
     
    426427</payment_item_detail>""" % xmldict
    427428
     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
    428462
    429463        self.xml_data = """<input type="hidden" name="xml_data" value='%s'  />""" % xmltext
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py

    r15440 r15571  
    124124        'pom':'POM Pack',
    125125        'hrm':'HRM Pack',
     126        'hndgrad':'HND Final Clearance Pack',
     127        'ndgrad':'ND Final Clearance Pack',
    126128        'lsfp_penalty':'Late School Fee Payment Penalty',
     129        'conv':'Convocation Pack',
    127130        }
    128131
     
    189192        'pom':'POM Pack',
    190193        'hrm':'HRM Pack',
     194        'hndgrad':'HND Final Clearance Pack',
     195        'ndgrad':'ND Final Clearance Pack',
    191196        'lsfp_penalty':'Late School Fee Payment Penalty',
     197        'conv':'Convocation Pack',
    192198        }
    193199
     
    241247        'carryover12': '12 Carry-Over Courses',
    242248        'balance': 'Balance Payment',
    243         }
     249        'conv':'Convocation Pack',
     250        }
Note: See TracChangeset for help on using the changeset viewer.