Files
kupshop/web/templates/x/orderView.tpl
2025-08-02 16:30:27 +02:00

34 lines
850 B
Smarty

{extends "index.tpl"}
{block "css-entry" append}
{encore_entry_link_tags entry='cart'}
{if $ctrl.logged}
{encore_entry_link_tags entry='user'}
{/if}
{/block}
{block "main-class"}{if $ctrl.logged}main-account{/if} main-orderview{/block}
{block content}
{if !$ctrl.logged}
<h1>{t}Objednávka č.{/t} {$body.order.order_no}</h1>
{include "account/orderView-inner.tpl"}
{else}
<h1>{t}Objednávka č.{/t} {$body.order.order_no}</h1>
<div class="account-wrapper">
{include "account/account-sidemenu.tpl"}
<div class="account-content">
{include "account/orderView-inner.tpl"}
</div>
</div>
{/if}
{/block}
{block "js-entry" append}
{encore_entry_script_tags entry='cart'}
{if $ctrl.logged}
{encore_entry_script_tags entry='user'}
{/if}
{/block}