Ignore:
Timestamp:
19 Jun 2023, 10:42:24 (15 months ago)
Author:
Henrik Bettermann
Message:

Sort items (tuition first)

File:
1 edited

Legend:

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

    r17437 r17439  
    8080    'acceptance': 'Acceptance Fee',
    8181    'matricgown': 'Matriculation Gown Fee',
    82     'lapel':      'File-Lapel Fee',
     82    'lapel':      'File/Lapel Fee',
    8383    'lmsplus':    'LMS Plus Fee',
    8484    'nuga':       'NUGA Fee',
     
    258258<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">""" % xmldict
    259259                item_id = 1
    260                 for item in SCHOOLFEES[student.certcode].items():
     260                sorted_items = SCHOOLFEES[student.certcode].items()
     261                sorted_items.insert(0, sorted_items.pop(4))
     262                for item in sorted_items:
    261263                    try:
    262264                        item_amt = 100 * int(item[1])
Note: See TracChangeset for help on using the changeset viewer.