- Timestamp:
- 26 Apr 2015, 12:50:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/browser.py
r12885 r12887 31 31 32 32 from kofacustom.nigeria.applicants.interfaces import ( 33 UG_OMIT_DISPLAY_FIELDS, 34 UG_OMIT_PDF_FIELDS, 35 UG_OMIT_MANAGE_FIELDS, 36 UG_OMIT_EDIT_FIELDS, 37 PUTME_OMIT_DISPLAY_FIELDS, 38 PUTME_OMIT_PDF_FIELDS, 39 PUTME_OMIT_MANAGE_FIELDS, 40 PUTME_OMIT_EDIT_FIELDS, 41 PUTME_OMIT_RESULT_SLIP_FIELDS, 42 PUDE_OMIT_DISPLAY_FIELDS, 43 PUDE_OMIT_PDF_FIELDS, 44 PUDE_OMIT_MANAGE_FIELDS, 45 PUDE_OMIT_EDIT_FIELDS, 46 PUDE_OMIT_RESULT_SLIP_FIELDS, 33 OMIT_DISPLAY_FIELDS, 34 #UG_OMIT_DISPLAY_FIELDS, 35 #UG_OMIT_PDF_FIELDS, 36 #UG_OMIT_MANAGE_FIELDS, 37 #UG_OMIT_EDIT_FIELDS, 38 #PUTME_OMIT_DISPLAY_FIELDS, 39 #PUTME_OMIT_PDF_FIELDS, 40 #PUTME_OMIT_MANAGE_FIELDS, 41 #PUTME_OMIT_EDIT_FIELDS, 42 #PUTME_OMIT_RESULT_SLIP_FIELDS, 43 #PUDE_OMIT_DISPLAY_FIELDS, 44 #PUDE_OMIT_PDF_FIELDS, 45 #PUDE_OMIT_MANAGE_FIELDS, 46 #PUDE_OMIT_EDIT_FIELDS, 47 #PUDE_OMIT_RESULT_SLIP_FIELDS, 47 48 ) 48 49 … … 54 55 55 56 from kofacustom.wdu.interfaces import MessageFactory as _ 57 58 59 # UG students are all undergraduate students. 60 UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS 61 UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',) 62 UG_OMIT_MANAGE_FIELDS = ('special_application',) 63 UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + ( 64 'student_id', 'notice', 65 'screening_score', 66 'screening_venue', 67 'screening_date', 68 #'jamb_age', 69 #'jamb_subjects', 70 #'jamb_score', 71 'aggregate') 72 73 # PUTME is a subgroup of UG with the same interface. 74 PUTME_OMIT_FIELDS = ( 75 'hq_type', 76 'hq_matric_no', 77 'hq_degree', 78 'hq_school', 79 'hq_session', 80 'hq_disc', 81 ) 82 PUTME_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUTME_OMIT_FIELDS 83 PUTME_OMIT_MANAGE_FIELDS = UG_OMIT_MANAGE_FIELDS + PUTME_OMIT_FIELDS 84 PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + PUTME_OMIT_FIELDS + ( 85 #'firstname', 86 #'middlename', 87 #'lastname', 88 #'sex', 89 #'course1', 90 #'lga' 91 ) 92 PUTME_OMIT_PDF_FIELDS = PUTME_OMIT_DISPLAY_FIELDS + ('phone',) 93 PUTME_OMIT_RESULT_SLIP_FIELDS = PUTME_OMIT_DISPLAY_FIELDS + ( 94 'phone', 95 'date_of_birth', 'sex', 96 'nationality', 'lga', #'perm_address', 97 'course2', 'screening_venue', 98 'screening_date') 99 100 # PUDE is a subgroup of UG with the same interface. 101 PUDE_OMIT_FIELDS = ( 102 'jamb_subjects', 103 'jamb_score', 104 'jamb_age', 105 'aggregate') 106 PUDE_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUDE_OMIT_FIELDS 107 PUDE_OMIT_MANAGE_FIELDS = UG_OMIT_MANAGE_FIELDS + PUDE_OMIT_FIELDS 108 PUDE_OMIT_EDIT_FIELDS = set(UG_OMIT_EDIT_FIELDS + PUDE_OMIT_FIELDS + ( 109 #'firstname', 110 #'middlename', 111 #'lastname', 112 #'sex', 113 #'course1', 114 #'lga' 115 )) 116 PUDE_OMIT_PDF_FIELDS = PUDE_OMIT_DISPLAY_FIELDS + ('phone',) 117 PUDE_OMIT_RESULT_SLIP_FIELDS = PUDE_OMIT_DISPLAY_FIELDS + ( 118 'phone', 119 'date_of_birth', 'sex', 120 'nationality', 'lga', #'perm_address', 121 'course2', 'screening_venue', 122 'screening_date') 56 123 57 124
Note: See TracChangeset for help on using the changeset viewer.