Ignore:
Timestamp:
1 Sep 2012, 15:16:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Configure school fees. In FCEOkene we can't setup school fees in certificates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/browser/pages.py

    r8460 r9143  
    1818import grok
    1919from waeup.kofa.browser.pages import (
    20     SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
     20    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage,
     21    CertificatePage, CertificateManageFormPage)
     22from waeup.kofa.university.interfaces import ICertificate
    2123from waeup.fceokene.interfaces import (
    2224    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
     
    3133    """
    3234    form_fields = grok.AutoFields(ICustomSessionConfiguration)
     35
     36class CustomCertificatePage(CertificatePage):
     37    """Index page for certificates.
     38    """
     39    form_fields = grok.AutoFields(ICertificate).omit(
     40        'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4')
     41
     42class CustomCertificateManageFormPage(CertificateManageFormPage):
     43    """Manage the properties of a `Certificate` instance.
     44    """
     45    form_fields = grok.AutoFields(ICertificate).omit(
     46        'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4')
Note: See TracChangeset for help on using the changeset viewer.