Changeset 8254


Ignore:
Timestamp:
22 Apr 2012, 20:19:11 (12 years ago)
Author:
Henrik Bettermann
Message:

We can omit the fields 'surcharge_1', 'surcharge_2', 'surcharge_3', 'ac' on the CustomOnlinePaymentDisplayFormPage? for applicants. Surcharges are no longer displayed on Uniben slips. They are part of the fee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r8247 r8254  
    121121    """
    122122    grok.context(ICustomApplicantOnlinePayment)
    123     form_fields = grok.AutoFields(ICustomApplicantOnlinePayment)
     123    form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit(
     124        'surcharge_1', 'surcharge_2', 'surcharge_3', 'ac')
    124125    form_fields[
    125126        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
Note: See TracChangeset for help on using the changeset viewer.