Files
shop-praktikum/shop/source/tmp/smarty/de73e1f2da1e3262ef166f5494b10de1^%%C5^C52^C52B62B8%%order_overview.tpl.php
Nikolai Fesenko 8d227c9191 First upload
2025-02-02 13:37:56 +01:00

410 lines
21 KiB
PHP

<?php /* Smarty version 2.6.34, created on 2025-02-01 09:06:26
compiled from order_overview.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'oxmultilangassign', 'order_overview.tpl', 1, false),array('modifier', 'oxmultilangsal', 'order_overview.tpl', 26, false),array('modifier', 'oxtruncate', 'order_overview.tpl', 67, false),array('modifier', 'strip_tags', 'order_overview.tpl', 67, false),array('modifier', 'cat', 'order_overview.tpl', 113, false),array('modifier', 'oxupper', 'order_overview.tpl', 114, false),array('modifier', 'oxformdate', 'order_overview.tpl', 235, false),array('function', 'oxmultilang', 'order_overview.tpl', 22, false),array('function', 'oxinputhelp', 'order_overview.tpl', 162, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "headitem.tpl", 'smarty_include_vars' => array('title' => ((is_array($_tmp='GENERAL_ADMIN_TITLE')) ? $this->_run_mod_handler('oxmultilangassign', true, $_tmp) : smarty_modifier_oxmultilangassign($_tmp)))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php if ($this->_tpl_vars['readonly']): ?>
<?php $this->assign('readonly', 'readonly disabled'); ?>
<?php else: ?>
<?php $this->assign('readonly', ""); ?>
<?php endif; ?>
<form name="transfer" id="transfer" action="<?php echo $this->_tpl_vars['oViewConf']->getSelfLink(); ?>
" method="post">
<?php echo $this->_tpl_vars['oViewConf']->getHiddenSid(); ?>
<input type="hidden" name="oxid" value="<?php echo $this->_tpl_vars['oxid']; ?>
">
<input type="hidden" name="cl" value="order_overview">
</form>
<table cellspacing="0" cellpadding="0" border="0" width="98%">
<tr>
<td valign="top" class="edittext" width="50%">
<?php if ($this->_tpl_vars['edit']): ?>
<table width="200" border="0" cellspacing="0" cellpadding="0" nowrap>
<tr><td class="edittext" valign="top">
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_BILLADDRESS'), $this);?>
</b><br>
<br>
<?php if ($this->_tpl_vars['edit']->oxorder__oxbillcompany->value): ?><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_COMPANY'), $this);?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillcompany->value; ?>
<br><?php endif; ?>
<?php if ($this->_tpl_vars['edit']->oxorder__oxbilladdinfo->value): ?><?php echo $this->_tpl_vars['edit']->oxorder__oxbilladdinfo->value; ?>
<br><?php endif; ?>
<a class="jumplink" href="<?php echo $this->_tpl_vars['oViewConf']->getSelfLink(); ?>
cl=admin_user&oxid=<?php echo $this->_tpl_vars['edit']->oxorder__oxuserid->value; ?>
" target="basefrm" onclick="_homeExpActByName('admin_user');"><?php echo ((is_array($_tmp=$this->_tpl_vars['edit']->oxorder__oxbillsal->value)) ? $this->_run_mod_handler('oxmultilangsal', true, $_tmp) : smarty_modifier_oxmultilangsal($_tmp)); ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillfname->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbilllname->value; ?>
</a><br>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillstreet->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillstreetnr->value; ?>
<br>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillstateid->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillzip->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillcity->value; ?>
<br>
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillcountry->value; ?>
<br>
<?php if ($this->_tpl_vars['edit']->oxorder__oxbillcompany->value && $this->_tpl_vars['edit']->oxorder__oxbillustid->value): ?>
<br>
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_VATID'), $this);?>
:
<?php echo $this->_tpl_vars['edit']->oxorder__oxbillustid->value; ?>
<br>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/message_vat_check_failed.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php endif; ?>
<br>
<?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_EMAIL'), $this);?>
: <a href="mailto:<?php echo $this->_tpl_vars['edit']->oxorder__oxbillemail->value; ?>
?subject=<?php echo $this->_tpl_vars['actshop']; ?>
- <?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_ORDERNUM'), $this);?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxordernr->value; ?>
" class="edittext"><em><?php echo $this->_tpl_vars['edit']->oxorder__oxbillemail->value; ?>
</em></a><br>
<br>
</td>
<?php if ($this->_tpl_vars['edit']->oxorder__oxdelstreet->value): ?>
<td class="edittext" valign="top">
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_DELIVERYADDRESS'), $this);?>
:</b><br>
<br>
<?php if ($this->_tpl_vars['edit']->oxorder__oxdelcompany->value): ?><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_COMPANY'), $this);?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelcompany->value; ?>
<br><?php endif; ?>
<?php if ($this->_tpl_vars['edit']->oxorder__oxdeladdinfo->value): ?><?php echo $this->_tpl_vars['edit']->oxorder__oxdeladdinfo->value; ?>
<br><?php endif; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['edit']->oxorder__oxdelsal->value)) ? $this->_run_mod_handler('oxmultilangsal', true, $_tmp) : smarty_modifier_oxmultilangsal($_tmp)); ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelfname->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdellname->value; ?>
<br>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelstreet->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelstreetnr->value; ?>
<br>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelstateid->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelzip->value; ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelcity->value; ?>
<br>
<?php echo $this->_tpl_vars['edit']->oxorder__oxdelcountry->value; ?>
<br>
<br>
</td>
<?php endif; ?>
</tr></table>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_ITEM'), $this);?>
:</b><br>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<?php $_from = $this->_tpl_vars['orderArticles']; if (($_from instanceof StdClass) || (!is_array($_from) && !is_object($_from))) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['listitem']):
?>
<tr>
<td valign="top" class="edittext"><?php echo $this->_tpl_vars['listitem']->oxorderarticles__oxamount->value; ?>
* </td>
<td valign="top" class="edittext">&nbsp;<?php echo $this->_tpl_vars['listitem']->oxorderarticles__oxartnum->value; ?>
</td>
<td valign="top" class="edittext">&nbsp;<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['listitem']->oxorderarticles__oxtitle->getRawValue())) ? $this->_run_mod_handler('oxtruncate', true, $_tmp, 20, "") : smarty_modifier_oxtruncate($_tmp, 20, "")))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
<?php if ($this->_tpl_vars['listitem']->oxwrapping__oxname->value): ?>&nbsp;(<?php echo $this->_tpl_vars['listitem']->oxwrapping__oxname->value; ?>
)&nbsp;<?php endif; ?></td>
<td valign="top" class="edittext">&nbsp;<?php echo $this->_tpl_vars['listitem']->oxorderarticles__oxselvariant->value; ?>
</td>
<?php if ($this->_tpl_vars['edit']->isNettoMode()): ?>
<td valign="top" class="edittext">&nbsp;&nbsp;<?php echo $this->_tpl_vars['listitem']->getNetPriceFormated(); ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxcurrency->value; ?>
</td>
<?php else: ?>
<td valign="top" class="edittext">&nbsp;&nbsp;<?php echo $this->_tpl_vars['listitem']->getTotalBrutPriceFormated(); ?>
<?php echo $this->_tpl_vars['edit']->oxorder__oxcurrency->value; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['listitem']->getPersParams()): ?>
<td valign="top" class="edittext">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/persparams.tpl", 'smarty_include_vars' => array('persParams' => $this->_tpl_vars['listitem']->getPersParams())));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</td>
<?php endif; ?>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<br>
<?php if ($this->_tpl_vars['edit']->oxorder__oxstorno->value): ?>
<span class="orderstorno"><?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_STORNO'), $this);?>
</span><br><br>
<?php endif; ?>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_ATALL'), $this);?>
: </b><br><br>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "include/order_info.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<br>
<table>
<tr>
<td class="edittext"><?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_PAYMENTTYPE'), $this);?>
: </td>
<td class="edittext"><b><?php echo $this->_tpl_vars['paymentType']->oxpayments__oxdesc->value; ?>
</b></td>
</tr>
<tr>
<td class="edittext"><?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_DELTYPE'), $this);?>
: </td>
<td class="edittext"><b><?php echo $this->_tpl_vars['deliveryType']->oxdeliveryset__oxtitle->value; ?>
</b><br></td>
</tr>
</table>
<br>
<?php if ($this->_tpl_vars['paymentType']->aDynValues): ?>
<table cellspacing="0" cellpadding="0" border="0">
<?php $_from = $this->_tpl_vars['paymentType']->aDynValues; if (($_from instanceof StdClass) || (!is_array($_from) && !is_object($_from))) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?>
<?php $this->assign('ident', ((is_array($_tmp='ORDER_OVERVIEW_')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['value']->name) : smarty_modifier_cat($_tmp, $this->_tpl_vars['value']->name))); ?>
<?php $this->assign('ident', ((is_array($_tmp=$this->_tpl_vars['ident'])) ? $this->_run_mod_handler('oxupper', true, $_tmp) : smarty_modifier_oxupper($_tmp))); ?>
<tr>
<td class="edittext">
<?php echo smarty_function_oxmultilang(array('ident' => $this->_tpl_vars['ident']), $this);?>
:&nbsp;
</td>
<td class="edittext">
<?php echo $this->_tpl_vars['value']->value; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table><br>
<?php endif; ?>
<?php if ($this->_tpl_vars['edit']->oxorder__oxremark->value): ?>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_REMARK'), $this);?>
</b>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="edittext wrap"><?php echo $this->_tpl_vars['edit']->oxorder__oxremark->value; ?>
</td>
</tr>
</table>
<?php endif; ?>
<?php endif; ?>
</td>
<td>&nbsp;&nbsp;
</td>
<td valign="top" class="edittext">
<?php if ($this->_tpl_vars['edit']): ?>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_ORDERNUM'), $this);?>
: </b><?php echo $this->_tpl_vars['edit']->oxorder__oxordernr->value; ?>
<br>
<?php $this->assign('user', $this->_tpl_vars['edit']->getOrderUser()); ?>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'CUSTOMERNUM'), $this);?>
: </b><a class="jumplink" href="<?php echo $this->_tpl_vars['oViewConf']->getSelfLink(); ?>
cl=admin_user&oxid=<?php echo $this->_tpl_vars['edit']->oxorder__oxuserid->value; ?>
" target="basefrm" onclick="_homeExpActByName('admin_user');"><?php echo $this->_tpl_vars['user']->oxuser__oxcustnr->value; ?>
</a><br>
<br>
<form name="myedit" id="myedit" action="<?php echo $this->_tpl_vars['oViewConf']->getSelfLink(); ?>
" method="post">
<?php echo $this->_tpl_vars['oViewConf']->getHiddenSid(); ?>
<input type="hidden" name="cl" value="order_overview">
<input type="hidden" name="fnc" value="changefolder">
<input type="hidden" name="oxid" value="<?php echo $this->_tpl_vars['oxid']; ?>
">
<input type="hidden" name="folderclass" value="oxorder">
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_INFOLDER'), $this);?>
:&nbsp;
<select name="setfolder" class="folderselect" onChange="document.myedit.submit();" <?php echo $this->_tpl_vars['readonly']; ?>
>
<?php $_from = $this->_tpl_vars['afolder']; if (($_from instanceof StdClass) || (!is_array($_from) && !is_object($_from))) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['field'] => $this->_tpl_vars['color']):
?>
<option value="<?php echo $this->_tpl_vars['field']; ?>
" <?php if ($this->_tpl_vars['edit']->oxorder__oxfolder->value == $this->_tpl_vars['field'] || ( ((is_array($_tmp=$this->_tpl_vars['field'])) ? $this->_run_mod_handler('oxmultilangassign', true, $_tmp) : smarty_modifier_oxmultilangassign($_tmp)) == $this->_tpl_vars['edit']->oxorder__oxfolder->value )): ?>SELECTED<?php endif; ?> style="color: <?php echo $this->_tpl_vars['color']; ?>
;"><?php echo smarty_function_oxmultilang(array('ident' => $this->_tpl_vars['field'],'noerror' => true), $this);?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>
<?php echo smarty_function_oxinputhelp(array('ident' => 'HELP_ORDER_OVERVIEW_INFOLDER'), $this);?>
&nbsp;&nbsp;
</form>
<?php endif; ?>
<?php if ($this->_tpl_vars['edit'] && $this->_tpl_vars['edit']->oxorder__oxtransstatus->value): ?>
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_INTSTATUS'), $this);?>
:&nbsp;<b><?php echo $this->_tpl_vars['edit']->oxorder__oxtransstatus->value; ?>
</b><br>
<?php endif; ?>
<br>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_REVIEW'), $this);?>
: </b>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="edittext" height="20">
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_ORDERAMTODAY'), $this);?>
:
</td>
<td class="edittext">
&nbsp;<b><?php echo $this->_tpl_vars['ordercnt']; ?>
</b>
</td>
</tr>
<tr>
<td class="edittext" height="20">
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_ORDERSUMTODAY'), $this);?>
:
</td>
<td class="edittext">
&nbsp;<b><?php echo $this->_tpl_vars['ordersum']; ?>
</b> <?php echo $this->_tpl_vars['currency']->name; ?>
</td>
</tr>
<tr>
<td class="edittext" height="20">
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_ORDERAMTOTAL'), $this);?>
:
</td>
<td class="edittext">
&nbsp;<b><?php echo $this->_tpl_vars['ordertotalcnt']; ?>
</b>
</td>
</tr>
<tr>
<td class="edittext" height="20">
<?php echo smarty_function_oxmultilang(array('ident' => 'ORDER_OVERVIEW_ORDERSUMTOTAL'), $this);?>
:
</td>
<td class="edittext">
&nbsp;<b><?php echo $this->_tpl_vars['ordertotalsum']; ?>
</b> <?php echo $this->_tpl_vars['currency']->name; ?>
</td>
</tr>
</table>
<br>
<?php if ($this->_tpl_vars['edit']): ?>
<table cellspacing="0" cellpadding="0" border="0">
<form name="sendorder" id="sendorder" action="<?php echo $this->_tpl_vars['oViewConf']->getSelfLink(); ?>
" method="post">
<?php echo $this->_tpl_vars['oViewConf']->getHiddenSid(); ?>
<input type="hidden" name="cl" value="order_overview">
<input type="hidden" name="fnc" value="sendorder">
<input type="hidden" name="oxid" value="<?php echo $this->_tpl_vars['oxid']; ?>
">
<input type="hidden" name="editval[oxorder__oxid]" value="<?php echo $this->_tpl_vars['oxid']; ?>
">
<tr>
<td class="edittext">
</td>
<td class="edittext" style="border : 1px #A9A9A9; border-style : solid solid solid solid; padding-top: 5px; padding-bottom: 5px; padding-right: 5px; padding-left: 5px;">
<input type="submit" class="edittext" name="save" value="&nbsp;&nbsp;<?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_NOWSEND'), $this);?>
&nbsp;&nbsp;" <?php echo $this->_tpl_vars['readonly']; ?>
><br>
<?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_SENDEMAIL'), $this);?>
<input class="edittext" type="checkbox" name="sendmail" value='1' <?php echo $this->_tpl_vars['readonly']; ?>
>
</td>
</tr>
</form>
<tr>
<td class="edittext">
</td>
<td class="edittext" valign="bottom"><br>
<?php if ($this->_tpl_vars['oView']->canResetShippingDate()): ?>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_SENDON'), $this);?>
</b><b><?php echo ((is_array($_tmp=$this->_tpl_vars['edit']->oxorder__oxsenddate)) ? $this->_run_mod_handler('oxformdate', true, $_tmp, 'datetime', true) : smarty_modifier_oxformdate($_tmp, 'datetime', true)); ?>
</b>
<?php else: ?>
<b><?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_NOSENT'), $this);?>
</b>
<?php endif; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['oView']->canResetShippingDate()): ?>
<form name="resetorder" id="resetorder" action="<?php echo $this->_tpl_vars['oViewConf']->getSelfLink(); ?>
" method="post">
<?php echo $this->_tpl_vars['oViewConf']->getHiddenSid(); ?>
<input type="hidden" name="cl" value="order_overview">
<input type="hidden" name="fnc" value="resetorder">
<input type="hidden" name="oxid" value="<?php echo $this->_tpl_vars['oxid']; ?>
">
<input type="hidden" name="editval[oxorder__oxid]" value="<?php echo $this->_tpl_vars['oxid']; ?>
">
<tr>
<td class="edittext">
</td>
<td class="edittext"><br>
<input type="submit" class="edittext" name="save" value="<?php echo smarty_function_oxmultilang(array('ident' => 'GENERAL_SETBACKSENDTIME'), $this);?>
" <?php echo $this->_tpl_vars['readonly']; ?>
>
</td>
</tr>
</form>
<?php endif; ?>
</table>
<?php endif; ?>
</td>
<td valign="top" class="edittext" align="right">
</td>
</tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "bottomnaviitem.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "bottomitem.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>