Ignore:
Timestamp:
24 Nov 2021, 06:52:16 (3 years ago)
Author:
Henrik Bettermann
Message:

Disable payment ticket deletion option for applicants and students.

File:
1 edited

Legend:

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

    r16717 r16718  
    2323from kofacustom.nigeria.applicants.browser import (
    2424    NigeriaApplicantDisplayFormPage,
     25    NigeriaApplicantManageFormPage,
     26    NigeriaApplicantEditFormPage,
    2527    NigeriaPDFApplicationSlip)
     28
     29from kofacustom.nigeria.applicants.interfaces import (
     30    INigeriaPGApplicant, INigeriaUGApplicant,
     31    INigeriaPGApplicantEdit, INigeriaUGApplicantEdit,
     32    INigeriaApplicantOnlinePayment,
     33    UG_OMIT_DISPLAY_FIELDS,
     34    UG_OMIT_PDF_FIELDS,
     35    UG_OMIT_MANAGE_FIELDS,
     36    UG_OMIT_EDIT_FIELDS,
     37    PG_OMIT_DISPLAY_FIELDS,
     38    PG_OMIT_PDF_FIELDS,
     39    PG_OMIT_MANAGE_FIELDS,
     40    PG_OMIT_EDIT_FIELDS,
     41    )
     42from kofacustom.skeleton.applicants.interfaces import (
     43    ICustomPGApplicant, ICustomUGApplicant, ICustomApplicant,
     44    ICustomPGApplicantEdit, ICustomUGApplicantEdit,
     45    ICustomApplicantOnlinePayment,
     46    )
    2647
    2748from kofacustom.skeleton.interfaces import MessageFactory as _
    2849
     50class CustomApplicantEditFormPage(NigeriaApplicantEditFormPage):
     51    """An applicant-centered edit view for applicant data.
     52    """
     53
     54    def unremovable(self, ticket):
     55        return True
     56
Note: See TracChangeset for help on using the changeset viewer.