66 lines
2.3 KiB
Smarty
66 lines
2.3 KiB
Smarty
{**
|
|
* 2010-2020 Webkul.
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* All right is reserved,
|
|
* Please go through this link for complete license : https://store.webkul.com/license.html
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade this module to newer
|
|
* versions in the future. If you wish to customize this module for your
|
|
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
|
|
*
|
|
* @author Webkul IN <support@webkul.com>
|
|
* @copyright 2010-2020 Webkul IN
|
|
* @license https://store.webkul.com/license.html
|
|
*}
|
|
|
|
<div class="wk-address-block">
|
|
<ul class="nav nav-tabs">
|
|
<li class="nav-item">
|
|
<a class="nav-link active" href="#wk-existing-delivery" data-toggle="tab">
|
|
{l s='Delivery Address' mod='wkonepagecheckout'}
|
|
</a>
|
|
</li>
|
|
|
|
<!--<li class="nav-item wk-disabled-invoice {if !Configuration::get('WK_CHECKOUT_DELIVERY_AS_INVOICE')}disabled{/if}">
|
|
<a class="nav-link" href="#wk-existing-invoice" {if !Configuration::get('WK_CHECKOUT_DELIVERY_AS_INVOICE')}data-toggle="tab"{/if}>
|
|
{l s='Invoice Address' mod='wkonepagecheckout'}
|
|
</a>
|
|
</li>-->
|
|
</ul>
|
|
<div class="tab-content" id="tab-content">
|
|
<div class="tab-pane fade in active" id="wk-existing-delivery">
|
|
{block name='wk_existing_delivery_address'}
|
|
{include file="module:wkonepagecheckout/views/templates/front/content/_partials/wk_existing_delivery_address.tpl"}
|
|
{/block}
|
|
|
|
<!-- Add new delivery address -->
|
|
<div class="box {if $customer.addresses|count > 0}wkhide{/if}" id="wk-new-delivery">
|
|
{block name='wk_delivery_address'}
|
|
{include file="module:wkonepagecheckout/views/templates/front/content/_partials/wk_delivery_address.tpl"}
|
|
{/block}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="wk-existing-invoice">
|
|
{block name='wk_existing_invoice_address'}
|
|
{include file="module:wkonepagecheckout/views/templates/front/content/_partials/wk_existing_invoice_address.tpl"}
|
|
{/block}
|
|
|
|
<!-- Add new invoice address -->
|
|
<div class="box {if $customer.addresses|count > 0}wkhide{/if}" id="wk-new-invoice">
|
|
{block name='wk_invoice_address'}
|
|
{include file="module:wkonepagecheckout/views/templates/front/content/_partials/wk_invoice_address.tpl"}
|
|
{/block}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="hook-display-after-carrier">
|
|
{hook h='displayAfterCarrier'}
|
|
</div>
|
|
</div>
|