Ignore:
Timestamp:
23 May 2018, 05:45:13 (6 years ago)
Author:
Henrik Bettermann
Message:

Further customize payment components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/browser/pages.py

    r15000 r15015  
    3434    form_fields = grok.AutoFields(ICustomSessionConfiguration)
    3535
     36class CustomCertificatePage(CertificatePage):
     37    """Index page for certificates.
     38    """
     39    form_fields = grok.AutoFields(ICertificate).omit(
     40        'school_fee_2', 'school_fee_3', 'school_fee_4', 'ratio',
     41        'custom_textline_1', 'custom_textline_2',
     42        'custom_float_1', 'custom_float_2')
     43
     44class CustomCertificateManageFormPage(CertificateManageFormPage):
     45    """Manage the properties of a `Certificate` instance.
     46    """
     47    form_fields = grok.AutoFields(ICertificate).omit(
     48        'school_fee_2', 'school_fee_3', 'school_fee_4', 'ratio',
     49        'custom_textline_1', 'custom_textline_2',
     50        'custom_float_1', 'custom_float_2')
Note: See TracChangeset for help on using the changeset viewer.