Changeset 9985


Ignore:
Timestamp:
24 Feb 2013, 08:48:03 (12 years ago)
Author:
Henrik Bettermann
Message:

Adjustments to be made in kofacustom.nigeria.

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

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py

    r9482 r9985  
    218218    """
    219219    grok.context(INigeriaApplicantOnlinePayment)
    220     form_fields = grok.AutoFields(INigeriaApplicantOnlinePayment).omit('ac')
     220    form_fields = grok.AutoFields(INigeriaApplicantOnlinePayment).omit('ac',
     221        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    221222    form_fields[
    222223        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    228229    """
    229230    grok.context(INigeriaApplicantOnlinePayment)
    230     form_fields = grok.AutoFields(INigeriaApplicantOnlinePayment).omit('ac')
     231    form_fields = grok.AutoFields(INigeriaApplicantOnlinePayment).omit(
     232        'ac', 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    231233    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    232234    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r9774 r9985  
    170170    grok.context(INigeriaStudentOnlinePayment)
    171171    form_fields = grok.AutoFields(INigeriaStudentOnlinePayment).omit(
    172         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     172        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    173173    form_fields[
    174174        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    199199    grok.context(INigeriaStudentOnlinePayment)
    200200    form_fields = grok.AutoFields(INigeriaStudentOnlinePayment).omit(
    201         'provider_amt', 'gateway_amt', 'thirdparty_amt')
     201        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
    202202    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    203203    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
Note: See TracChangeset for help on using the changeset viewer.