garancia/themes/default/order-payment.tpl
2016-10-10 15:24:25 +02:00

234 lines
8.6 KiB
Smarty
Executable File

{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if !$opc}
<script type="text/javascript">
// <![CDATA[
var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}';
var currencyRate = '{$currencyRate|floatval}';
var currencyFormat = '{$currencyFormat|intval}';
var currencyBlank = '{$currencyBlank|intval}';
var txtProduct = "{l s='product' js=1}";
var txtProducts = "{l s='products' js=1}";
// ]]>
</script>
{/if}
{capture name=path}{l s='Mon paiement'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<div class="borderGreen auto">
<h1>[{l s='Mon paiement'}]</h1>
{assign var="current_step" value="payment"}
{include file="$tpl_dir./order-opc-steps.tpl"}
<div class="contenu">
{include file="$tpl_dir./errors.tpl"}
{if $HOOK_PAYMENT}
<div id="HOOK_PAYMENT">{$HOOK_PAYMENT}</div>
{else}
<p class="warning">{l s='No payment modules have been installed.'}</p>
{/if}
<div class="paiement_block">
<div class="top"></div>
<div class="repeat">
<div id="HOOK_TOP_PAYMENT">{$HOOK_TOP_PAYMENT}</div>
<div id="order-detail-content" class="table_block">
<h2>{l s='Récapitulatif'}</h2>
<h3>{l s='Panier'}</h3>
<table id="cart_summary" class="std stepEnd">
<tfoot>
<tr class="cart_total_voucher" {if $total_discounts == 0}style="display:none"{/if}>
<td colspan="4">
<h3>{l s='Total vouchers'}</h3>
</td>
<td class="price-discount price" id="total_discount">
{if $use_taxes}
{if $priceDisplay}
{displayPrice price=$total_discounts_tax_exc*-1}
{else}
{displayPrice price=$total_discounts*-1}
{/if}
{else}
{displayPrice price=$total_discounts_tax_exc*-1}
{/if}
</td>
</tr>
<tr class="cart_total_voucher" {if $total_wrapping == 0}style="display:none"{/if}>
<td colspan="4">
<h3>{if $use_taxes}
{if $priceDisplay}
{if $display_tax_label}{l s='Total gift wrapping (tax excl.):'}{else}{l s='Total gift wrapping cost:'}{/if}
{else}
{if $display_tax_label}{l s='Total gift wrapping (tax incl.)'}{else}{l s='Total gift wrapping cost:'}{/if}
{/if}
{else}
{l s='Total gift wrapping cost:'}
{/if}</h3>
</td>
<td class="price-discount price" id="total_wrapping">
{if $use_taxes}
{if $priceDisplay}
{displayPrice price=$total_wrapping_tax_exc}
{else}
{displayPrice price=$total_wrapping}
{/if}
{else}
{displayPrice price=$total_wrapping_tax_exc}
{/if}
</td>
</tr>
{if !$virtualCart}
{if $echantillons && $echantillons_selected|@count>0}
<tr>
<td colspan="4" class="align_left">
<h3>{l s='Echantillons'}</h3>
{assign var=compteur value=0}
<p>{foreach from=$echantillons item=echantillon}{if IN_ARRAY($echantillon.id_product,$echantillons_selected)}{if $compteur>0}, {/if}{$echantillon.name}{assign var=compteur value=1}{/if}
{/foreach}</p>
</td>
<td></td>
</tr>
{else}
<tr>
<td colspan="4" class="align_left">
<h3>{l s='Echantillons'}</h3>
<br/><p>{l s='Vous n\'avez pas sélectionné vos échantillons gratuits'}
<br/><br/><a href="{$link->getPageLink('order.php')}" class="button">{l s='Je choisis mes échantillons'}</a>
</p></td>
<td></td>
</tr>
{/if}
{if $carrier}
<tr>
<td colspan="4" class="align_left">
<h3>{$carrier->name} : {convertPrice price=$total_shipping}</h3>
{if $carrier->delay!=""}<p>{l s='Livraison de votre commande'} {$carrier->delay}</p>{/if}
</td>
<td></td>
</tr>
{/if}
{/if}
<tr>
<td colspan="4" class="align_left">
<h3>{l s='NOTEZ BIEN'}</h3>
<br/><p>{l s='Si vous avez choisi une livraison hors France Métropolitaine et hors UE, et en fonction des lois de votre pays de destination, votre colis peut être soumis à des taxes locales à son arrivée.'}
</p></td>
<td></td>
</tr>
<tr class="cart_total">
<td colspan="4">
<a href="{$link->getPageLink('order', true, NULL, "step=0")}" class="button_grey">{l s='Modifier'}</a>
<h3>{l s='TOTAL'}</h3>
<p>{l s='DONT TVA 19.6%'}</p>
</td>
<td class="price" id="total_price_container">
<span>{displayPrice price=$total_price}</span>
<small id="total_tax">{displayPrice price=$total_tax}</small>
</td>
</tr>
</tfoot>
<tbody>
{foreach from=$products item=product name=productLoop}
{if $product.id_category_default!=12}
{assign var='productId' value=$product.id_product}
{assign var='productAttributeId' value=$product.id_product_attribute}
{assign var='quantityDisplayed' value=0}
{assign var='cannotModify' value=1}
{assign var='odd' value=$product@iteration%2}
{assign var='noDeleteButton' value=1}
{* Display the product line *}
{include file="$tpl_dir./shopping-cart-product-line-step3.tpl"}
{/if}
{/foreach}
{foreach $gift_products as $product}
{assign var='productId' value=$product.id_product}
{assign var='productAttributeId' value=$product.id_product_attribute}
{assign var='quantityDisplayed' value=0}
{assign var='odd' value=($product@iteration+$last_was_odd)%2}
{assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId)}
{assign var='cannotModify' value=1}
{* Display the gift product line *}
{include file="./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}
{/foreach}
</tbody>
</table>
</div>
<div class="orderAdresses">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<h2>{l s='Adresse de livraison'}</h2>
<ul>
{if isset($carrier_module_call)}
{$carrier_module_call}
{else}
<li>{$delivery->firstname} {$delivery->lastname}</li>
<li>{$delivery->address1}</li>
{if $delivery->address2}<li>{$delivery->address2}</li>{/if}
<li>{$delivery->postcode} {$delivery->city}</li>
<li>{$delivery->country }</li>
{/if}
</ul>
</td>
<td>
<h2>{l s='Adresse de facturation'}</h2>
<ul>
<li>{$invoice->firstname} {$invoice->lastname}</li>
<li>{$invoice->address1}</li>
{if $invoice->address2}<li>{$invoice->address2}</li>{/if}
<li>{$invoice->postcode} {$invoice->city}</li>
<li>{$invoice->country }</li>
</ul>
</td>
</tr>
<tr>
<td>
<ul>
<li><a href="{$link->getPageLink('address.php')}?id_address={$delivery->id}" class="button_grey">{l s='Modifier'}</a></li>
</ul>
</td>
<td>
<ul>
<li><a href="{$link->getPageLink('address.php')}?id_address={$invoice->id}" class="button_grey">{l s='Modifier'}</a></li>
</ul>
</td>
</tr>
</table>
</div>
<div class="cadeau">
<p class="bold">{l s='Emballage cadeau :'} {if $cart->gift==0}{l s='Non'}{else}{l s='Oui'}{/if}</p>
{if $cart->gift_message}<p class="bold" style="padding-bottom:10px">{l s='votre message personnalisé :'}</p>
<p>{$cart->gift_message}</p>
{/if}
<p><a href="{$link->getPageLink('order', true, NULL, "step=1")}" class="button_grey">{l s='Modifier'}</a></p>
</div>
<div class="clear"></div>
</div>
<div class="bot"></div>
</div>
</div>
<div class="clear"></div>
</div>