Ignore:
Timestamp:
3 Aug 2016, 08:28:39 (8 years ago)
Author:
Henrik Bettermann
Message:

Hide bak account data except for PUTME application.

File:
1 edited

Legend:

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

    r14044 r14045  
    9898
    9999OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted',
    100     'result_uploaded', 'suspended', 'special_application')
     100    'result_uploaded', 'suspended', 'special_application',
     101    'bank_account_number',
     102    'bank_account_name',
     103    'bank_name')
    101104
    102105# UG students are all undergraduate students.
     
    126129    'hq_session', 'hq_disc',
    127130    'aggregate', 'jamb_subjects',
    128     'programme_type',
    129     'bank_account_number',
    130     'bank_account_name',
    131     'bank_name')
     131    'programme_type')
    132132CBT_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + CBT_OMIT_FIELDS
    133133CBT_OMIT_MANAGE_FIELDS = CBT_OMIT_FIELDS + ('special_application',)
     
    151151    'hq_degree', 'hq_school',
    152152    'hq_session', 'hq_disc',
    153     'jamb_subjects',
    154     'bank_account_number',
    155     'bank_account_name',
    156     'bank_name')
     153    'jamb_subjects')
    157154AFFIL_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + AFFIL_OMIT_FIELDS
    158155AFFIL_OMIT_MANAGE_FIELDS = AFFIL_OMIT_FIELDS + ('special_application',)
     
    174171    'hq_session', 'hq_disc',
    175172    'jamb_subjects_list', 'programme_type')
    176 PUTME_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUTME_OMIT_FIELDS
     173
     174# temporary solution to display bank account fields only
     175# for PUTME (ase) application
     176
     177#PUTME_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUTME_OMIT_FIELDS
     178PUTME_OMIT_DISPLAY_FIELDS = (
     179    'locked', 'course_admitted', 'result_uploaded',
     180    'suspended', 'special_application') + PUTME_OMIT_FIELDS
     181
    177182PUTME_OMIT_MANAGE_FIELDS = UG_OMIT_MANAGE_FIELDS + PUTME_OMIT_FIELDS
    178183PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + PUTME_OMIT_FIELDS + (
     
    194199    'aggregate',
    195200    'jamb_subjects_list',
    196     'programme_type',
    197     'bank_account_number',
    198     'bank_account_name',
    199     'bank_name')
     201    'programme_type')
    200202PUDE_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUDE_OMIT_FIELDS
    201203PUDE_OMIT_MANAGE_FIELDS = UG_OMIT_MANAGE_FIELDS + PUDE_OMIT_FIELDS
Note: See TracChangeset for help on using the changeset viewer.