[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {default attribute_base=ContentObjectAttribute} 3 4 <div class="block"> 5 <label>{'Price'|i18n( 'design/standard/class/datatype' )}:</label> 6 <input id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}_price" class="ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" type="text" name="{$attribute_base}_data_price_{$attribute.id}" size="12" value="{$attribute.content.price|l10n( clean_currency )}" /> 7 {section show=$attribute.class_content.is_vat_included} 8 {* Entered price already includes VAT. *} 9 {section-else} 10 (+ {$attribute.content.selected_vat_type.name}, {$attribute.content.selected_vat_type.percentage}%) 11 {/section} 12 13 <div class="block"> 14 <label>{'VAT'|i18n( 'design/standard/class/datatype' )}:</label> 15 <select id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}_vat" class="ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" name="{$attribute_base}_ezprice_inc_ex_vat_{$attribute.id}"> 16 <option value="1" {section show=eq( $attribute.content.is_vat_included, true() )}selected="selected"{/section}>{'Price inc. VAT'|i18n( 'design/standard/class/datatype' )}</option> 17 <option value="2" {section show=eq( $attribute.content.is_vat_included, false() )}selected="selected"{/section}>{'Price ex. VAT'|i18n( 'design/standard/class/datatype' )}</option> 18 </select> 19 </div> 20 21 <div class="block"> 22 <label>{'VAT type'|i18n( 'design/standard/class/datatype' )}:</label> 23 {include uri='design:shop/vattype/edit.tpl' 24 select_name=concat( $attribute_base, "_ezprice_vat_id_", $attribute.id ) 25 vat_types=$attribute.content.vat_type 26 current_val=$attribute.content.selected_vat_type.id} 27 </div> 28 29 {/default}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |