Changeset 744 for WAeUP_SRP


Ignore:
Timestamp:
25 Oct 2006, 05:23:15 (18 years ago)
Author:
Henrik Bettermann
Message:

spelling mistake corrected (maintenance)

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  
    124124  <property name="label_true">female</property>
    125125 </widget>
    126 <widget name="maintainance_code" meta_type="Select Widget">
    127  <property name="title">Maintainance Fee Prefix</property>
     126<widget name="maintenance_code" meta_type="Select Widget">
     127 <property name="title">Maintenance Fee Prefix</property>
    128128 <property name="fields">
    129   <element value="maintainance_code"/>
     129  <element value="maintenance_code"/>
    130130 </property>
    131131 <property name="is_required">True</property>
    132  <property name="label">Maintainance Fee Prefix</property>
    133  <property name="label_edit">Maintainance Fee Prefix</property>
     132 <property name="label">Maintenance Fee Prefix</property>
     133 <property name="label_edit">Maintenance Fee Prefix</property>
    134134 <property name="readonly_layout_modes"/>
    135135 <property name="hidden_layout_modes"/>
     
    142142  </row>
    143143  <row>
    144    <cell name="maintainance_code"/>
     144   <cell name="maintenance_code"/>
    145145  </row>
    146146  <row>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation.xml

    r701 r744  
    88 <property name="validate_values_expr"></property>
    99 <widget name="acco_maint_date" meta_type="DateTime Widget">
    10   <property name="title">Maintainance Payment Date</property>
     10  <property name="title">Maintenance Payment Date</property>
    1111  <property name="fields">
    1212   <element value="acco_maint_date"/>
    1313  </property>
    14   <property name="label">Maintainance Payment Date</property>
    15   <property name="label_edit">Maintainance Payment Date</property>
     14  <property name="label">Maintenance Payment Date</property>
     15  <property name="label_edit">Maintenance Payment Date</property>
    1616  <property name="readonly_layout_modes"/>
    1717  <property name="hidden_layout_modes">
     
    2323 </widget>
    2424 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget">
    25   <property name="title">Maintainance Payment PIN</property>
     25  <property name="title">Maintenance Payment PIN</property>
    2626  <property name="fields">
    2727   <element value="acco_maint_sc_pin"/>
    2828  </property>
    29   <property name="label">Maintainance Payment PIN</property>
    30   <property name="label_edit">Maintainance Payment PIN</property>
     29  <property name="label">Maintenance Payment PIN</property>
     30  <property name="label_edit">Maintenance Payment PIN</property>
    3131  <property name="hidden_layout_modes">
    3232    <element value="create"/>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation_fe.xml

    r742 r744  
    88 <property name="validate_values_expr"></property>
    99 <widget name="acco_maint_date" meta_type="DateTime Widget">
    10   <property name="title">Maintainance Payment Date</property>
     10  <property name="title">Maintenance Payment Date</property>
    1111  <property name="fields">
    1212   <element value="acco_maint_date"/>
    1313  </property>
    14   <property name="label">Maintainance Payment Date</property>
    15   <property name="label_edit">Maintainance Payment Date</property>
     14  <property name="label">Maintenance Payment Date</property>
     15  <property name="label_edit">Maintenance Payment Date</property>
    1616  <property name="readonly_layout_modes"/>
    1717  <property name="hidden_layout_modes">
     
    2323 </widget>
    2424 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget">
    25   <property name="title">Maintainance Payment PIN</property>
     25  <property name="title">Maintenance Payment PIN</property>
    2626  <property name="fields">
    2727   <element value="acco_maint_sc_pin"/>
    2828  </property>
    29   <property name="label">Maintainance Payment PIN</property>
    30   <property name="label_edit">Maintainance Payment PIN</property>
     29  <property name="label">Maintenance Payment PIN</property>
     30  <property name="label_edit">Maintenance Payment PIN</property>
    3131  <property name="readonly_layout_modes"/>
    3232  <property name="hidden_layout_modes">
     
    3434  </property>
    3535  <property name="hidden_readonly_layout_modes"/>
    36   <property name="prefix">@getMaintainancePrefix</property>
     36  <property name="prefix">@getMaintenancePrefix</property>
    3737 </widget>
    3838 <widget name="acco_res_date" meta_type="DateTime Widget">
  • WAeUP_SRP/trunk/profiles/default/schemas/acco_hall.xml

    r736 r744  
    2525 <field name="which_sex" meta_type="CPS Boolean Field">
    2626  </field>
    27    <field name="maintainance_code" meta_type="CPS String Field"/>
     27   <field name="maintenance_code" meta_type="CPS String Field"/>
    2828</object>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_accommodation_wf/definition.xml

    r742 r744  
    88 <permission>View</permission>
    99 <state state_id="bed_reserved" title="">
    10   <exit-transition transition_id="pay_maintainance_fee"/>
     10  <exit-transition transition_id="pay_maintenance_fee"/>
    1111  <exit-transition transition_id="remove"/>
    1212  <permission-map name="Add portal content" acquired="True">
     
    2020  </permission-map>
    2121 </state>
    22  <state state_id="maintainance_fee_payed" title="">
     22 <state state_id="maintenance_fee_payed" title="">
    2323  <exit-transition transition_id="remove"/>
    2424 </state>
    2525 <state state_id="removed" title="">
    2626 </state>
    27  <transition transition_id="pay_maintainance_fee" title=""
    28              new_state="maintainance_fee_payed"
     27 <transition transition_id="pay_maintenance_fee" title=""
     28             new_state="maintenance_fee_payed"
    2929             trigger="USER" before_script="" after_script="">
    30  
     30
    3131  <guard>
    3232  </guard>
     
    3535             new_state="removed" trigger="USER"
    3636             before_script="" after_script="">
    37  
     37
    3838  <guard>
    3939  </guard>
     
    4242             new_state="bed_reserved" trigger="USER"
    4343             before_script="" after_script="">
    44  
     44
    4545  <guard>
    4646  </guard>
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt

    r728 r744  
    1212                                        'category_E',
    1313                                        'category_F',
    14                                         'content_addable'];">
     14                                        'content_addable',
     15                                        'bed_reserved',
     16                                        'maintenance_fee_paid'
     17                                        ];">
    1518
    1619<span tal:condition="python:path('info/review_state') in status_list ">
  • WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py

    r742 r744  
    2222mode = 'create'
    2323if info.has_key('acco') and info['acco']:
    24     if info['acco_review_state'] == "maintainance_fee_payed":
     24    if info['acco_review_state'] == "maintenance_fee_payed":
    2525        return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % info['acco'].absolute_url())
    2626    else:
     
    7676        ds.set('session', session)
    7777        acco.getContent().edit(mapping=ds)
    78         #wftool.doActionFor(acco,'pay_maintainance_fee',dest_container=acco)
     78        #wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco)
    7979        return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url())
    8080pin = str(ds.get('acco_main_sc_pin'))
     
    8383ds.set('acco_maint_date', current)
    8484acco.getContent().edit(mapping=ds)
    85 wftool.doActionFor(acco,'pay_maintainance_fee',dest_container=acco)
     85wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco)
    8686return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url())
    8787
Note: See TracChangeset for help on using the changeset viewer.