jb-data.de/compile/f5c51698380ce827990714b3d235c57cc4e1979e_0.file.tinfo.tpl.php
2025-08-11 22:23:30 +02:00

64 lines
3 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-03-29 12:30:10
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tinfo.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6606a64205a086_09402838',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f5c51698380ce827990714b3d235c57cc4e1979e' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tinfo.tpl',
1 => 1694432193,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6606a64205a086_09402838 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="tinfo" class="panel panel-tbox">
<header class="panel-heading" style="font-size: 14pt;line-height:80%"><spawn class="fad fa-clipboard-list-check pull-left"></spawn>
<div class="panel-title">&nbsp;&nbsp;Planungshistory <?php echo $_smarty_tpl->tpl_vars['touranz']->value;?>
</div>
</header>
<div class="panel-body">
<table class="no-style full" style="margin: -10px">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'ti');
$_smarty_tpl->tpl_vars['ti']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ti']->value) {
$_smarty_tpl->tpl_vars['ti']->do_else = false;
?>
<tr align="right">
<td align="left" style="width:290px;font-size:10pt;">&nbsp;<strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['name'];?>
</strong></td>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['menge'] == 1) {?> <td style="width:60px;font-size: 10pt;color:#B50000"> <strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['zahl'];?>
x </strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['menge'] == 2) {?> <td style="width:60px;font-size: 10pt;color: orange"> <strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['zahl'];?>
x </strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['menge'] == 3) {?> <td style="width:60px;font-size: 10pt;color:#3c763d"> <strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['zahl'];?>
x </strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['status'] == 1) {?> <td style="width:70px;font-size: 7pt;color:#3c763d">&nbsp;<strong> <?php echo $_smarty_tpl->tpl_vars['ti']->value['last'];?>
</strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['status'] == 2) {?> <td style="width:70px;font-size: 7pt;color: orange">&nbsp;<strong> <?php echo $_smarty_tpl->tpl_vars['ti']->value['last'];?>
</strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['status'] == 3) {?> <td style="width:70px;font-size: 7pt;color:#B50000">&nbsp;<strong> <?php echo $_smarty_tpl->tpl_vars['ti']->value['last'];?>
</strong></td> <?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div><?php }
}