Changeset 13100 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 25 Jun 2015, 12:41:57 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r13099 r13100 995 995 def display_actions(self): 996 996 state = IWorkflowState(self.context).getState() 997 actions = [[],[]] 997 # If the form is unlocked, applicants are allowed to save the form 998 # and remove unused tickets. 999 actions = [[_('Save')], [_('Remove selected tickets')]] 1000 # Only in state started they can also add tickets. 998 1001 if state == STARTED: 999 1002 actions = [[_('Save')], 1000 1003 [_('Add online payment ticket'),_('Remove selected tickets')]] 1004 # In state paid, they can submit the data and further add tickets 1005 # if the application is special. 1001 1006 elif self.context.special and state == PAID: 1002 1007 actions = [[_('Save'), _('Finally Submit')], … … 1008 1013 1009 1014 def unremovable(self, ticket): 1010 state = IWorkflowState(self.context).getState() 1011 return ticket.r_code or state in (INITIALIZED, SUBMITTED) 1015 return ticket.r_code 1012 1016 1013 1017 def emit_lock_message(self): -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/sample_student_data.csv
r12811 r13100 1 1 student_id,firstname,lastname,reg_number,date_of_birth,matric_number,email,phone,sex,state 2 X666666,Aaren,Pieri,1,1990-01-02,100000, aa@aa.ng,1234,M,courses validated2 X666666,Aaren,Pieri,1,1990-01-02,100000,,1234,M,courses validated 3 3 Y777777,Claus,Finau,2,1990-01-03,100001,aa@aa.ng,1234,m,courses validated 4 4 ,Susann,Berson,3,1990-01-04,100002,aa@aa.ng,1234,F,courses validated
Note: See TracChangeset for help on using the changeset viewer.