Changeset 1424 for WAeUP_SRP/trunk/skins
- Timestamp:
- 15 Feb 2007, 15:29:55 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py
r1417 r1424 58 58 department = c_path[-3], 59 59 ) 60 elif context.portal_type == "StudentApplication": 61 entry_mode = ds.get('entry_mode') 62 student_id = context.getStudentId() 63 context.students_catalog.modifyRecord(id = student_id, 64 entry_mode = entry_mode, 65 ) 66 elif context.portal_type == "StudentClearance": 67 matric_no = ds.get('matric_no') 68 student_id = context.getStudentId() 69 context.students_catalog.modifyRecord(id = student_id, 70 matric_no = matric_no, 71 ) 60 72 elif context.portal_type in ("StudentPersonal",): 61 73 name = "%(firstname)s %(middlename)s %(lastname)s" % ds 62 74 name = name.strip() 63 75 name = name.replace(' ',' ') 76 email = ds.get('email') 77 phone = ds.get('phone') 64 78 student_id = context.getStudentId() 65 79 app_doc = context.application.getContent() … … 72 86 context.students_catalog.modifyRecord(id = student_id, 73 87 name = name, 88 email = email, 89 phone = phone, 74 90 sex = ds.get('sex'), 75 91 )
Note: See TracChangeset for help on using the changeset viewer.