Ignore:
Timestamp:
19 Jun 2023, 06:51:53 (15 months ago)
Author:
Henrik Bettermann
Message:

Rename Fees.

File:
1 edited

Legend:

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

    r17434 r17437  
    5656
    5757BANK_ACCOUNTS = {
    58     'edohis':   ('1222577132', '117', 'Edo State Health Insurance'),
    59     'union':    ('1019763348', '7', 'Student Union'),
    60     'sport':    ('1021941220', '7', 'Sport Development'),
    61     'access':   ('1012688013', '123', 'Access Card'),
    62     'notebook': ('4011210501', '51', 'Branded Notebook'),
    63     'library':  ('2000122995', '8', 'Library Development'),
    64     'fac1':     ('1022438743', '7', 'Faculty Fee'),
    65     'fac2':     ('2000249757', '8', 'Faculty Fee'),
    66     'fac3':     ('1012678566', '123', 'Faculty Fee'),
    67     'acceptance': ('2000249757', '8', 'Acceptance Fee'),
    68     'matricgown': ('2000249757', '8', 'Matriculation Gown Fee'),
    69     'lapel':      ('2000249757', '8', 'Lapel Fee'),
     58    'edohis':   ('1222577132', '117'),
     59    'union':    ('1019763348', '7'),
     60    'sport':    ('1021941220', '7'),
     61    'access':   ('1012688013', '123'),
     62    'notebook': ('4011210501', '51'),
     63    'library':  ('2000122995', '8'),
     64    'fac1':     ('1022438743', '7'),
     65    'fac2':     ('2000249757', '8'),
     66    'fac3':     ('1012678566', '123'),
     67    'acceptance': ('2000249757', '8'),
     68    'matricgown': ('2000249757', '8'),
     69    'lapel':      ('2000249757', '8'),
     70    }
     71
     72FEE_NAMES = {
     73    'edohis':     'Edo State Health Insurance Scheme',
     74    'union':      'Student Union Dues',
     75    'sport':      'Sport Development Fee',
     76    'access':     'Access Card Fee',
     77    'notebook':   'Branded Notebook',
     78    'library':    'Library Development Fee',
     79    'tuition':    'Tuition',
     80    'acceptance': 'Acceptance Fee',
     81    'matricgown': 'Matriculation Gown Fee',
     82    'lapel':      'File-Lapel Fee',
     83    'lmsplus':    'LMS Plus Fee',
     84    'nuga':       'NUGA Fee',
    7085    }
    7186
     
    263278                        acct_num = bank[0]
    264279                        bank_id = bank[1]
    265                         item_name = "%s (%s)" % (bank[2], item[0])
     280                        item_name = FEE_NAMES[item[0]]
    266281                        xmltext += """
    267282<item_detail item_id="%s" item_name="%s" item_amt="%d" bank_id="%s" acct_num="%s" />""" % (item_id, item_name, item_amt, bank_id, acct_num)
     
    300315                        acct_num = bank[0]
    301316                        bank_id = bank[1]
    302                         item_name = "%s (%s)" % (bank[2], item[0])
     317                        item_name = FEE_NAMES[item[0]]
    303318                        xmltext += """
    304319<item_detail item_id="%s" item_name="%s" item_amt="%d" bank_id="%s" acct_num="%s" />""" % (item_id, item_name, item_amt, bank_id, acct_num)
Note: See TracChangeset for help on using the changeset viewer.