Ignore:
Timestamp:
10 Jul 2022, 12:43:32 (3 years ago)
Author:
Henrik Bettermann
Message:

Customize balance (donation) payments.

Location:
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser.py

    r17013 r17019  
    2525    ApplicantDisplayFormPage,
    2626    ApplicantManageFormPage,
    27     ApplicantEditFormPage)
     27    ApplicantEditFormPage,
     28    BalancePaymentAddFormPage)
    2829
    2930from kofacustom.lpng.applicants.interfaces import (
     
    8687        form_fields['reg_number'].for_display = True
    8788        return form_fields
     89       
     90class CustomBalancePaymentAddFormPage(BalancePaymentAddFormPage):
     91    """ Page to add an online payment which can balance s previous session
     92    payment.
     93    """
     94    grok.require('waeup.payApplicant')
    8895
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/utils.py

    r16997 r17019  
    2121from kofacustom.nigeria.applicants.utils import NigeriaApplicantsUtils
    2222from waeup.kofa.applicants.workflow import (INITIALIZED,
    23     STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED)
     23    STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED, PROCESSED)
    2424from kofacustom.lpng.interfaces import MessageFactory as _
    2525
     
    3434      #'special': ['Special Application', 'SPE'],
    3535      }
     36     
     37    BALANCE_PAYMENT_STATES = (STARTED, PAID, ADMITTED, SUBMITTED, PROCESSED)
Note: See TracChangeset for help on using the changeset viewer.