Changeset 1317 for WAeUP_SRP/trunk


Ignore:
Timestamp:
17 Jan 2007, 21:28:09 (18 years ago)
Author:
Henrik Bettermann
Message:

getSessionResults fixed
getTransferInfo fixed
first transfer form added

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py

    r1315 r1317  
    1919returning = context.returning_import
    2020results = context.results_import
     21scatalog = context.students_catalog
    2122
    2223mtool = context.portal_membership
     
    4849##    return None
    4950
    50 res = returning(matric_no = value)
     51res = scatalog(id = student_id)
     52matric_no = res[0].matric_no
     53
     54res = returning(matric_no = matric_no)
    5155student = res[0]
    52 res = results(matric_no = value)
     56res = results(matric_no = matric_no)
    5357results = res
    5458
  • WAeUP_SRP/trunk/skins/waeup_student/getTransferInfo.py

    r1313 r1317  
    4747info['student'] = context.getFormattedStudentEntry(sbrain)
    4848info['entry_mode'] = sbrain.entry_mode
    49 results = context.results_import(matric_no=matric_no)
     49results = context.results_import(matric_no=sbrain.matric_no)
    5050taken = []
    5151if len(results) > 0:
Note: See TracChangeset for help on using the changeset viewer.