Ignore:
Timestamp:
1 Nov 2014, 14:24:29 (10 years ago)
Author:
Henrik Bettermann
Message:

Add new fees (ticket #91)

Remove 'Fee' in drop-down menus.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interfaces.py

    r11759 r11922  
    223223        required = True,
    224224        )
     225    utme_registration_fee = schema.Float(
     226        title = _(u'UTME Registration Fee'),
     227        default = 0.0,
     228        required = True,
     229        )
     230    utme_cbt_fee = schema.Float(
     231        title = _(u'UTME CBT Fee'),
     232        default = 0.0,
     233        required = True,
     234        )
     235    nysc_id_card_fee = schema.Float(
     236        title = _(u'NYSC ID Card Fee'),
     237        default = 0.0,
     238        required = True,
     239        )
    225240    penalty_ug = schema.Float(
    226241        title = _(u'UG Penalty Fee'),
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r11883 r11922  
    8383    'pgd_transcript_local': ('139', 200.0, 300.0, '7000016724', '9'),
    8484    'jamb_regularization': ('140', 200.0, 300.0, '0838798020', '76'),
     85    'utme_registration': ('142', 6.0, 9.0, '2013910271', '8'),
     86    'utme_cbt': ('143', 6.0, 9.0, '2013910271', '8'),
     87    'nysc_id_card': ('144', 6.0, 9.0, '7000016724', '9'),
    8588    }
    8689
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r11883 r11922  
    229229            self.browser.contents)
    230230        self.assertMatches(
    231             '...item_name="Hostel Maintenance Fee" item_amt="57600" bank_id="31" acct_num="0039050937"...',
     231            '...item_name="Hostel Maintenance" item_amt="57600" bank_id="31" acct_num="0039050937"...',
    232232            self.browser.contents)
    233233
     
    529529            in self.browser.contents)
    530530        self.assertTrue(
    531             '<item_detail item_id="1" item_name="Application Fee" '
     531            '<item_detail item_id="1" item_name="Application" '
    532532            'item_amt="253300" bank_id="120" acct_num="1771440667" />'
    533533            in self.browser.contents)
     
    541541        self.browser.getLink("CollegePAY", index=0).click()
    542542        self.assertTrue(
    543             '<item_detail item_id="1" item_name="Application Fee" '
     543            '<item_detail item_id="1" item_name="Application" '
    544544            'item_amt="253300" bank_id="120" acct_num="1771440667" />'
    545545            in self.browser.contents)
     
    562562        self.browser.getLink("CollegePAY", index=0).click()
    563563        self.assertTrue(
    564             '<item_detail item_id="1" item_name="Application Fee" '
     564            '<item_detail item_id="1" item_name="Application" '
    565565            'item_amt="253300" bank_id="10" acct_num="0106259811" />'
    566566            in self.browser.contents)
     
    586586        self.browser.getLink("CollegePAY", index=0).click()
    587587        self.assertTrue(
    588             '<item_detail item_id="1" item_name="Application Fee" '
     588            '<item_detail item_id="1" item_name="Application" '
    589589            'item_amt="253300" bank_id="8" acct_num="2013910271" />'
    590590            in self.browser.contents)
     
    613613        self.browser.getLink("CollegePAY", index=0).click()
    614614        self.assertTrue(
    615             '<item_detail item_id="1" item_name="Application Fee" '
     615            '<item_detail item_id="1" item_name="Application" '
    616616            'item_amt="253300" bank_id="8" acct_num="2013910271" />'
    617617            in self.browser.contents)
     
    680680        # The university gets 570.5 - (1.5% x 570.5) - 3 - 4.5
    681681        self.assertTrue(
    682             '<item_detail item_id="1" item_name="Log Book Fees" '
     682            '<item_detail item_id="1" item_name="Log Book" '
    683683            'item_amt="55444" bank_id="117" acct_num="1010508401" />'
    684684            in self.browser.contents)
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py

    r11759 r11922  
    5454        'carryover2': '2 CarryOvers',
    5555        'carryover3': '3 CarryOvers',
    56         'clearance': 'Acceptance Fee',
    57         'bed_allocation': 'Bed Allocation Fee',
    58         'hostel_maintenance': 'Hostel Maintenance Fee',
    59         'application': 'Application Fee',
     56        'clearance': 'Acceptance',
     57        'bed_allocation': 'Bed Allocation',
     58        'hostel_maintenance': 'Hostel Maintenance',
     59        'application': 'Application',
    6060        'certificate': 'ND Certificate',
    6161        'hnd_certificate': 'HND Certificate',
     
    8686        'hnd_conv_brochure': 'HND Convocation Brochure',
    8787        'pgd_conv_brochure': 'PGD Convocation Brochure',
    88         'log_book': 'Log Book Fees',
     88        'log_book': 'Log Book',
    8989        'jamb_regularization': 'Jamb Regularization',
     90        'utme_registration': 'UTME Registration',
     91        'utme_cbt': 'UTME CBT',
     92        'nysc_id_card': 'NYSC ID Card'
    9093        }
    9194
     
    9598        'carryover2': 'Two CarryOvers',
    9699        'carryover3': 'Three CarryOvers',
    97         'hostel_maintenance': 'Hostel Maintenance Fee',
     100        'hostel_maintenance': 'Hostel Maintenance',
    98101        'certificate': 'ND Certificate',
    99102        'hnd_certificate': 'HND Certificate',
     
    124127        'hnd_conv_brochure': 'HND Convocation Brochure',
    125128        'pgd_conv_brochure': 'PGD Convocation Brochure',
    126         'log_book': 'Log Book Fees',
     129        'log_book': 'Log Book',
    127130        'jamb_regularization': 'Jamb Regularization',
     131        'utme_registration': 'UTME Registration',
     132        'utme_cbt': 'UTME CBT',
     133        'nysc_id_card': 'NYSC ID Card'
    128134        }
    129135
     
    169175        'hnd_conv_brochure': 'HND Convocation Brochure',
    170176        'pgd_conv_brochure': 'PGD Convocation Brochure',
    171         'log_book': 'Log Book Fees',
     177        'log_book': 'Log Book',
    172178        'jamb_regularization': 'Jamb Regularization',
     179        'utme_registration': 'UTME Registration',
     180        'utme_cbt': 'UTME CBT',
     181        'nysc_id_card': 'NYSC ID Card'
    173182        }
Note: See TracChangeset for help on using the changeset viewer.