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

Customize balance (donation) payments.

Location:
main/kofacustom.lpng/trunk/src/kofacustom/lpng
Files:
4 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)
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/locales/en/LC_MESSAGES/waeup.kofa.po

    r17012 r17019  
    9191msgstr "Pay membership fee"
    9292
     93msgid "Add balance payment ticket"
     94msgstr "Make donation"
     95
     96msgid "Add balance"
     97msgstr "Make donation"
     98
    9399msgid ""
    94100"I confirm that the Passport Photograph uploaded on this form is a true "
Note: See TracChangeset for help on using the changeset viewer.