- Timestamp:
- 3 Apr 2008, 16:24:18 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/apply_admission.py
r3414 r3416 176 176 if object['status'] and ('submitted' in object['status'] or 'admitted' in object['status'] or 'created' in object['status']): 177 177 submitted = True 178 # cannot happen anymore but anyway 178 # cannot happen anymore but anyway 179 179 if not (create or slip) and (pin != object['pin'] and not context.isSectionOfficer()): 180 180 logger.info('%s/%s entered wrong pin %s' % (member,reg_no,pin)) … … 182 182 183 183 #rerender with current object = application-record 184 185 if slip: 186 mode = "view_slip" 187 logger.info('%s/%s views application slip' % (member,reg_no)) 188 184 189 res,psm,ds = lt.renderLayout(layout_id= layout, 185 190 schema_id= 'import_application', … … 190 195 commit = False, 191 196 ) 197 if slip: 198 return context.apply_admission_slip(rendered = res, 199 psm = "", 200 mode = mode, 201 ds = ds, 202 info = info, 203 ) 204 192 205 if psm == 'invalid': 193 206 return context.apply_admission_form(rendered = res,
Note: See TracChangeset for help on using the changeset viewer.