Changeset 7711
- Timestamp:
- 27 Feb 2012, 21:51:27 (13 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/fceokene/properties.xml
r5177 r7711 14 14 <property name="date6" type="date">2000/01/01 01:00</property> 15 15 <property name="enable_acco_booking" type="boolean">True</property> 16 <property name="enable_payment" type="boolean">True</property> 16 <property name="enable_payment" type="boolean">True</property> 17 17 </site> -
WAeUP_SRP/trunk/skins/waeup_fceokene/config_form.pt
r5418 r7711 163 163 <th> 164 164 <label> 165 Enable Payment: 166 </label> 167 </th> 168 <td> 169 <input type="checkbox" name="enable_payment" id="enable_payment" value="" 170 tal:attributes="value pprops/enable_payment; 171 checked pprops/enable_payment" /> 172 </td> 173 </tr> 174 <tr> 175 <th> 176 <label> 165 177 Enable Accommodation Booking: 166 178 </label> -
WAeUP_SRP/trunk/skins/waeup_fceokene/getPaymentsFolderInfo.py
r3865 r7711 13 13 """ 14 14 from Products.AdvancedQuery import Eq, Between, Le,In 15 16 pprops = context.portal_properties 17 payment_disabled = not pprops.enable_payment 15 18 16 19 mtool = context.portal_membership … … 63 66 info['payment_method'] = "online_payment" 64 67 info['prod_id'] = '83' 68 69 if payment_disabled: 70 info['payment_method'] = "" 65 71 66 72 # end customization
Note: See TracChangeset for help on using the changeset viewer.