{*
* 2007-2012 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-2012 PrestaShop SA
*  @version  Release: $Revision: 7465 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

{capture name=path}{l s='Bank wire payment' mod='bankwire'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<div class="main">
    <div class="col-main">
        <div class="account-login row">   
            <div class="page-title">
                <h1 class='span12'>{l s='Order summary' mod='bankwire'}</h1>
            </div>
            <div class="span12">

                {assign var='current_step' value='payment'}
                {include file="$tpl_dir./order-steps.tpl"}
   <div class="clear-class"></div>
                {if $nbProducts <= 0}
                    <p class="warning">{l s='Your shopping cart is empty.' mod='bankwire'}</p>
                {else}

                   
                    
                     <div class="page-title">
               <h3>{l s='Bank wire payment' mod='bankwire'}</h3>
            </div>
                    <form action="{$link->getModuleLink('bankwire', 'validation')}" method="post">
                        <p>
                            <img src="{$this_path}bankwire.jpg" alt="{l s='bank wire' mod='bankwire'}" width="86" height="49" style="float:left; margin: 0px 10px 5px 0px;" />
                            {l s='You have chosen to pay by bank wire.' mod='bankwire'}
                            <br/><br />
                            {l s='Here is a short summary of your order:' mod='bankwire'}
                        </p>
                        <p style="margin-top:20px;">
                            - {l s='The total amount of your order is' mod='bankwire'}
                            <span id="amount" class="price">{displayPrice price=$total}</span>
                            {if $use_taxes == 1}
                                {l s='(tax incl.)' mod='bankwire'}
                            {/if}
                        </p>
                        <p>
                            -
                            {if $currencies|@count > 1}
                                {l s='We accept several currencies to be sent by bank wire.' mod='bankwire'}
                                <br /><br />
                                {l s='Choose one of the following:' mod='bankwire'}
                                <select id="currency_payement" name="currency_payement" onchange="setCurrency($('#currency_payement').val());">
                                    {foreach from=$currencies item=currency}
                                        <option value="{$currency.id_currency}" {if $currency.id_currency == $cust_currency}selected="selected"{/if}>{$currency.name}</option>
                                    {/foreach}
                                </select>
                            {else}
                                {l s='We accept the following currency to be sent by bank wire:' mod='bankwire'}&nbsp;<b>{$currencies.0.name}</b>
                                <input type="hidden" name="currency_payement" value="{$currencies.0.id_currency}" />
                            {/if}
                        </p>
                        <p>
                            {l s='Bank wire account information will be displayed on the next page.' mod='bankwire'}
                            <br /><br />
                            <b>{l s='Please confirm your order by clicking \'I confirm my order\'' mod='bankwire'}.</b>
                        </p>
                        <p class="cart_navigation">
                            <button type="submit" name="submit"  class="button" ><span><span>{l s='I confirm my order' mod='bankwire'}</span></span></button>
                            <a href="{$link->getPageLink('order', true, NULL, "step=3")}" class="button float-right"><span><span>{l s='Other payment methods' mod='bankwire'}</span></sapn></a>
                        </p>
                    </form>
                {/if}

            </div>
        </div>
    </div>
</div>
