- Timestamp:
- 18 Feb 2016, 12:17:08 (9 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
r13642 r13712 64 64 """ 65 65 form_fields = grok.AutoFields(INigeriaStudentBase).omit( 66 'password', 'suspended', 'suspended_comment' )66 'password', 'suspended', 'suspended_comment', 'flash_notice') 67 67 form_fields[ 68 68 'financial_clearance_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 125 125 """ 126 126 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') 128 129 129 130 @property … … 173 174 """ 174 175 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') 176 178 177 179 class NigeriaOnlinePaymentDisplayFormPage(OnlinePaymentDisplayFormPage): … … 213 215 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 214 216 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') 216 219 217 220 class NigeriaAccommodationManageFormPage(AccommodationManageFormPage): … … 225 228 """ 226 229 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') 228 232 229 233 class StudentPassportActionButton(StudentPassportActionButton): … … 339 343 'suspended', 'phone', 340 344 'adm_code', 'suspended_comment', 341 'date_of_birth', 'current_level') 345 'date_of_birth', 'current_level', 346 'flash_notice') 342 347 343 348 form_fields = None -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py
r13620 r13712 70 70 'emp_reason,emp_start,employer,employer2,' 71 71 'financial_clearance_date,financially_cleared_by,' 72 'firstname,f ormer_matric,'72 'firstname,flash_notice,former_matric,' 73 73 'fst_sit_date,fst_sit_fname,fst_sit_no,fst_sit_results,' 74 74 'fst_sit_type,hq2_degree,hq2_disc,hq2_matric_no,hq2_school,' … … 84 84 'current_level,current_session\r\nmy adm code,,,,' 85 85 '"[(\'accounts\', \'A\')]",my clr code,1981-02-04#,,,' 86 'anna@sample.com,,,,,,,,,,,,,Anna,,,,, "[(\'accounts\', \'A\')]"'86 'anna@sample.com,,,,,,,,,,,,,Anna,,,,,,"[(\'accounts\', \'A\')]"' 87 87 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,' 88 88 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.