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

Add function to write csv 'messages' into payments.log. The helper function is tested in custom packages.

Add payment attributes which store split amount values.

File:
1 edited

Legend:

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

    r9704 r9774  
    169169    """
    170170    grok.context(INigeriaStudentOnlinePayment)
    171     form_fields = grok.AutoFields(INigeriaStudentOnlinePayment)
     171    form_fields = grok.AutoFields(INigeriaStudentOnlinePayment).omit(
     172        'provider_amt', 'gateway_amt', 'thirdparty_amt')
    172173    form_fields[
    173174        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    197198    """
    198199    grok.context(INigeriaStudentOnlinePayment)
    199     form_fields = grok.AutoFields(INigeriaStudentOnlinePayment)
     200    form_fields = grok.AutoFields(INigeriaStudentOnlinePayment).omit(
     201        'provider_amt', 'gateway_amt', 'thirdparty_amt')
    200202    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    201203    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
Note: See TracChangeset for help on using the changeset viewer.