Changeset 744
- Timestamp:
- 25 Oct 2006, 05:23:15 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/acco_hall.xml
r738 r744 124 124 <property name="label_true">female</property> 125 125 </widget> 126 <widget name="maint ainance_code" meta_type="Select Widget">127 <property name="title">Maint ainance Fee Prefix</property>126 <widget name="maintenance_code" meta_type="Select Widget"> 127 <property name="title">Maintenance Fee Prefix</property> 128 128 <property name="fields"> 129 <element value="maint ainance_code"/>129 <element value="maintenance_code"/> 130 130 </property> 131 131 <property name="is_required">True</property> 132 <property name="label">Maint ainance Fee Prefix</property>133 <property name="label_edit">Maint ainance Fee Prefix</property>132 <property name="label">Maintenance Fee Prefix</property> 133 <property name="label_edit">Maintenance Fee Prefix</property> 134 134 <property name="readonly_layout_modes"/> 135 135 <property name="hidden_layout_modes"/> … … 142 142 </row> 143 143 <row> 144 <cell name="maint ainance_code"/>144 <cell name="maintenance_code"/> 145 145 </row> 146 146 <row> -
WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation.xml
r701 r744 8 8 <property name="validate_values_expr"></property> 9 9 <widget name="acco_maint_date" meta_type="DateTime Widget"> 10 <property name="title">Maint ainance Payment Date</property>10 <property name="title">Maintenance Payment Date</property> 11 11 <property name="fields"> 12 12 <element value="acco_maint_date"/> 13 13 </property> 14 <property name="label">Maint ainance Payment Date</property>15 <property name="label_edit">Maint ainance Payment Date</property>14 <property name="label">Maintenance Payment Date</property> 15 <property name="label_edit">Maintenance Payment Date</property> 16 16 <property name="readonly_layout_modes"/> 17 17 <property name="hidden_layout_modes"> … … 23 23 </widget> 24 24 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget"> 25 <property name="title">Maint ainance Payment PIN</property>25 <property name="title">Maintenance Payment PIN</property> 26 26 <property name="fields"> 27 27 <element value="acco_maint_sc_pin"/> 28 28 </property> 29 <property name="label">Maint ainance Payment PIN</property>30 <property name="label_edit">Maint ainance Payment PIN</property>29 <property name="label">Maintenance Payment PIN</property> 30 <property name="label_edit">Maintenance Payment PIN</property> 31 31 <property name="hidden_layout_modes"> 32 32 <element value="create"/> -
WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation_fe.xml
r742 r744 8 8 <property name="validate_values_expr"></property> 9 9 <widget name="acco_maint_date" meta_type="DateTime Widget"> 10 <property name="title">Maint ainance Payment Date</property>10 <property name="title">Maintenance Payment Date</property> 11 11 <property name="fields"> 12 12 <element value="acco_maint_date"/> 13 13 </property> 14 <property name="label">Maint ainance Payment Date</property>15 <property name="label_edit">Maint ainance Payment Date</property>14 <property name="label">Maintenance Payment Date</property> 15 <property name="label_edit">Maintenance Payment Date</property> 16 16 <property name="readonly_layout_modes"/> 17 17 <property name="hidden_layout_modes"> … … 23 23 </widget> 24 24 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget"> 25 <property name="title">Maint ainance Payment PIN</property>25 <property name="title">Maintenance Payment PIN</property> 26 26 <property name="fields"> 27 27 <element value="acco_maint_sc_pin"/> 28 28 </property> 29 <property name="label">Maint ainance Payment PIN</property>30 <property name="label_edit">Maint ainance Payment PIN</property>29 <property name="label">Maintenance Payment PIN</property> 30 <property name="label_edit">Maintenance Payment PIN</property> 31 31 <property name="readonly_layout_modes"/> 32 32 <property name="hidden_layout_modes"> … … 34 34 </property> 35 35 <property name="hidden_readonly_layout_modes"/> 36 <property name="prefix">@getMaint ainancePrefix</property>36 <property name="prefix">@getMaintenancePrefix</property> 37 37 </widget> 38 38 <widget name="acco_res_date" meta_type="DateTime Widget"> -
WAeUP_SRP/trunk/profiles/default/schemas/acco_hall.xml
r736 r744 25 25 <field name="which_sex" meta_type="CPS Boolean Field"> 26 26 </field> 27 <field name="maint ainance_code" meta_type="CPS String Field"/>27 <field name="maintenance_code" meta_type="CPS String Field"/> 28 28 </object> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_accommodation_wf/definition.xml
r742 r744 8 8 <permission>View</permission> 9 9 <state state_id="bed_reserved" title=""> 10 <exit-transition transition_id="pay_maint ainance_fee"/>10 <exit-transition transition_id="pay_maintenance_fee"/> 11 11 <exit-transition transition_id="remove"/> 12 12 <permission-map name="Add portal content" acquired="True"> … … 20 20 </permission-map> 21 21 </state> 22 <state state_id="maint ainance_fee_payed" title="">22 <state state_id="maintenance_fee_payed" title=""> 23 23 <exit-transition transition_id="remove"/> 24 24 </state> 25 25 <state state_id="removed" title=""> 26 26 </state> 27 <transition transition_id="pay_maint ainance_fee" title=""28 new_state="maint ainance_fee_payed"27 <transition transition_id="pay_maintenance_fee" title="" 28 new_state="maintenance_fee_payed" 29 29 trigger="USER" before_script="" after_script=""> 30 30 31 31 <guard> 32 32 </guard> … … 35 35 new_state="removed" trigger="USER" 36 36 before_script="" after_script=""> 37 37 38 38 <guard> 39 39 </guard> … … 42 42 new_state="bed_reserved" trigger="USER" 43 43 before_script="" after_script=""> 44 44 45 45 <guard> 46 46 </guard> -
WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt
r728 r744 12 12 'category_E', 13 13 'category_F', 14 'content_addable'];"> 14 'content_addable', 15 'bed_reserved', 16 'maintenance_fee_paid' 17 ];"> 15 18 16 19 <span tal:condition="python:path('info/review_state') in status_list "> -
WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py
r742 r744 22 22 mode = 'create' 23 23 if info.has_key('acco') and info['acco']: 24 if info['acco_review_state'] == "maint ainance_fee_payed":24 if info['acco_review_state'] == "maintenance_fee_payed": 25 25 return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % info['acco'].absolute_url()) 26 26 else: … … 76 76 ds.set('session', session) 77 77 acco.getContent().edit(mapping=ds) 78 #wftool.doActionFor(acco,'pay_maint ainance_fee',dest_container=acco)78 #wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco) 79 79 return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url()) 80 80 pin = str(ds.get('acco_main_sc_pin')) … … 83 83 ds.set('acco_maint_date', current) 84 84 acco.getContent().edit(mapping=ds) 85 wftool.doActionFor(acco,'pay_maint ainance_fee',dest_container=acco)85 wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco) 86 86 return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url()) 87 87
Note: See TracChangeset for help on using the changeset viewer.