Ignore:
Timestamp:
9 May 2014, 16:18:04 (10 years ago)
Author:
Henrik Bettermann
Message:

More special payment fee categories added.

Location:
main/waeup.kwarapoly/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/CHANGES.txt

    r11623 r11629  
    441.2dev (unreleased)
    55===================
     6
     7* More special payment fee categories added.
    68
    79* Fees are required and must not be set to None.
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interfaces.py

    r11623 r11629  
    8282        )
    8383    state_result_fee = schema.Float(
    84         title = _(u'Statement of Result Fee'),
     84        title = _(u'ND Statement of Result Fee'),
     85        default = 0.0,
     86        required = True,
     87        )
     88    hnd_state_result_fee = schema.Float(
     89        title = _(u'HND Statement of Result Fee'),
    8590        default = 0.0,
    8691        required = True,
    8792        )
    8893    transcript_local_fee = schema.Float(
    89         title = _(u'Transcript (local) Fee'),
     94        title = _(u'ND Transcript (local) Fee'),
     95        default = 0.0,
     96        required = True,
     97        )
     98    hnd_transcript_local_fee = schema.Float(
     99        title = _(u'HND Transcript (local) Fee'),
    90100        default = 0.0,
    91101        required = True,
    92102        )
    93103    transcript_foreign_fee = schema.Float(
    94         title = _(u'Transcript (foreign) Fee'),
     104        title = _(u'ND Transcript (foreign) Fee'),
     105        default = 0.0,
     106        required = True,
     107        )
     108    hnd_transcript_foreign_fee = schema.Float(
     109        title = _(u'HND Transcript (foreign) Fee'),
    95110        default = 0.0,
    96111        required = True,
     
    132147        )
    133148    loss_idcard_fee = schema.Float(
    134         title = _(u'Loss of ID Card Fee'),
     149        title = _(u'Loss of ID Card Fee (student)'),
     150        default = 0.0,
     151        required = True,
     152        )
     153    staff_loss_idcard_fee = schema.Float(
     154        title = _(u'Loss of ID Card Fee (staff)'),
    135155        default = 0.0,
    136156        required = True,
     
    157177        )
    158178    conv_brochure_fee = schema.Float(
    159         title = _(u'Convocation Brochure Fee'),
     179        title = _(u'ND Convocation Brochure Fee'),
     180        default = 0.0,
     181        required = True,
     182        )
     183    hnd_conv_brochure_fee = schema.Float(
     184        title = _(u'HND Convocation Brochure Fee'),
    160185        default = 0.0,
    161186        required = True,
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r11557 r11629  
    178178        elif self.context.p_category == 'conv_brochure':
    179179            self.pay_item_id = '127'
     180        elif self.context.p_category == 'hnd_certificate':
     181            self.pay_item_id = '128'
     182        elif self.context.p_category == 'hnd_state_result':
     183            self.pay_item_id = '129'
     184        elif self.context.p_category == 'hnd_transcript_local':
     185            self.pay_item_id = '130'
     186        elif self.context.p_category == 'hnd_transcript_foreign':
     187            self.pay_item_id = '131'
     188        elif self.context.p_category == 'staff_loss_idcard':
     189            self.pay_item_id = '132'
     190            dalash_amt = 6.0
     191            xmldict['dalash_amt'] = 100 * dalash_amt
     192            provider_amt = 9.0
     193            gateway_amt = 15.0
     194        elif self.context.p_category == 'hnd_conv_brochure':
     195            self.pay_item_id = '133'
    180196        elif 'maintenance' in self.context.p_category:
    181197            self.pay_item_id = '102'
     
    334350            elif self.applicant.special_application == 'conv_brochure':
    335351                self.pay_item_id = '127'
     352            elif self.applicant.special_application == 'hnd_certificate':
     353                self.pay_item_id = '128'
     354            elif self.applicant.special_application == 'hnd_state_result':
     355                self.pay_item_id = '129'
     356            elif self.applicant.special_application == 'hnd_transcript_local':
     357                self.pay_item_id = '130'
     358            elif self.applicant.special_application == 'hnd_transcript_foreign':
     359                self.pay_item_id = '131'
     360            elif self.applicant.special_application == 'staff_loss_idcard':
     361                self.pay_item_id = '132'
     362                dalash_amt = 6.0
     363                xmldict['dalash_amt'] = 100 * dalash_amt
     364                provider_amt = 9.0
     365                gateway_amt = 15.0
     366            elif self.context.p_category == 'hnd_conv_brochure':
     367                self.pay_item_id = '133'
    336368            else:
    337369                xmldict['institution_acct'] = '00000000000'
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py

    r11453 r11629  
    5858        'hostel_maintenance': 'Hostel Maintenance Fee',
    5959        'application': 'Application Fee',
    60         'certificate': 'Certificate',
    61         'state_result': 'Statement of Result',
    62         'transcript_local': 'Transcript (local)',
    63         'transcript_foreign': 'Transcript (foreign)',
     60        'certificate': 'ND Certificate',
     61        'hnd_certificate': 'HND Certificate',
     62        'state_result': 'ND Statement of Result',
     63        'hnd_state_result': 'HND Statement of Result',
     64        'transcript_local': 'ND Transcript (local)',
     65        'hnd_transcript_local': 'HND Transcript (local)',
     66        'transcript_foreign': 'ND Transcript (foreign)',
     67        'hnd_transcript_foreign': 'HND Transcript (foreign)',
    6468        'ver_result': 'Verification of Result',
    6569        'change_course': 'Change of Course',
     
    6973        'ref_let': 'Recommendation/Reference Letter',
    7074        'proc_cert': 'Processing of Certificate by Proxy',
    71         'loss_idcard': 'Loss of ID Card',
     75        'loss_idcard': 'Loss of ID Card (student)',
     76        'staff_loss_idcard': 'Loss of ID Card (staff)',
    7277        'loss_examcard': 'Loss of Exam Card',
    7378        'loss_result': 'Loss of Result',
    7479        'loss_receipt': 'Loss of Receipt',
    7580        'loss_clearance': 'Loss of Clearance',
    76         'conv_brochure': 'Convocation Brochure',
     81        'conv_brochure': 'ND Convocation Brochure',
     82        'hnd_conv_brochure': 'HND Convocation Brochure',
    7783        }
    7884
     
    8389        'carryover3': 'Three CarryOvers',
    8490        'hostel_maintenance': 'Hostel Maintenance Fee',
    85         'certificate': 'Certificate',
    86         'state_result': 'Statement of Result',
    87         'transcript_local': 'Transcript (local)',
    88         'transcript_foreign': 'Transcript (foreign)',
     91        'certificate': 'ND Certificate',
     92        'hnd_certificate': 'HND Certificate',
     93        'state_result': 'ND Statement of Result',
     94        'hnd_state_result': 'HND Statement of Result',
     95        'transcript_local': 'ND Transcript (local)',
     96        'hnd_transcript_local': 'HND Transcript (local)',
     97        'transcript_foreign': 'ND Transcript (foreign)',
     98        'hnd_transcript_foreign': 'HND Transcript (foreign)',
    8999        'ver_result': 'Verification of Result',
    90100        'change_course': 'Change of Course',
     
    94104        'ref_let': 'Recommendation/Reference Letter',
    95105        'proc_cert': 'Processing of Certificate by Proxy',
    96         'loss_idcard': 'Loss of ID Card',
     106        'loss_idcard': 'Loss of ID Card (student)',
     107        'staff_loss_idcard': 'Loss of ID Card (staff)',
    97108        'loss_examcard': 'Loss of Exam Card',
    98109        'loss_result': 'Loss of Result',
    99110        'loss_receipt': 'Loss of Receipt',
    100111        'loss_clearance': 'Loss of Clearance',
    101         'conv_brochure': 'Convocation Brochure',
     112        'conv_brochure': 'ND Convocation Brochure',
     113        'hnd_conv_brochure': 'HND Convocation Brochure',
    102114        }
    103115
Note: See TracChangeset for help on using the changeset viewer.