Changeset 5177


Ignore:
Timestamp:
29 Apr 2010, 10:56:41 (15 years ago)
Author:
Henrik Bettermann
Message:

prepare implementation of check boxes for acco booking and payment in base data

Location:
WAeUP_SRP/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/aaua/properties.xml

    r4098 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property>
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/profiles/aaue/properties.xml

    r4098 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property> 
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/profiles/fceokene/properties.xml

    r4542 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property> 
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/profiles/fceoyo/properties.xml

    r4098 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property> 
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/profiles/futminna/properties.xml

    r4098 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property> 
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/profiles/nau/properties.xml

    r4098 r5177  
    1818 <property name="date5" type="date">2000/01/01 01:00</property>
    1919 <property name="date6" type="date">2000/01/01 01:00</property> 
     20 <property name="enable_acco_booking" type="boolean">True</property>
     21 <property name="enable_payment" type="boolean">True</property>
    2022</site>
  • WAeUP_SRP/trunk/profiles/ois/properties.xml

    r4098 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property>
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/profiles/uniben/properties.xml

    r4098 r5177  
    1818 <property name="date5" type="date">2000/01/01 01:00</property>
    1919 <property name="date6" type="date">2000/01/01 01:00</property> 
     20 <property name="enable_acco_booking" type="boolean">True</property>
     21 <property name="enable_payment" type="boolean">True</property>
    2022</site>
  • WAeUP_SRP/trunk/profiles/unilorin/properties.xml

    r4098 r5177  
    1313 <property name="date5" type="date">2000/01/01 01:00</property>
    1414 <property name="date6" type="date">2000/01/01 01:00</property> 
     15 <property name="enable_acco_booking" type="boolean">True</property>
     16 <property name="enable_payment" type="boolean">True</property>
    1517</site>
  • WAeUP_SRP/trunk/skins/cps_custom/reconfig.py

    r4098 r5177  
    2525    date5=form.get('date5'),
    2626    date6=form.get('date6'),
     27    enable_acco_booking=form.get('enable_acco_booking'),
     28    enable_payment=form.get('enable_payment'),
    2729    )
    2830
  • WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py

    r4196 r5177  
    1616import DateTime
    1717
    18 booking_disabled = False
     18pprops = context.portal_properties
     19booking_disabled = not pprops.enable_acco_booking
    1920
    2021request = context.REQUEST
  • WAeUP_SRP/trunk/skins/waeup_uniben/config_form.pt

    r5165 r5177  
    173173        </td>
    174174      </tr>         
    175    
     175      <tr>
     176        <th>
     177          <label>
     178            Enable Accommodation Booking:
     179          </label>
     180        </th>
     181        <td>
     182          <input type="checkbox" name="enable_acco_booking" id="enable_acco_booking" value=""
     183                 tal:attributes="value pprops/enable_acco_booking;
     184                                 checked pprops/enable_acco_booking" />
     185        </td>
     186      </tr>       
     187      <tr>
     188        <th>
     189          <label>
     190            Enable Payment:
     191          </label>
     192        </th>
     193        <td>
     194          <input type="checkbox" name="enable_payment" id="enable_payment" value=""
     195                 tal:attributes="value pprops/enable_payment;
     196                                 checked pprops/enable_payment" />
     197        </td>
     198      </tr>         
    176199    </table>
    177200    <p>
Note: See TracChangeset for help on using the changeset viewer.