Changeset 16712


Ignore:
Timestamp:
11 Nov 2021, 14:33:18 (3 years ago)
Author:
Henrik Bettermann
Message:

Customize payment slip.

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

Legend:

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

    r16699 r16712  
    4141    NigeriaExportPDFPaymentSlip,
    4242    NigeriaExportPDFClearanceSlip,
     43    NigeriaExportPDFPaymentSlip,
    4344    )
    4445
     
    9091            letterhead_path=letterhead_path, post_text=self.post_text)
    9192
     93
     94class CustomExportPDFPaymentSlip(NigeriaExportPDFPaymentSlip):
     95    """Deliver a PDF slip of the context.
     96    """
     97    omit_fields = ('password', 'suspended', 'suspended_comment', 'phone',
     98        'adm_code', 'sex', 'email', 'date_of_birth', 'current_level',
     99        'flash_notice', 'certificate', 'faculty', 'parents_email')
     100
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/utils/utils.py

    r16710 r16712  
    2828        'schoolfee_1': 'School Fee (66% - 1st instalment)',
    2929        'secondinstal': 'School Fee (34% - 2nd instalment)',
    30         'clearance': 'Acceptance Fee (not applicable)',
     30        'clearance': 'Acceptance Fee',
    3131        #'bed_allocation': 'Bed Allocation Fee',
    3232        #'hostel_maintenance': 'Hostel Maintenance Fee',
    3333        #'transfer': 'Transfer Fee',
    3434        #'gown': 'Gown Hire Fee',
    35         'application': 'Application Fee (not applicable)',
     35        'application': 'Application Fee',
    3636        #'app_balance': 'Application Fee Balance',
    3737        #'transcript': 'Transcript Fee',
Note: See TracChangeset for help on using the changeset viewer.