- Timestamp:
- 24 Apr 2007, 18:18:05 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r1702 r1705 250 250 'department', 251 251 'level', 252 ' study_mode',252 'mode', 253 253 'session', 254 254 'verdict', … … 315 315 return getattr(doc,'current_level',None) 316 316 317 def get_from_doc_study_mode(self,doc): 318 "return the students study_mode" 319 if doc is None: 320 return None 321 return getattr(doc,'current_study_mode',None) 317 def get_from_doc_mode(self,doc): 318 "return the students mode" 319 if doc is None: 320 return None 321 cm = getattr(doc,'current_mode',None) 322 return cm 323 324 325 def get_from_doc_session(self,doc): 326 "return the students current_session" 327 if doc is None: 328 return None 329 return getattr(doc,'current_session',None) 322 330 323 331 def get_from_doc_entry_session(self,doc): … … 325 333 if doc is None: 326 334 return None 335 es = getattr(doc,'entry_session',None) 336 if len(es) == 2: 337 return es 327 338 try: 328 339 digit = int(doc.jamb_reg_no[0]) -
WAeUP_SRP/trunk/profiles/default/schemas/student_application.xml
r1700 r1705 7 7 <field name="app_mobile" meta_type="CPS String Field"/> 8 8 <field name="entry_mode" meta_type="CPS String Field"/> 9 <field name="entry_session" meta_type="CPS String Field"/> 9 10 <field name="objection_date" meta_type="CPS DateTime Field"/> 10 11 <field name="jamb_age" meta_type="CPS Int Field"/> -
WAeUP_SRP/trunk/profiles/default/schemas/student_study_course.xml
r1700 r1705 7 7 </field> 8 8 <field name="current_session" meta_type="CPS String Field"/> 9 <field name="current_ study_mode" meta_type="CPS String Field"/>9 <field name="current_mode" meta_type="CPS String Field"/> 10 10 <field name="current_level" meta_type="CPS String Field"/> 11 11 <field name="current_verdict" meta_type="CPS String Field"/> -
WAeUP_SRP/trunk/profiles/default/students_catalog.xml
r1700 r1705 31 31 <indexed_attr value="entry_session"/> 32 32 </index> 33 <index name="session" meta_type="FieldIndex"> 34 <indexed_attr value="session"/> 35 </index> 33 36 <index name="department" meta_type="FieldIndex"> 34 37 <indexed_attr value="department"/> … … 37 40 <indexed_attr value="level"/> 38 41 </index> 39 <index name=" study_mode" meta_type="FieldIndex">40 <indexed_attr value=" study_mode"/>42 <index name="mode" meta_type="FieldIndex"> 43 <indexed_attr value="mode"/> 41 44 </index> 42 45 <index name="verdict" meta_type="FieldIndex"> … … 62 65 <column value="phone"/> 63 66 <column value="level"/> 64 <column value=" study_mode"/>67 <column value="mode"/> 65 68 <column value="verdict"/> 66 69 <column value="entry_mode"/> 67 70 <column value="entry_session"/> 71 <column value="session"/> 68 72 </object>
Note: See TracChangeset for help on using the changeset viewer.