Ignore:
Timestamp:
22 Jan 2018, 22:48:02 (7 years ago)
Author:
Henrik Bettermann
Message:

Configure Gown Hire Fee.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interfaces.py

    r14869 r14942  
    7070    # Additional fees in custom package
    7171
     72    gown_fee = schema.Float(
     73        title = _(u'Gown Fee'),
     74        default = 0.0,
     75        required = False,
     76        )
     77
    7278    certificate_fee = schema.Float(
    7379        title = _(u'ND Certificate Fee'),
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py

    r14940 r14942  
    150150                xmldict['institution_acct'] = '2004402644'
    151151                xmldict['institution_bank_id'] = '8'
     152        elif self.context.p_category == 'gown':
     153            self.pay_item_id = '102' # We use school fee item id.
     154            xmldict['institution_acct'] = '2006612782'
     155            xmldict['institution_bank_id'] = '8'
    152156        elif self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys():
    153157            self.pay_item_id = SPECIAL_PAYMENT_PARAMS[self.context.p_category][0]
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py

    r14940 r14942  
    163163            else:
    164164                return _(u'No bed allocated.'), None
     165        elif category == 'gown':
     166            amount = academic_session.gown_fee
    165167        elif category == 'transcript':
    166168            amount = academic_session.transcript_fee
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py

    r14937 r14942  
    105105        'nysc_id_card': 'NYSC ID Card',
    106106        'ijmb_result':'IJMB Result',
     107        'gown': 'Gown Hire Fee',
    107108        }
    108109
     
    111112        'schoolfee': 'School Fee',
    112113        'dep_sug':'NADESU/SA/SUG',
     114        'gown': 'Gown Hire Fee',
    113115        #'carryover1': 'One Carry-Over',
    114116        #'carryover2': 'Two Carry-Overs',
Note: See TracChangeset for help on using the changeset viewer.