- Timestamp:
- 5 Jul 2007, 13:30:57 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1990 r1991 1 3#-*- mode: python; mode: fold -*-1 #-*- mode: python; mode: fold -*- 2 2 # (C) Copyright 2005 The WAeUP group <http://www.waeup.org> 3 3 # Author: Joachim Schmitz (js@aixtraware.de) … … 277 277 if entry_session == self.getSessionId()[-2:]: 278 278 wfaction = 'admit' 279 wft = 'wf_transition_admit ted'279 wft = 'wf_transition_admit' 280 280 password = None 281 281 else: 282 282 wfaction = 'return' 283 wft = 'wf_transition_return ing'283 wft = 'wf_transition_return' 284 284 password = self.generatePassword() 285 285 self.makeStudentMember(sid,password) … … 747 747 {'id': 'application', 748 748 'title': 'Application Data', 749 'wf_transition_return ing': 'close',750 'wf_transition_admit ted': 'remain',749 'wf_transition_return': 'close', 750 'wf_transition_admit': 'remain', 751 751 'fields': 752 752 ('jamb_reg_no', … … 760 760 # {'id': 'pume', 761 761 # 'title': 'Pume Data', 762 # 'wf_transition_return ing': 'close',763 # 'wf_transition_admit ted': 'close',762 # 'wf_transition_return': 'close', 763 # 'wf_transition_admit': 'close', 764 764 # 'fields': 765 765 # ('pume_score', … … 769 769 {'id': 'clearance', 770 770 'title': 'Clearance Data', 771 'wf_transition_return ing': 'close',772 'wf_transition_admit ted': 'remain',771 'wf_transition_return': 'close', 772 'wf_transition_admit': 'remain', 773 773 'fields': 774 774 ('matric_no', … … 781 781 {'id': 'personal', 782 782 'title': 'Personal Data', 783 'wf_transition_return ing': 'open',784 'wf_transition_admit ted': 'remain',783 'wf_transition_return': 'open', 784 'wf_transition_admit': 'remain', 785 785 'fields': 786 786 ('firstname', … … 796 796 {'id': 'study_course', 797 797 'title': 'Study Course', 798 'wf_transition_return ing': 'open',799 'wf_transition_admit ted': 'remain',798 'wf_transition_return': 'open', 799 'wf_transition_admit': 'remain', 800 800 'fields': 801 801 ('study_course', … … 810 810 {'id': 'payments', 811 811 'title': 'Payments', 812 'wf_transition_return ing': 'open',813 'wf_transition_admit ted': 'open',812 'wf_transition_return': 'open', 813 'wf_transition_admit': 'open', 814 814 'fields': 815 815 () … … 937 937 # included only to change wf state from admitted to returning 938 938 if res[0].review_state == 'admitted': 939 new_state = f2t[pt]['wf_transition_return ing']939 new_state = f2t[pt]['wf_transition_return'] 940 940 sub_obj = getattr(student_obj,f2t[pt]['id'],None) 941 941 if sub_obj and new_state != "remain":
Note: See TracChangeset for help on using the changeset viewer.