Changeset 2162 for WAeUP_SRP/trunk/skins
- Timestamp:
- 24 Aug 2007, 20:43:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py
r2161 r2162 62 62 if not object['passport']: 63 63 object['passport'] = '' 64 if 'submitted' in object['status']:64 if object['status'] and 'submitted' in object['status']: 65 65 submitted = True 66 66 if not create and (pin != object['pin'] and not context.isSectionOfficer()): … … 137 137 logger.info('%s/%s modified and submitted application record' % (member,reg_no)) 138 138 elif object['status'] == 'reset': 139 data['status'] = 'resubmitted on %s' % DateTime.DateTime().strftime('%A, %B %d, %Y') 140 logger.info('%s/%s modified and resubmitted application record' % (member,reg_no)) 141 object['status'] = data['status'] 139 data['status'] = 'resubmitted on %s' % DateTime.DateTime().strftime('%A, %B %d, %Y') 140 logger.info('%s/%s modified and resubmitted application record' % (member,reg_no)) 141 object['status'] = data['status'] 142 142 context.applicants_catalog.modifyRecord(**data) 143 143 144 144 res,psm_dummy,ds = lt.renderLayout(layout_id= 'application', 145 145 schema_id= 'application',
Note: See TracChangeset for help on using the changeset viewer.