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

105 lines
3.2 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-08-19 18:04:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_leasing.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c36d238fb2d6_33358747',
'has_nocache_code' => false,
'file_dependency' =>
array (
'19a665de956e7ddfca2bcea7cfdbf7ce182fb5e2' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_leasing.tpl',
1 => 1694432195,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c36d238fb2d6_33358747 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="col-md-4">
<div class="xinfo">
<i class="fas fa-car fa-2x fa-pull-left">&nbsp;</i>
<span> <?php echo $_smarty_tpl->tpl_vars['pkw']->value;?>
PKW Leasing</br></span>
</div>
</div>
<div class="col-md-4">
<div class="xinfo">
<i class="fas fa-truck-pickup fa-2x fa-pull-left">&nbsp;</i>
<span> <?php echo $_smarty_tpl->tpl_vars['cad']->value;?>
Caddy Leasing</br></span>
</div>
</div>
<div class="col-md-4">
<div class="xinfo">
<i class="fas fa-truck fa-2x fa-pull-left">&nbsp;</i>
<span> <?php echo $_smarty_tpl->tpl_vars['trp']->value;?>
Transporter Leasing</br></span>
</div>
<table class="no-style full" style="color: #dddddd">
<tr style="font-size:8pt">
<td width=" 90px" align="left">Kennz.</td>
<td width="100px" align="right">b.heute</td>
<td width="100px" align="right">schätzung</td>
<td width="100px" align="right">Datum:</td>
<td width="100px" align="right">Prüfung</td>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kmdata']->value, 'km');
$_smarty_tpl->tpl_vars['km']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['km']->value) {
$_smarty_tpl->tpl_vars['km']->do_else = false;
?>
<tr style="font-size:11pt">
<td nowrap align="left" ><?php echo $_smarty_tpl->tpl_vars['km']->value['kz'];?>
</td>
<td nowrap align="right"><?php echo $_smarty_tpl->tpl_vars['km']->value['pkm'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['km']->value['anz'] == 1) {?>
<td align="right"><span style='color:red'><?php echo $_smarty_tpl->tpl_vars['km']->value['gkm'];?>
</td>
<?php } else { ?>
<td nowrap align="right"><span style='color:yellowgreen'><?php echo $_smarty_tpl->tpl_vars['km']->value['gkm'];?>
</td>
<?php }?>
<td align="right"><span style='color:gray'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['km']->value['istkmdate'],"%d.%m.%Y");?>
</td>
<td align="right"><span style='color:#FF6E00'><?php echo $_smarty_tpl->tpl_vars['km']->value['istkm'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
<style>
.xinfo {
background: #115270;
color:#bbbbbb;
height: 50px;
padding: 6px;
border: 1px solid;
border-radius:10px;
margin-bottom: 8px;
margin-top: -10px;
font-size: 14pt;
}
</style>
<?php }
}