Changeset 10801 for main/kofacustom.ekodisco
- Timestamp:
- 28 Nov 2013, 13:44:18 (11 years ago)
- Location:
- main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants/applicant.py
r10794 r10801 30 30 grok.provides(ICustomApplicant) 31 31 32 def _setStudyCourseAttributes(self, studycourse): 33 #studycourse.entry_mode = self.course_admitted.study_mode 34 #studycourse.current_level = self.course_admitted.start_level 35 studycourse.certificate = self.course_admitted 36 studycourse.entry_session = self.__parent__.year 37 studycourse.current_session = self.__parent__.year 38 return 39 32 40 # Set all attributes of CustomApplicant required in ICustomApplicant as field 33 41 # properties. Doing this, we do not have to set initial attributes -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants/viewlets.py
r10790 r10801 22 22 StudentCreateActionButton, 23 23 ExportApplicantsActionButton, 24 PDFActionButton 24 25 ) 25 26 26 class ApplicantsRootCreateStudentsActionButton(ApplicantsRootCreateStudentsActionButton):27 target =''27 #class ApplicantsRootCreateStudentsActionButton(ApplicantsRootCreateStudentsActionButton): 28 # target ='' 28 29 29 class ApplicantsContainerCreateStudentsActionButton(ApplicantsContainerCreateStudentsActionButton):30 target =''30 #class ApplicantsContainerCreateStudentsActionButton(ApplicantsContainerCreateStudentsActionButton): 31 # target ='' 31 32 32 class StudentCreateActionButton(StudentCreateActionButton):33 target =''33 #class StudentCreateActionButton(StudentCreateActionButton): 34 # target ='' 34 35 35 36 #class ExportApplicantsActionButton(ExportApplicantsActionButton): … … 38 39 # target = '' 39 40 41 42 class CustomPDFActionButton(PDFActionButton): 43 44 text = 'Download subscriber record slip' 45 46 47 -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants/workflow.py
r10800 r10801 31 31 Transition( 32 32 transition_id = 'init', 33 title = _('Initialize application'),33 title = _('Initialize subscription'), 34 34 source = None, 35 35 condition = NullCondition, 36 msg = _(' Application initialized'),36 msg = _('Subscription initialized'), 37 37 destination = INITIALIZED), 38 38 39 39 Transition( 40 40 transition_id = 'start', 41 title = _('Start application'),42 msg = _(' Application started'),41 title = _('Start subscription'), 42 msg = _('Subscription started'), 43 43 source = INITIALIZED, 44 44 destination = STARTED), … … 46 46 Transition( 47 47 transition_id = 'submit', 48 title = _('Submit application'),49 msg = _(' Application submitted'),48 title = _('Submit subscription'), 49 msg = _('Subscription submitted'), 50 50 source = STARTED, 51 51 destination = SUBMITTED), … … 53 53 Transition( 54 54 transition_id = 'admit', 55 title = _('A dmit applicant'),56 msg = _(' Applicant admitted'),55 title = _('Approve subscription'), 56 msg = _('Subscription approved'), 57 57 source = SUBMITTED, 58 58 destination = ADMITTED), … … 60 60 Transition( 61 61 transition_id = 'refuse1', 62 title = _('Refuse application'),63 msg = _(' Application refused'),62 title = _('Refuse subscription'), 63 msg = _('Subscription refused'), 64 64 source = SUBMITTED, 65 65 destination = NOT_ADMITTED), … … 67 67 Transition( 68 68 transition_id = 'refuse2', 69 title = _('Refuse application'),70 msg = _(' Application refused'),69 title = _('Refuse subscription'), 70 msg = _('Subscription refused'), 71 71 source = ADMITTED, 72 72 destination = NOT_ADMITTED), … … 75 75 transition_id = 'create', 76 76 title = _('Create student record'), 77 msg = _(' Studentrecord created'),77 msg = _('Customer record created'), 78 78 source = ADMITTED, 79 79 destination = CREATED), … … 81 81 Transition( 82 82 transition_id = 'reset1', 83 title = _('Reset application to started'),84 msg = _(' Application reset'),83 title = _('Reset subscription to started'), 84 msg = _('Subscription reset'), 85 85 source = SUBMITTED, 86 86 destination = STARTED), … … 88 88 Transition( 89 89 transition_id = 'reset2', 90 title = _('Reset application to started'),91 msg = _(' Application reset'),90 title = _('Reset subscription to started'), 91 msg = _('Subscription reset'), 92 92 source = ADMITTED, 93 93 destination = STARTED), … … 95 95 Transition( 96 96 transition_id = 'reset3', 97 title = _('Reset application to started'),98 msg = _(' Application reset'),97 title = _('Reset subscription to started'), 98 msg = _('Subscription reset'), 99 99 source = NOT_ADMITTED, 100 100 destination = STARTED), … … 102 102 Transition( 103 103 transition_id = 'reset4', 104 title = _('Reset application to started'),105 msg = _(' Application reset'),104 title = _('Reset subscription to started'), 105 msg = _('Subscription reset'), 106 106 source = CREATED, 107 107 destination = STARTED), … … 109 109 Transition( 110 110 transition_id = 'reset7', 111 title = _('Reset application to admitted'),112 msg = _(' Application reset to admitted'),111 title = _('Reset subscription to admitted'), 112 msg = _('Subscription reset to admitted'), 113 113 source = CREATED, 114 114 destination = ADMITTED),
Note: See TracChangeset for help on using the changeset viewer.