| 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/todolist.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02ada951_72721678',
'has_nocache_code' => false,
'file_dependency' =>
array (
'43897b09e1854beafaaa4384edbfaca61de6e5e5' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/day/todolist.tpl',
1 => 1780441849,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02ada951_72721678 (Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_assignInScope('dd', $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']);
if (!$_smarty_tpl->tpl_vars['cars']->value) {
$_smarty_tpl->_assignInScope('cars', array());
}
$_smarty_tpl->_assignInScope('terminals', array());
if ($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->departures) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->departures, 't');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['t']->value) {
if (!empty($_smarty_tpl->tpl_vars['t']->value->booking_valet)) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['terminals']) ? $_smarty_tpl->tpl_vars['terminals']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = $_smarty_tpl->tpl_vars['t']->value;
$_smarty_tpl->_assignInScope('terminals', $_tmp_array);
}
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
}?>
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center flex-wrap gap-2">
<span class="fw-bold"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['template_title']->value)===null||$tmp==='' ? 'ToDo-Liste & Hinweise' : $tmp);?>
<span class="badge bg-secondary rounded-pill ms-1"><?php echo (count($_smarty_tpl->tpl_vars['cars']->value))+(count($_smarty_tpl->tpl_vars['terminals']->value));?>
</span></span>
<div class="d-flex align-items-center gap-2">
<span class="small text-muted" data-filter-info="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
"></span>
<select id="<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" class="list-filter-select" multiple="multiple">
<option value="payment">Probleme bei Zahlung</option>
<option value="specials">Zusatzleistungen</option>
<option value="terminal">Übergabe am Terminal</option>
</select>
</div>
</div>
<div class="table-responsive">
<table class="table table-hover align-middle mb-0 daylist">
<thead>
<tr><th>Kennzeichen / Kunde</th><th>Schiff · Stellplatz</th><th>Aufgabe</th><th>Telefon</th><th class="text-end">Preis</th><th class="text-end">Aktion</th></tr>
</thead>
<tbody data-filter-list="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cars']->value, 'car');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['car']->value) {
?>
<?php $_smarty_tpl->_assignInScope('f', array());
?>
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['f']) ? $_smarty_tpl->tpl_vars['f']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'payment';
$_smarty_tpl->_assignInScope('f', $_tmp_array);
}?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['f']) ? $_smarty_tpl->tpl_vars['f']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'specials';
$_smarty_tpl->_assignInScope('f', $_tmp_array);
}?>
<tr data-filter-status="<?php echo implode('-',$_smarty_tpl->tpl_vars['f']->value);?>
">
<td>
<a href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['car']->value->invoice_id;?>
" class="text-decoration-none">
<span class="license-plate d-inline-block"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;?>
</span>
<div class="fw-bold text-body mt-1"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['car']->value->customer_lastname, ENT_QUOTES, 'UTF-8', true);?>
, <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['car']->value->customer_firstname, ENT_QUOTES, 'UTF-8', true);?>
</div>
</a>
</td>
<td><div class="fw-bold"><?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['car']->value->booking_event)===null||$tmp==='' ? '—' : $tmp), ENT_QUOTES, 'UTF-8', true);?>
</div><div class="small text-muted text-uppercase"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</div></td>
<td>
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {?><span class="svc-badge svc-pay"><i class="material-icons">payment</i>Zahlung</span><?php }?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {
$_smarty_tpl->_assignInScope('sp', explode(",",$_smarty_tpl->tpl_vars['car']->value->booking_special));
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sp']->value, 'special');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['special']->value) {
?><span class="svc-badge svc-special"><i class="material-icons"><?php if ($_smarty_tpl->tpl_vars['special']->value == 5) {?>settings<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 11) {?>all_inclusive<?php } else { ?>local_car_wash<?php }?></i><?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><?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
}?>
</td>
<td class="small"><?php if (!empty($_smarty_tpl->tpl_vars['car']->value->customer_phone)) {?><a href="tel:<?php echo $_smarty_tpl->tpl_vars['car']->value->customer_phone;?>
" class="text-decoration-none"><?php echo $_smarty_tpl->tpl_vars['car']->value->customer_phone;?>
</a><?php } else { ?><span class="text-muted">—</span><?php }?></td>
<td class="text-end fw-bold text-nowrap"><?php echo number_format($_smarty_tpl->tpl_vars['car']->value->price,2,",",".");?>
€</td>
<td class="text-end">
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {?>
<button class="btn btn-sm btn-primary 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 class="material-icons sm">payment</i> erfassen</button>
<?php } else { ?><span class="text-muted small">—</span><?php }?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['terminals']->value, 'car');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['car']->value) {
?>
<tr data-filter-status="terminal">
<td>
<a href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['car']->value->invoice_id;?>
" class="text-decoration-none">
<span class="license-plate d-inline-block"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;?>
</span>
<div class="fw-bold text-body mt-1"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['car']->value->customer_lastname, ENT_QUOTES, 'UTF-8', true);?>
, <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['car']->value->customer_firstname, ENT_QUOTES, 'UTF-8', true);?>
</div>
</a>
</td>
<td><div class="fw-bold"><?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['car']->value->booking_event)===null||$tmp==='' ? '—' : $tmp), ENT_QUOTES, 'UTF-8', true);?>
</div><div class="small text-muted text-uppercase"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</div></td>
<td><span class="svc-badge svc-valet"><i class="material-icons">directions_boat</i>Terminalübergabe</span></td>
<td class="small"><?php if (!empty($_smarty_tpl->tpl_vars['car']->value->customer_phone)) {?><a href="tel:<?php echo $_smarty_tpl->tpl_vars['car']->value->customer_phone;?>
" class="text-decoration-none"><?php echo $_smarty_tpl->tpl_vars['car']->value->customer_phone;?>
</a><?php } else { ?><span class="text-muted">—</span><?php }?></td>
<td class="text-end fw-bold text-nowrap"><?php echo number_format($_smarty_tpl->tpl_vars['car']->value->price,2,",",".");?>
€</td>
<td class="text-end"><span class="text-muted small">—</span></td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<tr class="no-results"<?php if ((count($_smarty_tpl->tpl_vars['cars']->value)) > 0 || (count($_smarty_tpl->tpl_vars['terminals']->value)) > 0) {?> style="display:none;"<?php }?>>
<td colspan="6" class="text-center text-muted py-4">– keine offenen Aufgaben für diesen Tag –</td>
</tr>
</tbody>
</table>
</div>
</div>
<?php }
}