Ignore:
Timestamp:
6 Dec 2012, 08:42:16 (12 years ago)
Author:
Henrik Bettermann
Message:

Store provider_amt and gateway_amt when opening goto_interswitch pages.

Both fileds must be invisible on display pages and pdf slips.

File:
1 edited

Legend:

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

    r9688 r9775  
    7070    """
    7171    grok.context(ICustomStudentOnlinePayment)
    72     form_fields = grok.AutoFields(ICustomStudentOnlinePayment)
     72    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
     73        'provider_amt', 'gateway_amt', 'thirdparty_amt')
    7374    form_fields[
    7475        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    106107    """
    107108    grok.context(ICustomStudentOnlinePayment)
    108     form_fields = grok.AutoFields(ICustomStudentOnlinePayment)
     109    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
     110        'provider_amt', 'gateway_amt', 'thirdparty_amt')
    109111    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    110112    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
Note: See TracChangeset for help on using the changeset viewer.