- Timestamp:
- 11 May 2020, 07:50:40 (5 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r15975 r16088 75 75 form_fields = grok.AutoFields(ICustomStudentBase).omit( 76 76 'password', 'suspended', 'suspended_comment', 77 'flash_notice', 'provisionally_cleared' )77 'flash_notice', 'provisionally_cleared', 'parents_email') 78 78 form_fields[ 79 79 'financial_clearance_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 80 80 81 #class CustomStudentBaseManageFormPage(NigeriaStudentBaseManageFormPage): 82 # """ View to manage student base data 83 # """ 84 # form_fields = grok.AutoFields(ICustomStudentBase).omit( 85 # 'student_id', 'adm_code', 'suspended', 86 # 'financially_cleared_by', 'financial_clearance_date') 81 class CustomStudentBaseManageFormPage(NigeriaStudentBaseManageFormPage): 82 """ View to manage student base data 83 """ 84 form_fields = grok.AutoFields(ICustomStudentBase).omit( 85 'student_id', 'adm_code', 'suspended', 86 'financially_cleared_by', 'financial_clearance_date', 87 'parents_email') 87 88 88 89 class CustomOnlinePaymentDisplayFormPage(NigeriaOnlinePaymentDisplayFormPage): -
main/waeup.uniben/trunk/src/waeup/uniben/students/interfaces.py
r15371 r16088 39 39 required = False, 40 40 ) 41 42 email2 = schema.ASCIILine( 43 title = _(u'Institution Email'), 44 required = False, 45 constraint=validate_email, 46 ) 47 48 ICustomStudentBase['email2'].order = ICustomStudentBase[ 49 'phone'].order 50 ICustomStudentBase['phone'].order = ICustomStudentBase[ 51 'email'].order 41 52 42 53 class ICustomStudentPersonal(INigeriaStudentPersonal): -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py
r15828 r16088 48 48 self.assertMatches( 49 49 'adm_code,alr_date,alr_fname,alr_no,alr_results,' 50 'clr_code,date_of_birth,def_adm,disabled,email,em p2_end,'50 'clr_code,date_of_birth,def_adm,disabled,email,email2,emp2_end,' 51 51 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' 52 52 'emp_reason,emp_start,employer,employer2,' … … 67 67 'current_level,current_session\r\nmy adm code,,,,' 68 68 '"[(\'printing_craft_practice\', \'A1\')]",my clr code,1981-02-04#,,,' 69 'anna@sample.com,,,,,,,,,,,,, Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"'69 'anna@sample.com,,,,,,,,,,,,,,Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"' 70 70 ',,,,,,,,,,,,,,,,Tester,,,,234,M.,NG,,,,,,,,,,,' 71 71 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.