Changeset 14829 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 31 Aug 2017, 07:26:25 (7 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/applicant.py
r14304 r14829 38 38 ('alr_date', 'alr_date'), 39 39 ('alr_results', 'alr_results'), 40 ('fst_sit_sc_pin', 'fst_sit_sc_pin'), 41 ('fst_sit_sc_serial_number', 'fst_sit_sc_serial_number'), 42 ('scd_sit_sc_pin', 'scd_sit_sc_pin'), 43 ('scd_sit_sc_serial_number', 'scd_sit_sc_serial_number'), 40 44 #('', ''), 41 45 ] -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r14666 r14829 71 71 required = True, 72 72 ) 73 73 74 lga = schema.Choice( 74 75 source = LGASource(), … … 76 77 required = False, 77 78 ) 79 78 80 perm_address = schema.Text( 79 81 title = _(u'Permanent Address'), 80 82 required = False, 81 83 ) 84 82 85 home_town = schema.TextLine( 83 86 title = _(u'Home Town'), 84 87 required = False, 85 88 ) 89 86 90 #jamb_reg_number = schema.TextLine( 87 91 # title = _(u'JAMB Registration Number'), 88 92 # required = False, 89 93 # ) 94 90 95 jamb_score = schema.Int( 91 96 title = _(u'Total JAMB Score'), 92 97 required = False, 93 98 ) 99 94 100 jamb_subjects = schema.Text( 95 101 title = _(u'JAMB Subjects and Scores'), 96 102 required = False, 97 103 ) 104 98 105 course1 = schema.Choice( 99 106 title = _(u'1st Choice Course of Study'), … … 101 108 required = False, 102 109 ) 110 103 111 course2 = schema.Choice( 104 112 title = _(u'2nd Choice Course of Study'), … … 106 114 required = False, 107 115 ) 116 108 117 fst_sit_fname = schema.TextLine( 109 118 title = _(u'Full Name'), … … 111 120 readonly = False, 112 121 ) 122 113 123 fst_sit_no = schema.TextLine( 114 124 title = _(u'Exam Number'), … … 116 126 readonly = False, 117 127 ) 128 129 fst_sit_sc_pin = schema.TextLine( 130 title = _(u'Scratch Card Pin'), 131 required = False, 132 readonly = False, 133 ) 134 135 fst_sit_sc_serial_number = schema.TextLine( 136 title = _(u'Scratch Card Serial Number'), 137 required = False, 138 readonly = False, 139 ) 140 118 141 fst_sit_date = FormattedDate( 119 142 title = _(u'Exam Date'), … … 122 145 show_year = True, 123 146 ) 147 124 148 fst_sit_type = schema.Choice( 125 149 title = _(u'Exam Type'), … … 128 152 vocabulary = exam_types, 129 153 ) 154 130 155 fst_sit_results = schema.List( 131 156 title = _(u'Exam Results'), … … 135 160 defaultFactory=list, 136 161 ) 162 137 163 scd_sit_fname = schema.TextLine( 138 164 title = _(u'Full Name'), … … 140 166 readonly = False, 141 167 ) 168 142 169 scd_sit_no = schema.TextLine( 143 170 title = _(u'Exam Number'), … … 145 172 readonly = False, 146 173 ) 174 175 scd_sit_sc_pin = schema.TextLine( 176 title = _(u'Scratch Card Pin'), 177 required = False, 178 readonly = False, 179 ) 180 181 scd_sit_sc_serial_number = schema.TextLine( 182 title = _(u'Scratch Card Serial Number'), 183 required = False, 184 readonly = False, 185 ) 186 147 187 scd_sit_date = FormattedDate( 148 188 title = _(u'Exam Date'), … … 151 191 show_year = True, 152 192 ) 193 153 194 scd_sit_type = schema.Choice( 154 195 title = _(u'Exam Type'), … … 157 198 vocabulary = exam_types, 158 199 ) 200 159 201 scd_sit_results = schema.List( 160 202 title = _(u'Exam Results'), … … 164 206 defaultFactory=list, 165 207 ) 208 166 209 alr_fname = schema.TextLine( 167 210 title = _(u'Full Name'), … … 169 212 readonly = False, 170 213 ) 214 171 215 alr_no = schema.TextLine( 172 216 title = _(u'Exam Number'), … … 174 218 readonly = False, 175 219 ) 220 176 221 alr_date = FormattedDate( 177 222 title = _(u'Exam Date'), … … 180 225 show_year = True, 181 226 ) 227 182 228 alr_results = schema.List( 183 229 title = _(u'Exam Results'), … … 187 233 defaultFactory=list, 188 234 ) 235 189 236 hq_type = schema.Choice( 190 237 title = _(u'Qualification Obtained'), … … 787 834 ) 788 835 836 fst_sit_fname = schema.TextLine( 837 title = _(u'Full Name'), 838 required = True, 839 readonly = False, 840 ) 841 842 fst_sit_no = schema.TextLine( 843 title = _(u'Exam Number'), 844 required = True, 845 readonly = False, 846 ) 847 848 fst_sit_sc_pin = schema.TextLine( 849 title = _(u'Scratch Card Pin'), 850 required = True, 851 readonly = False, 852 ) 853 854 fst_sit_sc_serial_number = schema.TextLine( 855 title = _(u'Scratch Card Serial Number'), 856 required = True, 857 readonly = False, 858 ) 859 860 fst_sit_date = FormattedDate( 861 title = _(u'Exam Date'), 862 required = True, 863 readonly = False, 864 show_year = True, 865 ) 866 867 fst_sit_type = schema.Choice( 868 title = _(u'Exam Type'), 869 required = True, 870 readonly = False, 871 vocabulary = exam_types, 872 ) 873 789 874 #ICustomUGApplicantEdit['programme_type'].order = ICustomUGApplicant[ 790 875 # 'programme_type'].order 791 876 ICustomUGApplicantEdit['date_of_birth'].order = ICustomUGApplicant[ 792 877 'date_of_birth'].order 878 ICustomUGApplicantEdit['fst_sit_fname'].order = ICustomUGApplicant[ 879 'fst_sit_fname'].order 880 ICustomUGApplicantEdit['fst_sit_no'].order = ICustomUGApplicant[ 881 'fst_sit_no'].order 882 ICustomUGApplicantEdit['fst_sit_sc_pin'].order = ICustomUGApplicant[ 883 'fst_sit_sc_pin'].order 884 ICustomUGApplicantEdit['fst_sit_sc_serial_number'].order = ICustomUGApplicant[ 885 'fst_sit_sc_serial_number'].order 886 ICustomUGApplicantEdit['fst_sit_date'].order = ICustomUGApplicant[ 887 'fst_sit_date'].order 888 ICustomUGApplicantEdit['fst_sit_type'].order = ICustomUGApplicant[ 889 'fst_sit_type'].order 793 890 794 891 class ICustomPGApplicantEdit(INigeriaPGApplicantEdit): -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r14824 r14829 66 66 self.browser.getControl(name="form.sex").value = ['m'] 67 67 self.browser.getControl(name="form.lastname").value = 'Merkel' 68 self.browser.getControl(name="form.fst_sit_fname").value = 'name' 69 self.browser.getControl(name="form.fst_sit_no").value = 'no' 70 self.browser.getControl(name="form.fst_sit_sc_pin").value = 'pin' 71 self.browser.getControl(name="form.fst_sit_sc_serial_number").value = 'serial' 72 self.browser.getControl(name="form.fst_sit_date").value = '09/09/2000' 73 self.browser.getControl(name="form.fst_sit_type").value = ['ssce'] 68 74 self.browser.getControl("Save").click() 69 75 self.browser.getControl("Add online payment ticket").click()
Note: See TracChangeset for help on using the changeset viewer.