Changeset 13712 for main


Ignore:
Timestamp:
18 Feb 2016, 12:17:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Hide flash_message on slips.

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

Legend:

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

    r13642 r13712  
    6464    """
    6565    form_fields = grok.AutoFields(INigeriaStudentBase).omit(
    66         'password', 'suspended', 'suspended_comment')
     66        'password', 'suspended', 'suspended_comment', 'flash_notice')
    6767    form_fields[
    6868        'financial_clearance_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    125125    """
    126126    omit_fields = ('password', 'suspended', 'suspended_comment',
    127         'phone', 'adm_code', 'email', 'date_of_birth', 'current_level')
     127        'phone', 'adm_code', 'email', 'date_of_birth', 'current_level',
     128        'flash_notice')
    128129
    129130    @property
     
    173174    """
    174175    omit_fields = ('password', 'suspended', 'suspended_comment',
    175         'phone', 'adm_code', 'sex', 'email', 'date_of_birth', 'current_level')
     176        'phone', 'adm_code', 'sex', 'email', 'date_of_birth', 'current_level',
     177        'flash_notice')
    176178
    177179class NigeriaOnlinePaymentDisplayFormPage(OnlinePaymentDisplayFormPage):
     
    213215    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    214216    omit_fields = ('password', 'suspended', 'suspended_comment', 'phone',
    215         'adm_code', 'sex', 'email', 'date_of_birth', 'current_level')
     217        'adm_code', 'sex', 'email', 'date_of_birth', 'current_level',
     218        'flash_notice')
    216219
    217220class NigeriaAccommodationManageFormPage(AccommodationManageFormPage):
     
    225228    """
    226229    omit_fields = ('password', 'suspended', 'suspended_comment',
    227         'phone', 'adm_code', 'email', 'date_of_birth', 'current_level')
     230        'phone', 'adm_code', 'email', 'date_of_birth', 'current_level',
     231        'flash_notice')
    228232
    229233class StudentPassportActionButton(StudentPassportActionButton):
     
    339343        'suspended', 'phone',
    340344        'adm_code', 'suspended_comment',
    341         'date_of_birth', 'current_level')
     345        'date_of_birth', 'current_level',
     346        'flash_notice')
    342347
    343348    form_fields = None
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r13620 r13712  
    7070            'emp_reason,emp_start,employer,employer2,'
    7171            'financial_clearance_date,financially_cleared_by,'
    72             'firstname,former_matric,'
     72            'firstname,flash_notice,former_matric,'
    7373            'fst_sit_date,fst_sit_fname,fst_sit_no,fst_sit_results,'
    7474            'fst_sit_type,hq2_degree,hq2_disc,hq2_matric_no,hq2_school,'
     
    8484            'current_level,current_session\r\nmy adm code,,,,'
    8585            '"[(\'accounts\', \'A\')]",my clr code,1981-02-04#,,,'
    86             'anna@sample.com,,,,,,,,,,,,,Anna,,,,,"[(\'accounts\', \'A\')]"'
     86            'anna@sample.com,,,,,,,,,,,,,Anna,,,,,,"[(\'accounts\', \'A\')]"'
    8787            ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,'
    8888            '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.