Changeset 17456


Ignore:
Timestamp:
25 Jun 2023, 21:18:49 (18 months ago)
Author:
Henrik Bettermann
Message:

Enable other fees payments.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r17455 r17456  
    6969    'matricgown': ('2000249757', '8'),
    7070    'lapel':      ('2000249757', '8'),
     71
     72    'hostel_maintenance': ('1006406795', '123'),
     73    'late_registration':  ('5210006575', '51'),
     74    'ent_combined':       ('6220029828', '51'),
     75    'ent_registration_0': ('6220029828', '51'),
     76    'ent_registration_1': ('6220029828', '51'),
     77    'ent_registration_2': ('6220029828', '51'),
     78    'ent_text_book_0':    ('6220029828', '51'),
     79    'ent_text_book_1':    ('6220029828', '51'),
     80    'ent_text_book_2':    ('6220029828', '51'),
     81    'gst_registration_1': ('1010893123', '117'),
     82    'gst_registration_2': ('1010893123', '117'),
     83    'gst_text_book_0':    ('1010893123', '117'),
     84    'gst_text_book_1':    ('1010893123', '117'),
     85    'gst_text_book_2':    ('1010893123', '117'),
     86    'gst_text_book_3':    ('1010893123', '117'),
    7187    }
    7288
     
    324340        # Clearance (acceptance) fee
    325341
    326         if category.startswith('clearance'):
     342        elif category.startswith('clearance'):
    327343            # collect additional fees
    328344            if self.context.p_category == 'clearance_incl':
     
    354370
    355371        # Other fees
     372        elif category in BANK_ACCOUNTS.keys():
     373            bank = BANK_ACCOUNTS[category]
     374            xmldict['institution_acct'] = bank[0]
     375            xmldict['institution_bank_id'] = bank[1]
     376
     377
     378
     379
     380
     381
    356382
    357383
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r17445 r17456  
    205205        self.app['configuration']['2004'].interswitch_enabled = True
    206206
    207     def disabled_test_interswitch_form_pt_school_fees(self):
    208         self.certificate.study_mode = 'ug_pt'
    209         self.student['studycourse'].entry_session = 2013
    210         self.student['studycourse'].certificate.school_fee_3 = 50200.0
    211         self.app['configuration']['2004'].union_fee = 1000.0
    212         self.app['configuration']['2004'].welfare_fee = 500.0
     207    def test_interswitch_form_regular_school_fees(self):
     208        self.certificate.study_mode = 'ug_ft'
     209        #self.student['studycourse'].entry_session = 2013
     210        #self.student['studycourse'].certificate.school_fee_3 = 51750.0
    213211        # Manager can access InterswitchForm
    214212        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
     
    219217        self.browser.getControl(name="form.p_category").value = ['schoolfee_incl']
    220218        self.browser.getControl("Create ticket").click()
    221         self.assertTrue('ticket created' in self.browser.contents)
    222         self.assertTrue('Amount Authorized' in self.browser.contents)
    223         # 50200 + 1000 + 500 - 400
    224         self.assertTrue('<span>51300.0</span>' in self.browser.contents)
     219        self.assertTrue('ticket created' in
     220                           self.browser.contents)
     221        self.assertTrue('Amount Authorized' in
     222                           self.browser.contents)
     223        self.assertTrue('<span>239500.0</span>' in self.browser.contents)
     224        self.payment_url = self.browser.url
     225        self.browser.getLink("Pay via Interswitch", index=0).click()
     226        self.assertTrue('Total Amount Authorized:'
     227                        in self.browser.contents)
     228        self.assertEqual(self.student.current_mode, 'ug_ft')
     229        self.assertTrue(
     230            '<input type="hidden" name="amount" value="24220000" />'
     231            in self.browser.contents)
     232        self.assertTrue(
     233            'item_name="Tuition" item_amt="18400000" bank_id="7" '
     234            'acct_num="1022438743"' in self.browser.contents)
     235
     236        self.student['studycourse'].entry_session = 2015
     237        self.browser.open(self.payments_path + '/addop')
     238        self.browser.getControl(name="form.p_category").value = ['schoolfee_2']
     239        self.browser.getControl("Create ticket").click()
     240        self.assertTrue('ticket created' in
     241                           self.browser.contents)
     242        self.assertTrue('<span>92000.0</span>' in self.browser.contents)
    225243        self.payment_url = self.browser.url
    226244        self.browser.getLink("Pay via Interswitch", index=0).click()
     
    232250        self.student['payments']['xyz'] = acc_payment
    233251        self.browser.getLink("Pay via Interswitch", index=0).click()
    234         self.assertTrue('Total Amount Authorized:' in self.browser.contents)
    235         self.assertEqual(self.student.current_mode, 'ug_pt')
    236         self.assertTrue(
    237             '<input type="hidden" name="amount" value="5130000" />'
    238             in self.browser.contents)
    239         self.assertTrue(
    240             'item_name="School Fee Plus" '
    241             'item_amt="4810000" bank_id="7" '
    242             'acct_num="1014847058"' in self.browser.contents)
    243 
    244     def test_interswitch_form_regular_school_fees(self):
    245         self.certificate.study_mode = 'ug_ft'
    246         #self.student['studycourse'].entry_session = 2013
    247         #self.student['studycourse'].certificate.school_fee_3 = 51750.0
    248         # Manager can access InterswitchForm
    249         self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    250         self.browser.open(self.payments_path)
    251         IWorkflowState(self.student).setState('cleared')
    252         self.student.nationality = u'NG'
    253         self.browser.open(self.payments_path + '/addop')
    254         self.browser.getControl(name="form.p_category").value = ['schoolfee_incl']
     252        self.assertTrue(
     253            '<input type="hidden" name="amount" value="9220000" />'
     254            in self.browser.contents)
     255        self.assertTrue(
     256            'item_name="School Fees (2nd instalment)" item_amt="9200000" bank_id="7" acct_num="1022438743"' in self.browser.contents)
     257
     258        self.browser.open(self.payments_path + '/addop')
     259        self.browser.getControl(name="form.p_category").value = ['schoolfee_1']
    255260        self.browser.getControl("Create ticket").click()
    256261        self.assertTrue('ticket created' in
    257262                           self.browser.contents)
    258         self.assertTrue('Amount Authorized' in
    259                            self.browser.contents)
    260         self.assertTrue('<span>239500.0</span>' in self.browser.contents)
    261         self.payment_url = self.browser.url
    262         self.browser.getLink("Pay via Interswitch", index=0).click()
    263         self.assertTrue('Total Amount Authorized:'
    264                         in self.browser.contents)
    265         self.assertEqual(self.student.current_mode, 'ug_ft')
    266         self.assertTrue(
    267             '<input type="hidden" name="amount" value="24220000" />'
    268             in self.browser.contents)
    269         self.assertTrue(
    270             'item_name="Tuition" item_amt="18400000" bank_id="7" '
    271             'acct_num="1022438743"' in self.browser.contents)
    272 
    273         self.student['studycourse'].entry_session = 2015
     263        self.assertTrue('<span>147500.0</span>' in self.browser.contents)
     264        self.payment_url = self.browser.url
     265        self.browser.getLink("Pay via Interswitch", index=0).click()
     266        self.assertTrue(
     267            '<input type="hidden" name="amount" value="15020000" />'
     268            in self.browser.contents)
     269        self.assertTrue(
     270            'item_name="Student Union Dues" item_amt="3000000" bank_id="7" acct_num="1019763348"' in self.browser.contents)
     271        self.assertTrue(
     272            'item_name="Tuition" item_amt="9200000" bank_id="7" acct_num="1022438743"' in self.browser.contents)
     273
    274274        self.browser.open(self.payments_path + '/addop')
    275275        self.browser.getControl(name="form.p_category").value = ['schoolfee_2']
     
    281281        self.browser.getLink("Pay via Interswitch", index=0).click()
    282282        self.assertTrue(
    283             'Please pay acceptance fee first' in self.browser.contents)
    284         acc_payment = createObject('waeup.StudentOnlinePayment')
    285         acc_payment.p_state = 'paid'
    286         acc_payment.p_category = 'clearance'
    287         self.student['payments']['xyz'] = acc_payment
    288         self.browser.getLink("Pay via Interswitch", index=0).click()
    289         self.assertTrue(
    290283            '<input type="hidden" name="amount" value="9220000" />'
    291284            in self.browser.contents)
     
    293286            'item_name="School Fees (2nd instalment)" item_amt="9200000" bank_id="7" acct_num="1022438743"' in self.browser.contents)
    294287
    295         self.browser.open(self.payments_path + '/addop')
    296         self.browser.getControl(name="form.p_category").value = ['schoolfee_1']
    297         self.browser.getControl("Create ticket").click()
    298         self.assertTrue('ticket created' in
    299                            self.browser.contents)
    300         self.assertTrue('<span>147500.0</span>' in self.browser.contents)
    301         self.payment_url = self.browser.url
    302         self.browser.getLink("Pay via Interswitch", index=0).click()
    303         self.assertTrue(
    304             '<input type="hidden" name="amount" value="15020000" />'
    305             in self.browser.contents)
    306         self.assertTrue(
    307             'item_name="Student Union Dues" item_amt="3000000" bank_id="7" acct_num="1019763348"' in self.browser.contents)
    308         self.assertTrue(
    309             'item_name="Tuition" item_amt="9200000" bank_id="7" acct_num="1022438743"' in self.browser.contents)
    310 
    311         self.browser.open(self.payments_path + '/addop')
    312         self.browser.getControl(name="form.p_category").value = ['schoolfee_2']
    313         self.browser.getControl("Create ticket").click()
    314         self.assertTrue('ticket created' in
    315                            self.browser.contents)
    316         self.assertTrue('<span>92000.0</span>' in self.browser.contents)
    317         self.payment_url = self.browser.url
    318         self.browser.getLink("Pay via Interswitch", index=0).click()
    319         self.assertTrue(
    320             '<input type="hidden" name="amount" value="9220000" />'
    321             in self.browser.contents)
    322         self.assertTrue(
    323             'item_name="School Fees (2nd instalment)" item_amt="9200000" bank_id="7" acct_num="1022438743"' in self.browser.contents)
    324 
    325     def disabled_test_interswitch_form_pt_acceptance_fees(self):
    326         self.certificate.study_mode = 'ug_pt'
    327         self.app['configuration']['2004'].clearance_fee_ug_pt = 40200.0
    328         self.app['configuration']['2004'].matric_gown_fee = 2000.0
    329         self.app['configuration']['2004'].lapel_fee = 800.0
     288    def test_interswitch_form_regular_acceptance_fees(self):
     289        self.certificate.study_mode = 'ug_ft'
     290        #self.app['configuration']['2004'].clearance_fee = 43050.0
    330291        # Manager can access InterswitchForm
    331292        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
     
    336297        self.browser.getControl(name="form.p_category").value = ['clearance_incl']
    337298        self.browser.getControl("Create ticket").click()
    338         self.assertTrue('ticket created' in  self.browser.contents)
    339         self.assertTrue('Amount Authorized' in self.browser.contents)
    340         # 40200 + 2000 + 800 - 400
    341         self.assertTrue('<span>42600.0</span>' in self.browser.contents)
    342         self.payment_url = self.browser.url
    343         self.browser.getLink("Pay via Interswitch", index=0).click()
    344         self.assertTrue('Total Amount Authorized:' in self.browser.contents)
    345         self.assertTrue(
    346             '<input type="hidden" name="amount" value="4260000" />'
    347             in self.browser.contents)
    348         self.assertTrue(
    349             'item_name="Acceptance Fee Plus" '
    350             'item_amt="4000000" bank_id="7" '
    351             'acct_num="1014847058"' in self.browser.contents)
    352 
    353     def test_interswitch_form_regular_acceptance_fees(self):
     299        self.assertTrue('ticket created' in self.browser.contents)
     300        self.assertTrue('Amount Authorized' in self.browser.contents)
     301        self.assertTrue('<span>16800.0</span>' in self.browser.contents)
     302        self.browser.getLink("Pay via Interswitch", index=0).click()
     303        self.assertTrue('Total Amount Authorized:' in self.browser.contents)
     304        self.assertTrue(
     305            '<input type="hidden" name="amount" value="1850000" />'
     306            in self.browser.contents)
     307        self.assertTrue(self.student['payments'].values()[0].net_amt == 16800)
     308        self.assertTrue(
     309            'item_name="Acceptance Fee" item_amt="1400000" bank_id="8" '
     310            'acct_num="2000249757"' in self.browser.contents)
     311
     312        self.certificate.study_mode = 'bridge'
     313        self.browser.open(self.payments_path + '/addop')
     314        self.browser.getControl(name="form.p_category").value = ['clearance']
     315        self.browser.getControl("Create ticket").click()
     316        self.assertTrue('ticket created' in self.browser.contents)
     317        self.assertTrue('Amount Authorized' in self.browser.contents)
     318        self.assertTrue('<span>14000.0</span>' in self.browser.contents)
     319        self.browser.getLink("Pay via Interswitch", index=0).click()
     320        self.assertTrue('Total Amount Authorized:' in self.browser.contents)
     321        self.assertTrue(
     322            '<input type="hidden" name="amount" value="1570000" />'
     323            in self.browser.contents)
     324        self.assertTrue(self.student['payments'].values()[1].net_amt == 14000)
     325        self.assertTrue(
     326            'item_name="Acceptance Fee" item_amt="1400000" bank_id="8" '
     327            'acct_num="2000249757"' in self.browser.contents)
     328
     329    def deactivated_test_interswitch_form_concessional_fees(self):
    354330        self.certificate.study_mode = 'ug_ft'
    355         #self.app['configuration']['2004'].clearance_fee = 43050.0
     331        self.app['configuration']['2004'].concessional_fee = 1567.0
    356332        # Manager can access InterswitchForm
    357333        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
     
    360336        self.student.nationality = u'NG'
    361337        self.browser.open(self.payments_path + '/addop')
    362         self.browser.getControl(name="form.p_category").value = ['clearance_incl']
    363         self.browser.getControl("Create ticket").click()
    364         self.assertTrue('ticket created' in self.browser.contents)
    365         self.assertTrue('Amount Authorized' in self.browser.contents)
    366         self.assertTrue('<span>16800.0</span>' in self.browser.contents)
    367         self.browser.getLink("Pay via Interswitch", index=0).click()
    368         self.assertTrue('Total Amount Authorized:' in self.browser.contents)
    369         self.assertTrue(
    370             '<input type="hidden" name="amount" value="1850000" />'
    371             in self.browser.contents)
    372         self.assertTrue(self.student['payments'].values()[0].net_amt == 16800)
    373         self.assertTrue(
    374             'item_name="Acceptance Fee" item_amt="1400000" bank_id="8" '
    375             'acct_num="2000249757"' in self.browser.contents)
    376 
    377         self.certificate.study_mode = 'bridge'
    378         self.browser.open(self.payments_path + '/addop')
    379         self.browser.getControl(name="form.p_category").value = ['clearance']
    380         self.browser.getControl("Create ticket").click()
    381         self.assertTrue('ticket created' in self.browser.contents)
    382         self.assertTrue('Amount Authorized' in self.browser.contents)
    383         self.assertTrue('<span>14000.0</span>' in self.browser.contents)
    384         self.browser.getLink("Pay via Interswitch", index=0).click()
    385         self.assertTrue('Total Amount Authorized:' in self.browser.contents)
    386         self.assertTrue(
    387             '<input type="hidden" name="amount" value="1570000" />'
    388             in self.browser.contents)
    389         self.assertTrue(self.student['payments'].values()[1].net_amt == 14000)
    390         self.assertTrue(
    391             'item_name="Acceptance Fee" item_amt="1400000" bank_id="8" '
    392             'acct_num="2000249757"' in self.browser.contents)
    393 
    394     def deactivated_test_interswitch_form_concessional_fees(self):
    395         self.certificate.study_mode = 'ug_ft'
    396         self.app['configuration']['2004'].concessional_fee = 1567.0
    397         # Manager can access InterswitchForm
    398         self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    399         self.browser.open(self.payments_path)
    400         IWorkflowState(self.student).setState('admitted')
    401         self.student.nationality = u'NG'
    402         self.browser.open(self.payments_path + '/addop')
    403338        self.browser.getControl(name="form.p_category").value = ['concessional']
    404339        self.browser.getControl("Create ticket").click()
     
    419354            in self.browser.contents)
    420355
    421     def deactivated_test_interswitch_form_ticket_expired(self):
     356    def test_interswitch_form_ticket_expired(self):
    422357        self.certificate.study_mode = 'ug_pt'
    423358        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
     
    435370        self.assertEqual(self.student.current_mode, 'ug_pt')
    436371        self.assertTrue(
    437             '<input type="hidden" name="amount" value="87600" />'
     372            '<input type="hidden" name="amount" value="257600" />'
    438373            in self.browser.contents)
    439374        delta = timedelta(days=8)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r17431 r17456  
    617617        self.student['accommodation'].addBedTicket(bedticket)
    618618
    619     def deactivated_test_maintenance_fee_payment(self):
     619    def test_maintenance_fee_payment(self):
    620620        self.certificate.study_mode = 'ug_ft'
    621621        self.student['studycourse'].entry_session = 2013
     
    687687        return
    688688
    689     def deactivated_test_late_registration(self):
     689    def test_late_registration(self):
    690690        delta = timedelta(days=10)
    691691        self.app['configuration'][
     
    704704        # Ivie: The restitution was only for returning students of 2016/2017.
    705705        # Hence, it is only valid for 2016 payment session returning students.
    706         configuration = createObject('waeup.SessionConfiguration')
    707         configuration.academic_session = 2016
    708         self.app['configuration'].addSessionConfiguration(configuration)
    709         self.app['configuration']['2016'].restitution_fee = 9999.0
    710         self.browser.open(self.payments_path + '/addop')
    711         self.browser.getControl(name="form.p_category").value = ['restitution']
    712         self.browser.getControl("Create ticket").click()
    713         self.student['payments'].values()[0].approveStudentPayment()
     706        #configuration = createObject('waeup.SessionConfiguration')
     707        #configuration.academic_session = 2016
     708        #self.app['configuration'].addSessionConfiguration(configuration)
     709        #self.app['configuration']['2016'].restitution_fee = 9999.0
     710        #self.browser.open(self.payments_path + '/addop')
     711        #self.browser.getControl(name="form.p_category").value = ['restitution']
     712        #self.browser.getControl("Create ticket").click()
     713        #self.student['payments'].values()[0].approveStudentPayment()
    714714        # Make late registration fee payment
    715715        self.student['studycourse'].current_session = 2004
     
    736736        self.browser.getControl("Register course list").click()
    737737        self.assertTrue('Course registration has ended. Please pay' in self.browser.contents)
    738         self.student['payments'].values()[1].approve()
     738        self.student['payments'].values()[0].approve()
    739739        self.browser.getControl("Register course list").click()
    740740        self.assertTrue('Course list has been registered' in self.browser.contents)
     
    751751
    752752
    753     def deactivated_test_student_course_registration(self):
     753    def test_student_course_registration(self):
    754754        # Add more courses
    755755        self.course2 = createObject('waeup.Course')
     
    988988        return
    989989
    990     def deactivated_test_student_GST_registration(self):
     990    def test_student_GST_registration(self):
    991991        configuration_1 = createObject('waeup.SessionConfiguration')
    992992        configuration_1.academic_session = 2016
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r17440 r17456  
    9393        'clearance': 'Acceptance Fee without additional fees',
    9494        'clearance_incl': 'Acceptance Fee incl. additional fees',
    95         ##'hostel_maintenance': 'Hostel Accommodation Fee',
     95        'hostel_maintenance': 'Hostel Accommodation Fee',
    9696        #'application': 'Application Fee',
    9797        #'bed_allocation': 'Bed Allocation Fee',
     
    9999        ##'transcript_local': 'Local Transcript Fee',
    100100        ##'transcript_inter': 'International Transcript Fee',
    101         ##'late_registration': 'Late Course Registration Fee',
     101        'late_registration': 'Late Course Registration Fee',
    102102        #'welfare': 'Student Welfare Assurance Fee',
    103103        #'union': 'Student Union Dues',
     
    106106        ##'concessional': 'Concessional Fee',
    107107        #'id_card': 'Student ID Card',
    108         ##'gst_text_book_0': 'Text Book Fee GST101 GST102 GST111 GST112',
    109         ##'gst_text_book_1': 'Text Book Fee GST101 GST102',
    110         ##'gst_text_book_2': 'Text Book Fee GST111 GST112',
    111         ##'gst_text_book_3': 'Text Book Fee GST222',
    112         ##'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
    113         ##'gst_registration_2': 'Registration Fee GST222',
    114         ##'ent_text_book_1': 'Text Book Fee ENT201',
    115         ##'ent_text_book_2': 'Text Book Fee ENT211',
    116         ##'ent_text_book_0': 'Text Book Fee for ENT201 and ENT211',
    117         ##'ent_registration_1': 'Registration Fee ENT201',
    118         ##'ent_registration_2': 'Registration Fee ENT211',
    119         ##'ent_registration_0': 'Registration Fee for ENT201 and ENT211',
    120         ##'ent_combined': 'Registration and Textbook Fee for ENT201 and ENT211',
     108        'gst_text_book_0': 'Text Book Fee GST101 GST102 GST111 GST112',
     109        'gst_text_book_1': 'Text Book Fee GST101 GST102',
     110        'gst_text_book_2': 'Text Book Fee GST111 GST112',
     111        'gst_text_book_3': 'Text Book Fee GST222',
     112        'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
     113        'gst_registration_2': 'Registration Fee GST222',
     114        'ent_text_book_1': 'Text Book Fee ENT201',
     115        'ent_text_book_2': 'Text Book Fee ENT211',
     116        'ent_text_book_0': 'Text Book Fee for ENT201 and ENT211',
     117        'ent_registration_1': 'Registration Fee ENT201',
     118        'ent_registration_2': 'Registration Fee ENT211',
     119        'ent_registration_0': 'Registration Fee for ENT201 and ENT211',
     120        'ent_combined': 'Registration and Textbook Fee for ENT201 and ENT211',
    121121        ##'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    122122        ##'ict': 'ICT/Affidavit Dues',
     
    141141        'clearance': 'Acceptance Fee',
    142142        'schoolfee': 'School Fees',
    143         ##'late_registration': 'Late Course Registration Fee',
     143        'late_registration': 'Late Course Registration Fee',
    144144        ##'sports': 'Sports Fee',
    145145        ##'library': 'UG Library Fee',
     
    163163        'clearance_incl': 'Acceptance Fee Plus',
    164164        'schoolfee_incl': 'School Fees Plus',
    165         ##'ent_text_book_1': 'Text Book Fee ENT201',
    166         ##'ent_text_book_2': 'Text Book Fee ENT211',
    167         ##'ent_text_book_0': 'Text Book Fee for ENT201 and ENT211',
    168         ##'ent_registration_1': 'Registration Fee ENT201',
    169         ##'ent_registration_2': 'Registration Fee ENT211',
    170         ##'ent_registration_0': 'Registration Fee for ENT201 and ENT211',
    171         ##'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
    172         ##'gst_registration_2': 'Registration Fee GST222',
    173         ##'gst_text_book_0': 'Text Book Fee GST101 GST102 GST111 GST112',
    174         ##'gst_text_book_1': 'Text Book Fee GST101 GST102',
    175         ##'gst_text_book_2': 'Text Book Fee GST111 GST112',
    176         ##'gst_text_book_3': 'Text Book Fee GST222',
    177         ##'ent_combined': 'Registration and Textbook Fee for ENT201 and ENT211',
    178         ##'late_registration': 'Late Course Registration Fee',
     165        'ent_text_book_1': 'Text Book Fee ENT201',
     166        'ent_text_book_2': 'Text Book Fee ENT211',
     167        'ent_text_book_0': 'Text Book Fee for ENT201 and ENT211',
     168        'ent_registration_1': 'Registration Fee ENT201',
     169        'ent_registration_2': 'Registration Fee ENT211',
     170        'ent_registration_0': 'Registration Fee for ENT201 and ENT211',
     171        'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
     172        'gst_registration_2': 'Registration Fee GST222',
     173        'gst_text_book_0': 'Text Book Fee GST101 GST102 GST111 GST112',
     174        'gst_text_book_1': 'Text Book Fee GST101 GST102',
     175        'gst_text_book_2': 'Text Book Fee GST111 GST112',
     176        'gst_text_book_3': 'Text Book Fee GST222',
     177        'ent_combined': 'Registration and Textbook Fee for ENT201 and ENT211',
     178        'late_registration': 'Late Course Registration Fee',
    179179        ##'sports': 'Sports Fee',
    180180        ##'library': 'UG Library Fee',
     
    208208        }
    209209
    210     BALANCE_PAYMENT_CATEGORIES = {}
    211 
    212     XXXBALANCE_PAYMENT_CATEGORIES = {
     210    BALANCE_PAYMENT_CATEGORIES = {
    213211        'schoolfee': 'School Fees',
    214212        'clearance': 'Acceptance Fee',
    215213        'hostel_maintenance': 'Hostel Maintenance Fee',
    216214        'late_registration': 'Late Course Registration Fee',
    217         'welfare': 'Student Welfare Assurance Fee',
    218         'union': 'Student Union Dues',
    219         'lapel': 'Lapel/File Fee',
    220         'matric_gown': 'Matriculation Gown Fee',
    221         'id_card': 'Student ID Card',
     215        #'welfare': 'Student Welfare Assurance Fee',
     216        #'union': 'Student Union Dues',
     217        #'lapel': 'Lapel/File Fee',
     218        #'matric_gown': 'Matriculation Gown Fee',
     219        #'id_card': 'Student ID Card',
    222220        'gst_text_book_1': 'Text Book Fee GST101 GST102',
    223221        'gst_text_book_2': 'Text Book Fee GST111 GST112',
     
    232230        'ent_registration_0': 'Registration Fee for ENT201 and ENT211',
    233231        #'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    234         'ict': 'ICT/Affidavit Dues',
     232        #'ict': 'ICT/Affidavit Dues',
    235233        #'affidavit': 'Affidavit Dues',
    236         'restitution': 'Restitution Fee',
     234        #'restitution': 'Restitution Fee',
    237235        }
    238236
Note: See TracChangeset for help on using the changeset viewer.