54 lines
1.8 KiB
Smarty
54 lines
1.8 KiB
Smarty
{extends "index.tpl"}
|
|
|
|
{block "css-entry" append}
|
|
{encore_entry_link_tags entry='cart'}
|
|
{/block}
|
|
|
|
{block "header"}
|
|
{include "ordering/ordering.header.tpl"}
|
|
{/block}
|
|
|
|
{block "main"}
|
|
{block "tpl-vars"}
|
|
{$body.stepName = 5}
|
|
{$body.steps[0] = [title => 'Košík']}
|
|
{$body.steps[1] = [title => 'Doprava a platba']}
|
|
{$body.steps[2] = [title => 'Dodací údaje']}
|
|
{$body.steps[3] = [title => 'Souhrn']}
|
|
{* todo translate ? *}
|
|
{/block}
|
|
<main class="main main-ordering-success">
|
|
{block 'order-process'}
|
|
<div class="container-fluid order-process-container">
|
|
{include "ordering/ordering.process.tpl" last_step=true}
|
|
</div>
|
|
{/block}
|
|
|
|
<div class="container">
|
|
{change_currency currency=$body.order->currency}
|
|
{get_order_info type='conversion_sent' order=$body.order assign='conversion_sent'}
|
|
{if !isDebug() and $body.orderSent and ($conversion_sent or $smarty.get.force_conversion)}
|
|
{include "orderViewTracking.tpl"}
|
|
{/if}
|
|
|
|
{if $body.payment and $body.payment->hasPaymentDescription() and !$body.order->isPaid()}
|
|
<div class="page-ordersuccess awaiting-payment payment-{$body.payment.class|lower}">
|
|
{include "block.messages.tpl"}
|
|
{block "awaiting-payment"}
|
|
{get_smarty assign="smartyObject"}
|
|
{$body.payment->getOrderViewDescription($smartyObject) nofilter}
|
|
{/block}
|
|
</div>
|
|
{else}
|
|
<div class="page-ordersuccess">
|
|
{block "ordersuccess-text"}
|
|
{include "block.messages.tpl"}
|
|
{insert_page type="ORDER_SUCCESS" use_default=1}
|
|
{/block}
|
|
</div>
|
|
{/if}
|
|
{/change_currency}
|
|
</div>
|
|
</main>
|
|
{/block}
|