| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/sc/ |
Upload File : |
<?php
/* Smarty version 3.1.30, created on 2026-06-27 05:56:50
from "/var/www/clients/client1/web17/web/includes/templates/templates/widgets/day/tasks.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02aa95f5_53630814',
'has_nocache_code' => false,
'file_dependency' =>
array (
'30d51d495b70da7fa4305b9ab9eb35a258974a7f' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/day/tasks.tpl',
1 => 1780434062,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02aa95f5_53630814 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="card overview-head rounded-0">
<div class="p-0 rounded-0">
<div class="row">
<div class="col-8">
<h4 class="m-0 px-3 py-2">
<?php echo $_smarty_tpl->tpl_vars['template_title']->value;?>
</h4>
</div>
<div class="col-4 text-end p-1 px-4">
<div class="row g-0 mx-0">
<div class="col me-1" data-filter-info="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
"></div>
<select id="<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" class="col m-0 rounded-0 border list-filter-select" multiple="multiple">
<option value="specials">Zusatzleistungen</option>
<option value="payment">Probleme bei Zahlung</option>
<option value="terminal">Übergabe am Terminal</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="card border-0">
<div data-filter-list="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" class="striped-rows">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cars']->value, 'car', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['car']->value) {
?>
<?php $_smarty_tpl->_assignInScope('carFilter', array());
?>
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'payment';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'specials';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<div class="row g-0 p-3" data-filter-status="<?php echo implode('-',$_smarty_tpl->tpl_vars['carFilter']->value);?>
">
<div class="col-3">
<a href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['car']->value->invoice_id;?>
" class="d-block text-dark" title="zur Buchung von <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_lastname;?>
, <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_firstname;?>
gehen">
<span class="license-plate d-block lh-100" style="font-size:26px;font-weight:800 !important;"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;?>
</span>
<h5 class="m-0 text-secondary"><?php echo $_smarty_tpl->tpl_vars['car']->value->customer_lastname;?>
, <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_firstname;?>
</h5>
</a>
</div>
<div class="ps-4 col-2">
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_end == $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']) {?>
<h4 class="product-name mb-0"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_event;?>
</strong></h4>
<h6 class="product-name m-0 text-secondary text-uppercase"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</h6>
<?php } else { ?>
<h4 class="product-name mb-0 text-uppercase"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</strong></h4>
<h6 class="product-name m-0 text-secondary"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_event;?>
</h6>
<?php }?>
</div>
<div class="col">
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {?>
<span class="badge bg-danger p-1 ps-2 m-1 lh-100">
<i style="font-size: 32px;" class="material-icons float-start">payment</i>
<span style="font-size:24px;" class="float-end ms-2 text-uppercase bg-light text-danger px-2 py-1 rounded">Zahlung</span>
</span>
<?php }?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {?>
<?php $_smarty_tpl->_assignInScope('specialProducts', explode(",",$_smarty_tpl->tpl_vars['car']->value->booking_special));
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['specialProducts']->value, 'special');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['special']->value) {
?>
<span class="badge bg-primary p-1 ps-2 m-1 lh-100">
<i style="font-size: 32px;" class="material-icons text-white float-start">
<?php if ($_smarty_tpl->tpl_vars['special']->value == 4) {?>
local_car_wash
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 5) {?>
settings
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 6) {?>
local_car_wash
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 7) {?>
local_car_wash
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 11) {?>
all_inclusive
<?php }?>
</i>
<span style="font-size:24px;" class="float-end ms-2 text-primary text-uppercase bg-light px-2 py-1 rounded">
<?php if ($_smarty_tpl->tpl_vars['special']->value == 4) {?>
Politur
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 5) {?>
Werkstatt
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 6) {?>
Innen
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 7) {?>
Wäsche
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 11) {?>
Transfer
<?php }?>
</span>
</span>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<?php }?>
</div>
<div class="col-2 text-end lh-100">
<span class="d-inline-block w-75 shadow-none btn btn-outline-<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {?>danger<?php } else { ?>success<?php }?> border-0 p-2">
<i style="font-size:2rem;" class="material-icons float-start">euro_symbol</i>
<span class="lh-100 fw-bold float-end" style="font-size: 32px;">
<?php echo number_format($_smarty_tpl->tpl_vars['car']->value->price,2,",",".");?>
</span>
</span>
</div>
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {?>
<div class="col-md-auto text-end ms-3">
<span class="w-100 shadow-none btn btn-primary px-3 lh-100 admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode(array('invoice_id'=>$_smarty_tpl->tpl_vars['car']->value->invoice_id,'price'=>$_smarty_tpl->tpl_vars['car']->value->price)));?>
" data-template="invoice/payment.tpl" data-headline="Zahlung erfassen">
<i style="font-size:2rem;" class="material-icons">payment</i>
</span>
</div>
<?php }?>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->departures, 'car', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['car']->value) {
?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_valet)) {?>
<?php $_smarty_tpl->_assignInScope('carFilter', array());
?>
<?php $_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'terminal';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
?>
<div class="row g-0 p-3" data-filter-status="<?php echo implode('-',$_smarty_tpl->tpl_vars['carFilter']->value);?>
">
<div class="col-3">
<a href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['car']->value->invoice_id;?>
" class="d-block text-dark" title="zur Buchung von <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_lastname;?>
, <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_firstname;?>
gehen">
<span class="license-plate d-block lh-100" style="font-size:26px;font-weight:800 !important;"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;?>
</span>
<h5 class="m-0 text-secondary"><?php echo $_smarty_tpl->tpl_vars['car']->value->customer_lastname;?>
, <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_firstname;?>
</h5>
</a>
</div>
<div class="ps-4 col-2">
<h4 class="product-name mb-0 text-uppercase"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</strong></h4>
<h6 class="product-name m-0 text-secondary"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_event;?>
</h6>
</div>
<div class="col">
<span class="badge bg-info p-1 ps-2 m-1 lh-100">
<i style="font-size: 32px;" class="material-icons float-start">directions_boat</i>
<span style="font-size:24px;" class="float-end ms-2 text-uppercase bg-light text-info px-2 py-1 rounded">Terminal</span>
</span>
</div>
<div class="col-2 text-end lh-100">
<span class="d-inline-block w-75 shadow-none btn btn-outline-<?php if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 0) {?>danger<?php } else {
if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 4) {?>warning<?php } else { ?>success<?php }
}?> border-0 p-2">
<i style="font-size:2rem;" class="material-icons float-start">euro_symbol</i>
<span class="lh-100 fw-bold float-end" style="font-size: 32px;">
<?php echo number_format($_smarty_tpl->tpl_vars['car']->value->price,2,",",".");?>
</span>
</span>
</div>
</div>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<div class="row g-0 no-results"<?php if ((count($_smarty_tpl->tpl_vars['cars']->value)) > 0 || $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->valet > 0) {?> style="display:none;"<?php }?>>
<div class="col-12 text-center py-2">
<strong>- keine Fahrzeuge für <?php echo $_smarty_tpl->tpl_vars['template_title']->value;?>
gefunden -</strong>
</div>
</div>
</div>
<div class="overview-footer border-0 p-2 text-end">
<?php echo count($_smarty_tpl->tpl_vars['cars']->value);?>
<?php if ((count($_smarty_tpl->tpl_vars['cars']->value)) != 1) {?>Einträge<?php } else { ?>Eintrag<?php }?>
</div>
</div>
<?php }
}