Changeset 5101


Ignore:
Timestamp:
31 Mar 2010, 13:16:04 (15 years ago)
Author:
Henrik Bettermann
Message:

see ticket #651

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/uniben/vocabularies/pin_prefixes.xml

    r5065 r5101  
    4141  <item key="MGS" msgid="">Management Sciences</item>
    4242  <item key="BSC" msgid="">Bachelor in Computer Science</item>
    43   <item key="FRN" msgid="">Foreign Returning Students</item>
     43  <item key="FRNART" msgid="">Art related programmes (Foreign Students)</item>
     44  <item key="FRNSCI" msgid="">Science related programmes (Foreign Students)</item>
    4445
    4546  <item key="AGRNEW" msgid="">Agriculture (New Students)</item>
     
    5758  <item key="MGSNEW" msgid="">Management Sciences (New Students)</item>
    5859  <item key="BSCNEW" msgid="">Bachelor in Computer Science (New Students)</item>
    59   <item key="FRNNEW" msgid="">Foreign New Students</item>
     60  <item key="FRNARTNEW" msgid="">Art related programmes (New Foreign Students)</item>
     61  <item key="FRNSCINEW" msgid="">Science related programmes (New Foreign Students)</item>
    6062 
    6163
  • WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFeePrefix.py

    r5062 r5101  
    9090            "DHT",
    9191            )
     92           
     93FRNART_FACULTY = (
     94            "ART",
     95            "LAW",
     96            "SSC",
     97            "MGS",
     98            )           
     99
     100FRNSCI_FACULTY = (
     101            "ENG",
     102            "LSC",
     103            "PSC",
     104            "BMS",
     105            "MED",
     106            "DEN",
     107            "PHA",
     108            "AGR",
     109            )           
     110
    92111
    93112if student_record.lga == 'foreigner':
    94113    if student_record.course in FRNART:
    95          prefix == 'FRNART'
     114         prefix = 'FRNART'
    96115    elif student_record.course in FRNSCI:
    97          prefix == 'FRNSCI'
     116         prefix = 'FRNSCI'
     117    elif student_record.faculty in FRNART_FACULTY:       
     118         prefix = 'FRNART'
     119    elif student_record.faculty in FRNSCI_FACULTY:
     120         prefix = 'FRNSCI'
    98121    else:
    99122        logger.info('%s, foreign student course %s not categorized' % (student_id,student_record.faculty))
Note: See TracChangeset for help on using the changeset viewer.