Changeset 9704 for main/kofacustom.nigeria/trunk
- Timestamp:
- 21 Nov 2012, 15:36:28 (12 years ago)
- 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
r9572 r9704 58 58 """ Page to display student base data 59 59 """ 60 form_fields = grok.AutoFields(INigeriaStudentBase).omit('password', 'suspended') 60 form_fields = grok.AutoFields(INigeriaStudentBase).omit( 61 'password', 'suspended', 'suspended_comment') 61 62 62 63 class NigeriaStudentBaseManageFormPage(StudentBaseManageFormPage): … … 115 116 """Deliver a PDF slip of the context. 116 117 """ 117 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'email') 118 omit_fields = ('password', 'suspended', 'suspended_comment', 119 'phone', 'adm_code', 'email') 118 120 119 121 @property … … 160 162 """Deliver a PDF slip of the context. 161 163 """ 162 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex', 'email') 164 omit_fields = ('password', 'suspended', 'suspended_comment', 165 'phone', 'adm_code', 'sex', 'email') 163 166 164 167 class NigeriaOnlinePaymentDisplayFormPage(OnlinePaymentDisplayFormPage): … … 197 200 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 198 201 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 199 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex', 'email') 202 omit_fields = ('password', 'suspended', 'suspended_comment', 'phone', 203 'adm_code', 'sex', 'email') 200 204 201 205 class NigeriaExportPDFBedTicketSlipPage(ExportPDFBedTicketSlipPage): 202 206 """Deliver a PDF slip of the context. 203 207 """ 204 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'email') 208 omit_fields = ('password', 'suspended', 'suspended_comment', 209 'phone', 'adm_code', 'email') 205 210 206 211 class StudentPassportActionButton(StudentPassportActionButton): -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py
r9567 r9704 60 60 'religion,scd_sit_date,scd_sit_fname,scd_sit_no,' 61 61 'scd_sit_results,scd_sit_type,sex,student_id,' 62 'suspended, password,state,history,certcode,is_postgrad,'62 'suspended,suspended_comment,password,state,history,certcode,is_postgrad,' 63 63 'current_level,current_session\r\nmy adm code,,,,' 64 64 '"[(\'visual_art\', \'A1\')]",0,my clr code,1981-02-04#,,,' … … 66 66 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,' 67 67 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,123,,,,,' 68 '"[(\'visual_art\', \'A1\')]",,f,A111111,0,, created,'68 '"[(\'visual_art\', \'A1\')]",,f,A111111,0,,,created,' 69 69 '[u\'2012-11-06 13:16:41 WAT - Record created by system\'],' 70 70 'CERT1,0,200,2012\r\n',
Note: See TracChangeset for help on using the changeset viewer.