Ignore:
Timestamp:
10 Feb 2022, 16:43:49 (3 years ago)
Author:
Henrik Bettermann
Message:

Allow students to add balance payment tickets.

Location:
main/kofacustom.edocons/trunk/src/kofacustom/edocons
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/interswitch/browser.py

    r16730 r16796  
    3232
    3333PRODUCT_ID = '22133007' # must be provided by Interswitch
    34 SITE_NAME = 'edocons.waeup.org'
     34SITE_NAME = 'ecns.waeup.org'
    3535PROVIDER_ACCT = '0213065415'
    3636PROVIDER_BANK_ID = '47'
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/browser.py

    r16791 r16796  
    3232    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    3333    ExportPDFAdmissionSlip, StartClearancePage, PaymentsManageFormPage,
    34     msave, emit_lock_message)
     34    BalancePaymentAddFormPage, msave, emit_lock_message)
    3535from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket
    3636from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS
     
    111111        return checkPermission('waeup.manageStudent', self.context)
    112112
     113class CustomBalancePaymentAddFormPage(BalancePaymentAddFormPage):
     114    grok.require('waeup.payStudent')
     115
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/viewlets.py

    r16639 r16796  
    2727    ExportPDFClearanceSlip, StudyCourseDisplayFormPage,
    2828    StudyLevelDisplayFormPage)
     29from waeup.kofa.students.viewlets import (
     30    AddPreviousPaymentActionButton, AddBalancePaymentActionButton,
     31    StudentPersonalEditActionButton)
    2932
    3033from kofacustom.nigeria.interfaces import MessageFactory as _
     34
     35class AddBalancePaymentActionButton(AddBalancePaymentActionButton):
     36    grok.require('waeup.payStudent')
Note: See TracChangeset for help on using the changeset viewer.