Changeset 426
- Timestamp:
- 25 Aug 2006, 22:48:52 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r423 r426 25 25 r = random 26 26 return "%c%d" % (r.choice('ABCDEFGHKLMNPQRSTUVWXY'),r.randint(99999,1000000)) 27 28 27 28 29 29 30 30 class StudentsFolder(CPSDocument): ###( … … 81 81 continue 82 82 level = student.get('StudentLevel') 83 try: 83 try: 84 84 int(level) 85 85 except: … … 94 94 sid = generateStudentId() 95 95 #self.log('Creating Faculty %(id)s = %(Title)s' % faculty) 96 logger.info(' Creating Student with ID %(sid)s Matric_no %(matric_no)s ' % vars())96 logger.info('%(tr_count)s: Creating Student with ID %(sid)s Matric_no %(matric_no)s ' % vars()) 97 97 students_folder.invokeFactory('Student', sid) 98 98 s = getattr(self,sid) … … 201 201 for result in results: 202 202 sid = result.get('Matnumber') 203 if sid not in students.keys(): 203 if sid not in students.keys(): 204 204 em = 'Student with ID %(Matnumber)s not found\n' % result 205 205 logger.info(em) … … 215 215 continue 216 216 level = result.get('Level') 217 try: 217 try: 218 218 int(level) 219 219 except: … … 255 255 d['import_id'] = result.get('id') 256 256 gpa = result.get('GPA').replace(',','.') 257 d['gpa'] = float(gpa) 257 d['gpa'] = float(gpa) 258 258 ct.getContent().edit(mapping = d) 259 259 if tr_count > MAX_TRANS: … … 262 262 tr_count += 1 263 263 return self.students.academics_contents() 264 265 ###) 266 267 264 265 ###) 266 267 268 268 security.declareProtected(View,"Title") 269 269 def Title(self): -
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml
r425 r426 55 55 </widget> 56 56 57 <widget name="entry_date" meta_type=" StringWidget">57 <widget name="entry_date" meta_type="Date Widget"> 58 58 <property name="title">Entry Date</property> 59 59 <property name="fields"> … … 81 81 </widget> 82 82 83 <widget name="birthday" meta_type="Date TimeWidget">83 <widget name="birthday" meta_type="Date Widget"> 84 84 <property name="title">Day of Birth</property> 85 85 <property name="fields"> … … 283 283 </widget> 284 284 285 <widget name="alr_ sit_fname" meta_type="String Widget">285 <widget name="alr_fname" meta_type="String Widget"> 286 286 <property name="title">Fullname</property> 287 287 <property name="fields"> 288 <element value="alr_ sit_fname"/>288 <element value="alr_fname"/> 289 289 </property> 290 290 <property name="is_required"></property> … … 298 298 </widget> 299 299 300 <widget name="alr_ sit_no" meta_type="String Widget">300 <widget name="alr_no" meta_type="String Widget"> 301 301 <property name="title">Exam Number</property> 302 302 <property name="fields"> 303 <element value="alr_ sit_no"/>303 <element value="alr_no"/> 304 304 </property> 305 305 <property name="is_required"></property> … … 311 311 </widget> 312 312 313 <widget name="alr_ sit_date" meta_type="Date Widget">313 <widget name="alr_date" meta_type="Date Widget"> 314 314 <property name="title">Exam Date</property> 315 315 <property name="fields"> 316 <element value="alr_ sit_date"/>316 <element value="alr_date"/> 317 317 </property> 318 318 <property name="is_required"></property> … … 324 324 </widget> 325 325 326 <widget name="alr_s it_scan" meta_type="Image Widget">326 <widget name="alr_scan" meta_type="Image Widget"> 327 327 <property name="title">Scan of Advanced Level Result</property> 328 328 <property name="fields"> 329 <element value="alr_s it_scan"/>329 <element value="alr_scan"/> 330 330 </property> 331 331 <property name="is_required"></property> … … 774 774 <table> 775 775 <row> 776 <cell name="jamb_reg_no"/> 777 </row> 778 <row> 779 <cell name="matric_no"/> 780 </row> 781 <row> 776 782 <cell name="clr_ac_pin"/> 777 783 </row> 778 784 <row> 779 <cell name="jamb_reg_nr"/>780 </row>781 <row>782 785 <cell name="entry_date"/> 783 786 </row> … … 828 831 </row> 829 832 <row> 830 <cell name="alr_ sit_fname"/>831 </row> 832 <row> 833 <cell name="alr_ sit_fname"/>834 </row> 835 <row> 836 <cell name="alr_ sit_no"/>837 </row> 838 <row> 839 <cell name="alr_ sit_date"/>840 </row> 841 <row> 842 <cell name="alr_s it_scan"/>833 <cell name="alr_fname"/> 834 </row> 835 <row> 836 <cell name="alr_fname"/> 837 </row> 838 <row> 839 <cell name="alr_no"/> 840 </row> 841 <row> 842 <cell name="alr_date"/> 843 </row> 844 <row> 845 <cell name="alr_scan"/> 843 846 </row> 844 847 <row> … … 926 929 <cell name="acknow"/> 927 930 </row> 928 <row>929 <cell name="jamb_reg_no"/>930 </row>931 <row>932 <cell name="matric_no"/>933 </row>934 931 </table> 935 932 -
WAeUP_SRP/trunk/profiles/default/layouts/student_personal.xml
r424 r426 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> 9 <widget name="campus_address" meta_type="String Widget"> 10 <property name="title">Campus Address</property> 11 <property name="fields"> 12 <element value="campus_address"/> 13 </property> 14 <property name="label">Campus Address</property> 15 <property name="label_edit">Campus Address</property> 16 <property name="readonly_layout_modes"/> 17 <property name="hidden_layout_modes"/> 18 <property name="hidden_readonly_layout_modes"/> 19 </widget> 20 <widget name="disabled" meta_type="Boolean Widget"> 21 <property name="title">Disabled</property> 22 <property name="fields"> 23 <element value="disabled"/> 24 </property> 25 <property name="readonly_layout_modes"/> 26 <property name="hidden_layout_modes"/> 27 <property name="hidden_readonly_layout_modes"/> 28 <property name="label_false">yes</property> 29 <property name="label_true">no</property> 30 </widget> 9 31 10 <widget name="firstname" meta_type="String Widget"> 32 11 <property name="title">First Name</property> … … 41 20 <property name="hidden_readonly_layout_modes"/> 42 21 </widget> 22 23 <widget name="middlename" meta_type="String Widget"> 24 <property name="title">Middle Name</property> 25 <property name="fields"> 26 <element value="middlename"/> 27 </property> 28 <property name="label">Middl Name</property> 29 <property name="label_edit">Middle Name</property> 30 <property name="readonly_layout_modes"/> 31 <property name="hidden_layout_modes"/> 32 <property name="hidden_readonly_layout_modes"/> 33 </widget> 34 35 <widget name="lastname" meta_type="String Widget"> 36 <property name="title">Lastname</property> 37 <property name="fields"> 38 <element value="lastname"/> 39 </property> 40 <property name="label">Lastname</property> 41 <property name="label_edit">Lastname</property> 42 <property name="readonly_layout_modes"/> 43 <property name="hidden_layout_modes"/> 44 <property name="hidden_readonly_layout_modes"/> 45 </widget> 46 47 <widget name="former_surname" meta_type="String Widget"> 48 <property name="title">Former Surname</property> 49 <property name="fields"> 50 <element value="former_surname"/> 51 </property> 52 <property name="label">Former Surname</property> 53 <property name="label_edit">Former Surname</property> 54 <property name="readonly_layout_modes"/> 55 <property name="hidden_layout_modes"/> 56 <property name="hidden_readonly_layout_modes"/> 57 </widget> 58 59 60 <widget name="sex" meta_type="Boolean Widget"> 61 <property name="title">Sex</property> 62 <property name="fields"> 63 <element value="sex"/> 64 </property> 65 <property name="label">Sex</property> 66 <property name="label_edit">Sex</property> 67 <property name="readonly_layout_modes"/> 68 <property name="hidden_layout_modes"/> 69 <property name="hidden_readonly_layout_modes"/> 70 <property name="label_false">male</property> 71 <property name="label_true">female</property> 72 </widget> 73 74 43 75 <widget name="for_lga" meta_type="String Widget"> 44 76 <property name="title">Foreign Student Local Government Area</property> … … 52 84 <property name="hidden_readonly_layout_modes"/> 53 85 </widget> 86 54 87 <widget name="for_state" meta_type="Select Widget"> 55 88 <property name="title">Foreign Student State</property> … … 64 97 <property name="vocabulary">states</property> 65 98 </widget> 66 <widget name="former_surname" meta_type="String Widget"> 67 <property name="title">Former Surname</property> 68 <property name="fields"> 69 <element value="former_surname"/> 70 </property> 71 <property name="label">Former Surname</property> 72 <property name="label_edit">Former Surname</property> 73 <property name="readonly_layout_modes"/> 74 <property name="hidden_layout_modes"/> 75 <property name="hidden_readonly_layout_modes"/> 76 </widget> 99 100 <widget name="marit_stat" meta_type="Boolean Widget"> 101 <property name="title">Marital Status</property> 102 <property name="fields"> 103 <element value="marit_stat"/> 104 </property> 105 <property name="label">Marital Status</property> 106 <property name="label_edit">Marital Status</property> 107 <property name="readonly_layout_modes"/> 108 <property name="hidden_layout_modes"/> 109 <property name="hidden_readonly_layout_modes"/> 110 <property name="label_false">single</property> 111 <property name="label_true">married</property> 112 </widget> 113 114 <widget name="religion" meta_type="Select Widget"> 115 <property name="title">Religion</property> 116 <property name="fields"> 117 <element value="religion"/> 118 </property> 119 <property name="label">Religion</property> 120 <property name="label_edit">Religion</property> 121 <property name="readonly_layout_modes"/> 122 <property name="hidden_layout_modes"/> 123 <property name="hidden_readonly_layout_modes"/> 124 <property name="vocabulary">religion</property> 125 </widget> 126 127 <widget name="perm_address" meta_type="String Widget"> 128 <property name="title">Permanent Address</property> 129 <property name="fields"> 130 <element value="perm_address"/> 131 </property> 132 <property name="label">Permanent Address</property> 133 <property name="label_edit">Permanent Address</property> 134 <property name="readonly_layout_modes"/> 135 <property name="hidden_layout_modes"/> 136 <property name="hidden_readonly_layout_modes"/> 137 </widget> 138 139 <widget name="perm_city" meta_type="String Widget"> 140 <property name="title">City</property> 141 <property name="fields"> 142 <element value="perm_city"/> 143 </property> 144 <property name="label">City</property> 145 <property name="label_edit">City</property> 146 <property name="readonly_layout_modes"/> 147 <property name="hidden_layout_modes"/> 148 <property name="hidden_readonly_layout_modes"/> 149 </widget> 150 151 <widget name="campus_address" meta_type="String Widget"> 152 <property name="title">Campus Address</property> 153 <property name="fields"> 154 <element value="campus_address"/> 155 </property> 156 <property name="label">Campus Address</property> 157 <property name="label_edit">Campus Address</property> 158 <property name="readonly_layout_modes"/> 159 <property name="hidden_layout_modes"/> 160 <property name="hidden_readonly_layout_modes"/> 161 </widget> 162 163 <widget name="phone" meta_type="String Widget"> 164 <property name="title">Phone</property> 165 <property name="fields"> 166 <element value="phone"/> 167 </property> 168 <property name="label">Phone</property> 169 <property name="label_edit">Phone</property> 170 <property name="readonly_layout_modes"/> 171 <property name="hidden_layout_modes"/> 172 <property name="hidden_readonly_layout_modes"/> 173 </widget> 174 175 176 <widget name="next_kin_firstname" meta_type="String Widget"> 177 <property name="title">Next of Kin Firstname</property> 178 <property name="fields"> 179 <element value="next_kin_firstname"/> 180 </property> 181 <property name="label">Next of Kin Firstname</property> 182 <property name="label_edit">Next of Kin Firstname</property> 183 <property name="readonly_layout_modes"/> 184 <property name="hidden_layout_modes"/> 185 <property name="hidden_readonly_layout_modes"/> 186 </widget> 187 188 189 <widget name="next_kin_middlename" meta_type="String Widget"> 190 <property name="title">Next of Kin Middlename</property> 191 <property name="fields"> 192 <element value="next_kin_middlename"/> 193 </property> 194 <property name="label">Next of Kin Middlename</property> 195 <property name="label_edit">Next of Kin Middlename</property> 196 <property name="readonly_layout_modes"/> 197 <property name="hidden_layout_modes"/> 198 <property name="hidden_readonly_layout_modes"/> 199 </widget> 200 201 202 <widget name="next_kin_lastname" meta_type="String Widget"> 203 <property name="title">Next of Kin Lastname</property> 204 <property name="fields"> 205 <element value="next_kin_lastname"/> 206 </property> 207 <property name="label">Next of Kin Lastname</property> 208 <property name="label_edit">Next of Kin Lastname</property> 209 <property name="readonly_layout_modes"/> 210 <property name="hidden_layout_modes"/> 211 <property name="hidden_readonly_layout_modes"/> 212 </widget> 213 214 215 <widget name="next_kin_relation" meta_type="String Widget"> 216 <property name="title">Next of Kin Relationship</property> 217 <property name="fields"> 218 <element value="next_kin_relation"/> 219 </property> 220 <property name="label">Next of Kin Relationship</property> 221 <property name="label_edit">Next of Kin Relationship</property> 222 <property name="readonly_layout_modes"/> 223 <property name="hidden_layout_modes"/> 224 <property name="hidden_readonly_layout_modes"/> 225 </widget> 226 227 228 <widget name="next_kin_address" meta_type="String Widget"> 229 <property name="title">Next of Kin Address</property> 230 <property name="fields"> 231 <element value="next_kin_address"/> 232 </property> 233 <property name="label">Next of Kin Address</property> 234 <property name="label_edit">Next of Kin Address</property> 235 <property name="readonly_layout_modes"/> 236 <property name="hidden_layout_modes"/> 237 <property name="hidden_readonly_layout_modes"/> 238 </widget> 239 240 241 <widget name="next_kin_city" meta_type="String Widget"> 242 <property name="title">Next of Kin City</property> 243 <property name="fields"> 244 <element value="next_kin_city"/> 245 </property> 246 <property name="label">Next of Kin City</property> 247 <property name="label_edit">Next of Kin City</property> 248 <property name="readonly_layout_modes"/> 249 <property name="hidden_layout_modes"/> 250 <property name="hidden_readonly_layout_modes"/> 251 </widget> 252 253 254 <widget name="next_kin_state" meta_type="String Widget"> 255 <property name="title">Next of Kin State</property> 256 <property name="fields"> 257 <element value="next_kin_state"/> 258 </property> 259 <property name="label">Next of Kin State</property> 260 <property name="label_edit">Next of Kin State</property> 261 <property name="readonly_layout_modes"/> 262 <property name="hidden_layout_modes"/> 263 <property name="hidden_readonly_layout_modes"/> 264 </widget> 265 266 <widget name="next_kin_email" meta_type="String Widget"> 267 <property name="title">Next of Kin Email</property> 268 <property name="fields"> 269 <element value="next_kin_email"/> 270 </property> 271 <property name="label">Next of Kin Email</property> 272 <property name="label_edit">Next of Kin Email</property> 273 <property name="readonly_layout_modes"/> 274 <property name="hidden_layout_modes"/> 275 <property name="hidden_readonly_layout_modes"/> 276 </widget> 277 278 <widget name="next_kin_phone" meta_type="String Widget"> 279 <property name="title">Next of Kin Phone</property> 280 <property name="fields"> 281 <element value="next_kin_phone"/> 282 </property> 283 <property name="label">Next of Kin Phone</property> 284 <property name="label_edit">Next of Kin Phone</property> 285 <property name="readonly_layout_modes"/> 286 <property name="hidden_layout_modes"/> 287 <property name="hidden_readonly_layout_modes"/> 288 </widget> 289 290 291 <widget name="sponsor_firstname" meta_type="String Widget"> 292 <property name="title">Sponsor Firstname</property> 293 <property name="fields"> 294 <element value="sponsor_firstname"/> 295 </property> 296 <property name="label">Sponsor Firstname</property> 297 <property name="label_edit">Sponsor Firstname</property> 298 <property name="readonly_layout_modes"/> 299 <property name="hidden_layout_modes"/> 300 <property name="hidden_readonly_layout_modes"/> 301 </widget> 302 303 <field name="sponsor_middlename" meta_type="CPS String Field"/> 304 305 <widget name="sponsor_middlename" meta_type="String Widget"> 306 <property name="title">Sponsor Middlename</property> 307 <property name="fields"> 308 <element value="sponsor_middlename"/> 309 </property> 310 <property name="label">Sponsor Middlename</property> 311 <property name="label_edit">Sponsor Middlename</property> 312 <property name="readonly_layout_modes"/> 313 <property name="hidden_layout_modes"/> 314 <property name="hidden_readonly_layout_modes"/> 315 </widget> 316 317 318 <widget name="sponsor_lastname" meta_type="String Widget"> 319 <property name="title">Sponsor Lastname</property> 320 <property name="fields"> 321 <element value="sponsor_lastname"/> 322 </property> 323 <property name="label">Sponsor Lastname</property> 324 <property name="label_edit">Sponsor Lastname</property> 325 <property name="readonly_layout_modes"/> 326 <property name="hidden_layout_modes"/> 327 <property name="hidden_readonly_layout_modes"/> 328 </widget> 329 330 331 <widget name="sponsor_address" meta_type="String Widget"> 332 <property name="title">Sponsor Address</property> 333 <property name="fields"> 334 <element value="sponsor_address"/> 335 </property> 336 <property name="label">Sponsor Address</property> 337 <property name="label_edit">Sponsor Address</property> 338 <property name="readonly_layout_modes"/> 339 <property name="hidden_layout_modes"/> 340 <property name="hidden_readonly_layout_modes"/> 341 </widget> 342 343 344 <widget name="sponsor_city" meta_type="String Widget"> 345 <property name="title">Sponsor City</property> 346 <property name="fields"> 347 <element value="sponsor_city"/> 348 </property> 349 <property name="label">Sponsor City</property> 350 <property name="label_edit">Sponsor City</property> 351 <property name="readonly_layout_modes"/> 352 <property name="hidden_layout_modes"/> 353 <property name="hidden_readonly_layout_modes"/> 354 </widget> 355 356 357 <widget name="sponsor_state" meta_type="String Widget"> 358 <property name="title">Sponsor State</property> 359 <property name="fields"> 360 <element value="sponsor_state"/> 361 </property> 362 <property name="label">Sponsor State</property> 363 <property name="label_edit">Sponsor State</property> 364 <property name="readonly_layout_modes"/> 365 <property name="hidden_layout_modes"/> 366 <property name="hidden_readonly_layout_modes"/> 367 </widget> 368 369 <widget name="sponsor_email" meta_type="String Widget"> 370 <property name="title">Sponsor Email</property> 371 <property name="fields"> 372 <element value="sponsor_email"/> 373 </property> 374 <property name="label">Sponsor Email</property> 375 <property name="label_edit">Sponsor Email</property> 376 <property name="readonly_layout_modes"/> 377 <property name="hidden_layout_modes"/> 378 <property name="hidden_readonly_layout_modes"/> 379 </widget> 380 381 <widget name="sponsor_phone" meta_type="String Widget"> 382 <property name="title">Sponsor Phone</property> 383 <property name="fields"> 384 <element value="sponsor_phone"/> 385 </property> 386 <property name="label">Sponsor Phone</property> 387 <property name="label_edit">Sponsor Phone</property> 388 <property name="readonly_layout_modes"/> 389 <property name="hidden_layout_modes"/> 390 <property name="hidden_readonly_layout_modes"/> 391 </widget> 392 393 77 394 <widget name="fst_best_lang" meta_type="String Widget"> 78 395 <property name="title">First Best Language</property> … … 86 403 <property name="hidden_readonly_layout_modes"/> 87 404 </widget> 405 406 407 <widget name="scd_best_lang" meta_type="String Widget"> 408 <property name="title">Second Best Language</property> 409 <property name="fields"> 410 <element value="scd_best_lang"/> 411 </property> 412 <property name="label">Second Best Language</property> 413 <property name="label_edit">Second Best Language</property> 414 <property name="readonly_layout_modes"/> 415 <property name="hidden_layout_modes"/> 416 <property name="hidden_readonly_layout_modes"/> 417 </widget> 418 419 420 <widget name="mother_tongue" meta_type="String Widget"> 421 <property name="title">Mother Tongue</property> 422 <property name="fields"> 423 <element value="mother_tongue"/> 424 </property> 425 <property name="label">Mother Tongue</property> 426 <property name="label_edit">Mother Tongue</property> 427 <property name="readonly_layout_modes"/> 428 <property name="hidden_layout_modes"/> 429 <property name="hidden_readonly_layout_modes"/> 430 </widget> 431 88 432 <widget name="hall" meta_type="String Widget"> 89 433 <property name="title">Residence Hall on Campus</property> … … 97 441 <property name="hidden_readonly_layout_modes"/> 98 442 </widget> 99 <widget name="lastname" meta_type="String Widget"> 100 <property name="title">Lastname</property> 101 <property name="fields"> 102 <element value="lastname"/> 103 </property> 104 <property name="label">Lastname</property> 105 <property name="label_edit">Lastname</property> 106 <property name="readonly_layout_modes"/> 107 <property name="hidden_layout_modes"/> 108 <property name="hidden_readonly_layout_modes"/> 109 </widget> 110 <widget name="marit_stat" meta_type="Boolean Widget"> 111 <property name="title">Marital Status</property> 112 <property name="fields"> 113 <element value="marit_stat"/> 114 </property> 115 <property name="label">Marital Status</property> 116 <property name="label_edit">Marital Status</property> 117 <property name="readonly_layout_modes"/> 118 <property name="hidden_layout_modes"/> 119 <property name="hidden_readonly_layout_modes"/> 120 <property name="label_false">singe</property> 121 <property name="label_true">married</property> 122 </widget> 123 <widget name="middlename" meta_type="String Widget"> 124 <property name="title">Middle Name</property> 125 <property name="fields"> 126 <element value="middlename"/> 127 </property> 128 <property name="label">Middl Name</property> 129 <property name="label_edit">Middle Name</property> 130 <property name="readonly_layout_modes"/> 131 <property name="hidden_layout_modes"/> 132 <property name="hidden_readonly_layout_modes"/> 133 </widget> 134 <widget name="mother_tongue" meta_type="String Widget"> 135 <property name="title">Mother Tongue</property> 136 <property name="fields"> 137 <element value="mother_tongue"/> 138 </property> 139 <property name="label">Mother Tongue</property> 140 <property name="label_edit">Mother Tongue</property> 141 <property name="readonly_layout_modes"/> 142 <property name="hidden_layout_modes"/> 143 <property name="hidden_readonly_layout_modes"/> 144 </widget> 145 <widget name="next_kin_address" meta_type="String Widget"> 146 <property name="title">Next of Kin Address</property> 147 <property name="fields"> 148 <element value="next_kin_address"/> 149 </property> 150 <property name="label">Next of Kin Address</property> 151 <property name="label_edit">Next of Kin Address</property> 152 <property name="readonly_layout_modes"/> 153 <property name="hidden_layout_modes"/> 154 <property name="hidden_readonly_layout_modes"/> 155 </widget> 156 <widget name="next_kin_city" meta_type="String Widget"> 157 <property name="title">Next of Kin City</property> 158 <property name="fields"> 159 <element value="next_kin_city"/> 160 </property> 161 <property name="label">Next of Kin City</property> 162 <property name="label_edit">Next of Kin City</property> 163 <property name="readonly_layout_modes"/> 164 <property name="hidden_layout_modes"/> 165 <property name="hidden_readonly_layout_modes"/> 166 </widget> 167 <widget name="next_kin_email" meta_type="String Widget"> 168 <property name="title">Next of Kin Email</property> 169 <property name="fields"> 170 <element value="next_kin_email"/> 171 </property> 172 <property name="label">Next of Kin Email</property> 173 <property name="label_edit">Next of Kin Email</property> 174 <property name="readonly_layout_modes"/> 175 <property name="hidden_layout_modes"/> 176 <property name="hidden_readonly_layout_modes"/> 177 </widget> 178 <widget name="next_kin_firstname" meta_type="String Widget"> 179 <property name="title">Next of Kin Firstname</property> 180 <property name="fields"> 181 <element value="next_kin_firstname"/> 182 </property> 183 <property name="label">Next of Kin Firstname</property> 184 <property name="label_edit">Next of Kin Firstname</property> 185 <property name="readonly_layout_modes"/> 186 <property name="hidden_layout_modes"/> 187 <property name="hidden_readonly_layout_modes"/> 188 </widget> 189 <widget name="next_kin_lastname" meta_type="String Widget"> 190 <property name="title">Next of Kin Lastname</property> 191 <property name="fields"> 192 <element value="next_kin_lastname"/> 193 </property> 194 <property name="label">Next of Kin Lastname</property> 195 <property name="label_edit">Next of Kin Lastname</property> 196 <property name="readonly_layout_modes"/> 197 <property name="hidden_layout_modes"/> 198 <property name="hidden_readonly_layout_modes"/> 199 </widget> 200 <widget name="next_kin_middlename" meta_type="String Widget"> 201 <property name="title">Next of Kin Middlename</property> 202 <property name="fields"> 203 <element value="next_kin_middlename"/> 204 </property> 205 <property name="label">Next of Kin Middlename</property> 206 <property name="label_edit">Next of Kin Middlename</property> 207 <property name="readonly_layout_modes"/> 208 <property name="hidden_layout_modes"/> 209 <property name="hidden_readonly_layout_modes"/> 210 </widget> 211 <widget name="next_kin_phone" meta_type="String Widget"> 212 <property name="title">Next of Kin Phone</property> 213 <property name="fields"> 214 <element value="next_kin_phone"/> 215 </property> 216 <property name="label">Next of Kin Phone</property> 217 <property name="label_edit">Next of Kin Phone</property> 218 <property name="readonly_layout_modes"/> 219 <property name="hidden_layout_modes"/> 220 <property name="hidden_readonly_layout_modes"/> 221 </widget> 222 <widget name="next_kin_relation" meta_type="String Widget"> 223 <property name="title">Next of Kin Relationship</property> 224 <property name="fields"> 225 <element value="next_kin_relation"/> 226 </property> 227 <property name="label">Next of Kin Relationship</property> 228 <property name="label_edit">Next of Kin Relationship</property> 229 <property name="readonly_layout_modes"/> 230 <property name="hidden_layout_modes"/> 231 <property name="hidden_readonly_layout_modes"/> 232 </widget> 233 <widget name="next_kin_state" meta_type="String Widget"> 234 <property name="title">Next of Kin State</property> 235 <property name="fields"> 236 <element value="next_kin_state"/> 237 </property> 238 <property name="label">Next of Kin State</property> 239 <property name="label_edit">Next of Kin State</property> 240 <property name="readonly_layout_modes"/> 241 <property name="hidden_layout_modes"/> 242 <property name="hidden_readonly_layout_modes"/> 243 </widget> 443 444 <widget name="disabled" meta_type="Boolean Widget"> 445 <property name="title">Disabled</property> 446 <property name="fields"> 447 <element value="disabled"/> 448 </property> 449 <property name="label">Disabled</property> 450 <property name="label_edit">Disabled</property> 451 <property name="readonly_layout_modes"/> 452 <property name="hidden_layout_modes"/> 453 <property name="hidden_readonly_layout_modes"/> 454 <property name="label_false">no</property> 455 <property name="label_true">yes</property> 456 </widget> 457 244 458 <widget name="notes" meta_type="Text Widget"> 245 459 <property name="title">Notes</property> … … 253 467 <property name="hidden_readonly_layout_modes"/> 254 468 </widget> 255 <widget name="perm_address" meta_type="String Widget"> 256 <property name="title">Permanent Address</property> 257 <property name="fields"> 258 <element value="perm_address"/> 259 </property> 260 <property name="label">Permanent Address</property> 261 <property name="label_edit">Permanent Address</property> 262 <property name="readonly_layout_modes"/> 263 <property name="hidden_layout_modes"/> 264 <property name="hidden_readonly_layout_modes"/> 265 </widget> 266 <widget name="perm_city" meta_type="String Widget"> 267 <property name="title">City</property> 268 <property name="fields"> 269 <element value="perm_city"/> 270 </property> 271 <property name="label">City</property> 272 <property name="label_edit">City</property> 273 <property name="readonly_layout_modes"/> 274 <property name="hidden_layout_modes"/> 275 <property name="hidden_readonly_layout_modes"/> 276 </widget> 277 <widget name="phone" meta_type="String Widget"> 278 <property name="title">Phone</property> 279 <property name="fields"> 280 <element value="phone"/> 281 </property> 282 <property name="label">Phone</property> 283 <property name="label_edit">Phone</property> 284 <property name="readonly_layout_modes"/> 285 <property name="hidden_layout_modes"/> 286 <property name="hidden_readonly_layout_modes"/> 287 </widget> 288 <widget name="religion" meta_type="Select Widget"> 289 <property name="title">Religion</property> 290 <property name="fields"> 291 <element value="religion"/> 292 </property> 293 <property name="label">Religion</property> 294 <property name="label_edit">Religion</property> 295 <property name="readonly_layout_modes"/> 296 <property name="hidden_layout_modes"/> 297 <property name="hidden_readonly_layout_modes"/> 298 <property name="vocabulary">religion</property> 299 </widget> 300 <widget name="scd_best_lang" meta_type="String Widget"> 301 <property name="title">Second Best Language</property> 302 <property name="fields"> 303 <element value="scd_best_lang"/> 304 </property> 305 <property name="label">Second Best Language</property> 306 <property name="label_edit">Second Best Language</property> 307 <property name="readonly_layout_modes"/> 308 <property name="hidden_layout_modes"/> 309 <property name="hidden_readonly_layout_modes"/> 310 </widget> 311 <widget name="sex" meta_type="Boolean Widget"> 312 <property name="title">Sex</property> 313 <property name="fields"> 314 <element value="sex"/> 315 </property> 316 <property name="label">Sex</property> 317 <property name="label_edit">Sex</property> 318 <property name="readonly_layout_modes"/> 319 <property name="hidden_layout_modes"/> 320 <property name="hidden_readonly_layout_modes"/> 321 <property name="label_false">male</property> 322 <property name="label_true">female</property> 323 </widget> 324 <widget name="sponsor_address" meta_type="String Widget"> 325 <property name="title">Sponsor Address</property> 326 <property name="fields"> 327 <element value="sponsor_address"/> 328 </property> 329 <property name="label">Sponsor Address</property> 330 <property name="label_edit">Sponsor Address</property> 331 <property name="readonly_layout_modes"/> 332 <property name="hidden_layout_modes"/> 333 <property name="hidden_readonly_layout_modes"/> 334 </widget> 335 <widget name="sponsor_city" meta_type="String Widget"> 336 <property name="title">Sponsor City</property> 337 <property name="fields"> 338 <element value="sponsor_city"/> 339 </property> 340 <property name="label">Sponsor City</property> 341 <property name="label_edit">Sponsor City</property> 342 <property name="readonly_layout_modes"/> 343 <property name="hidden_layout_modes"/> 344 <property name="hidden_readonly_layout_modes"/> 345 </widget> 346 <widget name="sponsor_email" meta_type="String Widget"> 347 <property name="title">Sponsor Email</property> 348 <property name="fields"> 349 <element value="sponsor_email"/> 350 </property> 351 <property name="label">Sponsor Email</property> 352 <property name="label_edit">Sponsor Email</property> 353 <property name="readonly_layout_modes"/> 354 <property name="hidden_layout_modes"/> 355 <property name="hidden_readonly_layout_modes"/> 356 </widget> 357 <widget name="sponsor_firstname" meta_type="String Widget"> 358 <property name="title">Sponsor Firstname</property> 359 <property name="fields"> 360 <element value="sponsor_firstname"/> 361 </property> 362 <property name="label">Sponsor Firstname</property> 363 <property name="label_edit">Sponsor Firstname</property> 364 <property name="readonly_layout_modes"/> 365 <property name="hidden_layout_modes"/> 366 <property name="hidden_readonly_layout_modes"/> 367 </widget> 368 <widget name="sponsor_lastname" meta_type="String Widget"> 369 <property name="title">Sponsor Lastname</property> 370 <property name="fields"> 371 <element value="sponsor_lastname"/> 372 </property> 373 <property name="label">Sponsor Lastname</property> 374 <property name="label_edit">Sponsor Lastname</property> 375 <property name="readonly_layout_modes"/> 376 <property name="hidden_layout_modes"/> 377 <property name="hidden_readonly_layout_modes"/> 378 </widget> 379 <widget name="sponsor_middlename" meta_type="String Widget"> 380 <property name="title">Sponsor Middlename</property> 381 <property name="fields"> 382 <element value="sponsor_middlename"/> 383 </property> 384 <property name="label">Sponsor Middlename</property> 385 <property name="label_edit">Sponsor Middlename</property> 386 <property name="readonly_layout_modes"/> 387 <property name="hidden_layout_modes"/> 388 <property name="hidden_readonly_layout_modes"/> 389 </widget> 390 <widget name="sponsor_phone" meta_type="String Widget"> 391 <property name="title">Sponsor Phone</property> 392 <property name="fields"> 393 <element value="sponsor_phone"/> 394 </property> 395 <property name="label">Sponsor Phone</property> 396 <property name="label_edit">Sponsor Phone</property> 397 <property name="readonly_layout_modes"/> 398 <property name="hidden_layout_modes"/> 399 <property name="hidden_readonly_layout_modes"/> 400 </widget> 401 <widget name="sponsor_state" meta_type="String Widget"> 402 <property name="title">Sponsor State</property> 403 <property name="fields"> 404 <element value="sponsor_state"/> 405 </property> 406 <property name="label">Sponsor State</property> 407 <property name="label_edit">Sponsor State</property> 408 <property name="readonly_layout_modes"/> 409 <property name="hidden_layout_modes"/> 410 <property name="hidden_readonly_layout_modes"/> 411 </widget> 469 412 470 <table> 413 471 <row> … … 519 577 <cell name="notes"/> 520 578 </row> 579 521 580 </table> 522 581 </object> -
WAeUP_SRP/trunk/profiles/default/schemas/student_clearance.xml
r421 r426 9 9 <field name="matric_no" meta_type="CPS String Field"/> 10 10 11 <field name="entry_date" meta_type="CPS StringField"/>11 <field name="entry_date" meta_type="CPS DateTime Field"/> 12 12 <field name="entry_session" meta_type="CPS String Field"/> 13 13 … … 22 22 <field name="fst_sit_fname" meta_type="CPS String Field"/> 23 23 <field name="fst_sit_no" meta_type="CPS String Field"/> 24 <field name="fst_sit_date" meta_type="CPS StringField"/>24 <field name="fst_sit_date" meta_type="CPS DateTime Field"/> 25 25 <field name="fst_sit_type" meta_type="CPS String Field"/> 26 26 <field name="fst_sit_scan" meta_type="CPS Image Field"/> … … 29 29 <field name="scd_sit_fname" meta_type="CPS String Field"/> 30 30 <field name="scd_sit_no" meta_type="CPS String Field"/> 31 <field name="scd_sit_date" meta_type="CPS StringField"/>31 <field name="scd_sit_date" meta_type="CPS DateTime Field"/> 32 32 <field name="scd_sit_type" meta_type="CPS String Field"/> 33 33 <field name="scd_sit_scan" meta_type="CPS Image Field"/> … … 35 35 <field name="alr_fname" meta_type="CPS String Field"/> 36 36 <field name="alr_no" meta_type="CPS String Field"/> 37 <field name="alr_date" meta_type="CPS StringField"/>37 <field name="alr_date" meta_type="CPS DateTime Field"/> 38 38 <field name="alr_scan" meta_type="CPS Image Field"/> 39 39 -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r421 r426 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to=" temporary_view_all"/>29 <alias from="view" to=" temporary_view_all"/>28 <alias from="(Default)" to="cpsdocument_view"/> 29 <alias from="view" to="cpsdocument_view"/> 30 30 <action title="Standard View" action_id="view" category="object" 31 condition_expr="" url_expr="string:${object_url}/ temporary_view_all"31 condition_expr="" url_expr="string:${object_url}/cpsdocument_view" 32 32 visible="True"> 33 33 <permission value="View"/> 34 34 </action> 35 35 <action title="action_edit" action_id="edit" category="object" 36 condition_expr="" url_expr="string:${object_url}/c learance"36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 37 37 visible="True"> 38 38 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r421 r426 33 33 <alias from="(Default)" to="cpsdocument_view"/> 34 34 <alias from="view" to="cpsdocument_view"/> 35 <action title=" View" action_id="view" category="object" condition_expr=""35 <action title="Standard View" action_id="view" category="object" condition_expr="" 36 36 url_expr="string:${object_url}/cpsdocument_view" visible="True"> 37 37 <permission value="View"/> … … 39 39 <action title="action_edit" action_id="edit" category="object" 40 40 condition_expr="" 41 url_expr="string:${object_url}/ student_personal_edit_form" visible="True">41 url_expr="string:${object_url}/cpsdocument_edit_form" visible="True"> 42 42 <permission value="Modify portal content"/> 43 43 </action>
Note: See TracChangeset for help on using the changeset viewer.