- Timestamp:
- 29 Nov 2013, 09:22:16 (11 years ago)
- Location:
- main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/browser.py
r10809 r10812 31 31 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 32 32 msave, emit_lock_message, StudyCourseDisplayFormPage, 33 StudyCourseManageFormPage) 33 StudyCourseManageFormPage, 34 ExportPDFPaymentSlipPage, 35 ) 34 36 from waeup.kofa.students.interfaces import ( 35 37 IStudentsUtils, ICourseTicket) … … 72 74 73 75 74 75 76 77 78 76 class CustomStudyCourseDisplayFormPage(StudyCourseDisplayFormPage): 79 77 """ Page to display the student study course data … … 96 94 'certificate', 'entry_session', 'current_session', 97 95 'service_address') 96 97 class CustomExportPDFPaymentSlipPage(ExportPDFPaymentSlipPage): 98 """Deliver a PDF slip of the context. 99 """ 100 omit_fields = ( 101 'password', 'suspended', 'phone', 'date_of_birth', 102 'adm_code', 'sex', 'suspended_comment', 'current_mode') -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/viewlets.py
r10804 r10812 19 19 from waeup.kofa.students.viewlets import ( 20 20 StudentsTab, AdmissionSlipActionButton, StudentManageClearanceLink, 21 StudentManagePersonalLink, StudentManageAccommodationLink) 21 StudentManagePersonalLink, StudentManageAccommodationLink, 22 AddBalancePaymentActionButton, 23 AddPreviousPaymentActionButton) 22 24 23 25 from kofacustom.ekodisco.interfaces import MessageFactory as _ … … 42 44 class CustomStudentManageAccommodationLink(StudentManageAccommodationLink): 43 45 link = '' 46 47 class CustomAddBalancePaymentActionButton(AddBalancePaymentActionButton): 48 target = '' 49 50 class CustomAddPreviousPaymentActionButton(AddPreviousPaymentActionButton): 51 target = '' -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/workflow.py
r10806 r10812 30 30 msg = _('Contract approved'), 31 31 source = CREATED, 32 destination = ADMITTED),32 destination = CLEARED), 33 33 34 34 Transition( … … 36 36 title = _('Reset customer to initial state'), 37 37 msg = _('Reset to initial state'), 38 source = ADMITTED,38 source = CLEARED, 39 39 destination = CREATED), 40 40 41 41 Transition( 42 transition_id = 'pay_ meter_fee',43 title = _('Pay meter fee'),44 msg = _(' Meter fee paid'),45 source = ADMITTED,42 transition_id = 'pay_first_school_fee', 43 title = _('Pay first meter fee'), 44 msg = _('First meter fee payment made'), 45 source = CLEARED, 46 46 destination = PAID), 47 47 48 48 Transition( 49 transition_id = 'approve_meter_fee_payment', 49 transition_id = 'approve_first_school_fee', 50 title = _('Approve first meter payment'), 51 msg = _('First meter fee payment approved'), 52 source = CLEARED, 53 destination = PAID), 54 55 # The pg fee payment has proper handlers which suit 56 # customer payments. 57 58 Transition( 59 transition_id = 'pay_pg_fee', 60 title = _('Pay meter fee'), 61 msg = _('Meter fee paid'), 62 source = PAID, 63 destination = PAID), 64 65 Transition( 66 transition_id = 'approve_pg_fee', 50 67 title = _('Approve meter fee payment'), 51 68 msg = _('Meter fee payment approved'), 52 source = ADMITTED,69 source = PAID, 53 70 destination = PAID), 54 71 … … 58 75 msg = _("Reset to state 'contract approved'"), 59 76 source = PAID, 60 destination = ADMITTED),77 destination = CLEARED), 61 78 ) 62 79
Note: See TracChangeset for help on using the changeset viewer.