- Timestamp:
- 15 Feb 2007, 20:59:20 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1415 r1426 161 161 email = dict.get('email') 162 162 level = dict.get('level') 163 jamb_reg_no = dict.get('jamb_reg_no') 163 164 study_course = dict.get('study_course') 164 165 self.portal_workflow.doActionFor(student_obj,wfaction) … … 179 180 dc['matric_no'] = matric_no 180 181 da['app_email'] = dp['email'] = email 182 da['jamb_reg_no'] = jamb_reg_no 181 183 dp['firstname'] = dict.get('firstname') 182 184 dp['middlename'] = dict.get('middlename') … … 198 200 catd['entry_mode']= entry_mode 199 201 catd['email'] = email 202 catd['jamb_reg_no'] = jamb_reg_no 200 203 catd['matric_no'] = matric_no 201 204 catd['name'] = "%(firstname)s %(middlename)s %(lastname)s" % dp -
WAeUP_SRP/trunk/profiles/default/layouts/student_create.xml
r1420 r1426 13 13 <element value="email"/> 14 14 </property> 15 <property name="is_required"> True</property>15 <property name="is_required">False</property> 16 16 <property name="label">Email</property> 17 17 <property name="label_edit">Email</property> … … 68 68 <property name="vocabulary">courselevel</property> 69 69 </widget> 70 <widget name="jamb_reg_no" meta_type="String Widget"> 71 <property name="title">JAMB Registration No</property> 72 <property name="fields"> 73 <element value="jamb_reg_no"/> 74 </property> 75 <property name="label">JAMB Registration No</property> 76 <property name="label_edit">JAMB Registration No</property> 77 <property name="readonly_layout_modes"/> 78 <property name="hidden_layout_modes"/> 79 <property name="hidden_readonly_layout_modes"/> 80 <property name="display_width">10</property> 81 </widget> 70 82 <widget name="matric_no" meta_type="String Widget"> 71 83 <property name="title">Matriculation No</property> … … 141 153 </row> 142 154 <row> 155 <cell name="jamb_reg_no"/> 156 </row> 157 <row> 143 158 <cell name="study_course"/> 144 159 </row> -
WAeUP_SRP/trunk/profiles/default/schemas/student_create.xml
r1415 r1426 8 8 <field name="level" meta_type="CPS String Field"/> 9 9 <field name="matric_no" meta_type="CPS String Field"/> 10 <field name="jamb_reg_no" meta_type="CPS String Field"/> 10 11 <field name="middlename" meta_type="CPS String Field"/> 11 12 <field name="sex" meta_type="CPS Boolean Field"/> -
WAeUP_SRP/trunk/skins/waeup_accommodation/book_reserved_bed.py
r1412 r1426 13 13 acco_cat = context.portal_accommodation 14 14 import logging 15 logger = logging.getLogger('Accommodation ')15 logger = logging.getLogger('Accommodation.BookReservedBed') 16 16 17 17 mode = 'create' 18 18 validate = REQUEST.has_key("cpsdocument_edit_button") and\ 19 REQUEST.get("cpsdocument_edit_button").startswith(' reserve')19 REQUEST.get("cpsdocument_edit_button").startswith('Reserve') 20 20 d = {} 21 21 rendered,psm,ds = lt.renderLayout(layout_id= 'acco_bed_booking', … … 34 34 mode = mode, 35 35 formaction = "book_reserved_bed", 36 button = " reserve bed",36 button = "Reserve Bed", 37 37 ds = ds, 38 38 ) … … 42 42 mode = mode, 43 43 formaction = "book_reserved_bed", 44 button = " reserve bed",44 button = "Reserve Bed", 45 45 ds = ds, 46 46 ) … … 63 63 break 64 64 bed_brain = res[0] 65 already = acco_cat(student=sid) 65 already = acco_cat(student=sid) 66 66 if already: 67 67 psm = "Student %s already reserved bed %s" % (sid, already[0].bed) … … 83 83 ds = ds, 84 84 formaction = "book_reserved_bed", 85 button = " reserve bed",85 button = "Reserve Bed", 86 86 ) 87 87 acco_cat.modifyRecord(bed = bid, student = sid) … … 91 91 mode = mode, 92 92 formaction = "book_reserved_bed", 93 button = " next reservation",93 button = "Next Reservation", 94 94 ds = ds, 95 95 ) -
WAeUP_SRP/trunk/skins/waeup_student/add_student_form.pt
r1422 r1426 42 42 </tr> 43 43 <tr> 44 <td>Matric No:</td>44 <td>Matriculation No:</td> 45 45 <td tal:content="student/matric_no" /> 46 </tr> 46 </tr> 47 <tr> 48 <td>JAMB Registration No:</td> 49 <td tal:content="student/jamb_reg_no" /> 50 </tr> 47 51 <tr> 48 52 <td>Study Course:</td>
Note: See TracChangeset for help on using the changeset viewer.