| 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/booking/overview.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02cab0c9_33147485',
'has_nocache_code' => false,
'file_dependency' =>
array (
'611ce93457734374f91b9932b76c42ef6879a63e' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/booking/overview.tpl',
1 => 1781844198,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02cab0c9_33147485 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="row g-0 mt-3 mx-2">
<div class="col-4">
<div class="row border g-0 p-2 mx-2 overview-info">
<?php if ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_departure < 0 && $_smarty_tpl->tpl_vars['booking']->value->quick->checkin->checked_in == (count($_smarty_tpl->tpl_vars['booking']->value->bookings)) && !empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) && ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment != 4 && $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment != 0) && $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3) {?>
<div class="col px-2 py-1 lh-100">
<h6 class="m-0">Abgeschlossen</h6>
<span class="oi-sub">Leistungen wurden erfolgreich erbracht</span>
</div>
<div class="col-md-auto text-end">
<i class="material-icons badge bg-success p-1" style="font-size:2rem;">done_all</i>
</div>
<?php } else { ?>
<div class="col px-2 py-1 lh-100">
<h6 class="m-0">
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status == 3) {?>
Buchung storniert
<?php } else { ?>
<?php if (($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting >= 0 || $_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_departure >= 0) || ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->checked_in == 1 && $_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting <= 0)) {?>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->checked_in == 1) {?>
Anreise erfolgt
<?php } else { ?>
Buchungsstatus
<?php }?>
<?php } else { ?>
Aktion erforderlich
<?php }?>
<?php }?>
</h6>
<span class="oi-sub">
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status == 3) {?>
Buchungsdaten verlieren damit Gültigkeit
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->checked_in == 0) {?>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting > 2) {?>
Anreise in <?php echo number_format($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting,0,",",".");?>
Tagen erwartet
<?php } elseif ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting == 2) {?>
Anreise für übermorgen erwartet
<?php } elseif ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting == 1) {?>
Anreise für morgen erwartet
<?php } elseif ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->days_waiting == 0) {?>
Anreise für heute erwartet
<?php } else { ?>
Anreise nicht erfolgt
<?php }?>
<?php } else { ?>
<?php if ((count($_smarty_tpl->tpl_vars['booking']->value->bookings)) <= 1) {?>
Fahrzeug befindet sich auf dem Gelände
<?php } else { ?>
Fahrzeuge befinden sich auf dem Gelände
<?php }?>
<?php }?>
<?php }?>
</span>
</div>
<div class="col-md-auto text-end">
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status == 3) {?>
<span class="badge bg-danger text-white p-1">
<span class="lh-100 fw-bold me-2 ps-2" style="font-size: 32px;">
STORNO
</span>
</span>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->checked_in == 1) {?>
<i class="material-icons badge bg-primary p-1" style="font-size:2rem;">local_parking</i>
<?php } else { ?>
<i class="material-icons badge bg-warning p-1" style="font-size:2rem;">hourglass_empty</i>
<?php }?>
<?php }?>
</div>
<?php }?>
</div>
</div>
<div class="col-4">
<div class="row border g-0 p-2 mx-2 overview-info overview-click" data-connect-tab="#tab-cars">
<div class="col px-2 py-1 lh-100">
<h6 class="m-0"><?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->event)) {
echo $_smarty_tpl->tpl_vars['booking']->value->quick->checkin->event;
} else { ?>Parkplatz<?php }?> <small><?php echo $_smarty_tpl->tpl_vars['booking']->value->quick->checkin->booking_begin;?>
bis <?php echo $_smarty_tpl->tpl_vars['booking']->value->quick->checkin->booking_end;?>
</small></h6>
<span class="oi-sub"><?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['booking']->value->quick->types, 'quick', false, 'counter');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['counter']->value => $_smarty_tpl->tpl_vars['quick']->value) {
if ((count($_smarty_tpl->tpl_vars['booking']->value->quick->types)) > 1) {
echo $_smarty_tpl->tpl_vars['quick']->value->booking_count;?>
x <?php }
echo $_smarty_tpl->tpl_vars['quick']->value->booking_type;
if (($_smarty_tpl->tpl_vars['counter']->value+1) < (count($_smarty_tpl->tpl_vars['booking']->value->quick->types))) {?>, <?php }
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</span>
</div>
<div class="col-md-auto text-end">
<span class="badge badge-<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status == 3) {?>danger text-white<?php } else {
if ($_smarty_tpl->tpl_vars['booking']->value->quick->checkin->checked_in == (count($_smarty_tpl->tpl_vars['booking']->value->bookings))) {?>success text-white<?php } else { ?>warning text-dark<?php }
}?> p-1">
<span class="lh-100 fw-bold float-start me-2 ps-2" style="font-size: 32px;">
<?php echo count($_smarty_tpl->tpl_vars['booking']->value->bookings);?>
<small>x</small>
</span>
<i style="font-size:2rem;" class="material-icons">directions_car</i>
</span>
</div>
</div>
</div>
<div class="col-4">
<div class="row border g-0 p-2 mx-2 overview-info overview-click" data-connect-tab="#invoice">
<div class="col px-2 py-1 lh-100">
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->customer->customer_source == "AIDA") {?>
<h6 class="m-0"><?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;?>
</h6>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3) {?>
<span class="oi-sub"><strong>Rechnungsstellung an AIDA</strong></span>
<?php } else { ?>
<span class="oi-sub"><strong>Berechnung entfällt</strong></span>
<?php }?>
<?php } else { ?>
<h6 class="m-0">Rechnung <small><?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;?>
</small></h6>
<span class="oi-sub"><strong><?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->payment;?>
</strong><?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->payment_datum)) {?> am <?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->payment_datum;
}?></span>
<?php }?>
<?php } else { ?>
<h6 class="m-0">Kostenaufstellung</h6>
<span class="oi-sub">Bei Anreise zu entrichten</span>
<?php }?>
</div>
<div class="col-md-auto text-end">
<span class="badge badge-<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {
if (($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment == 4 || $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment == 0)) {?>danger<?php } else {
if ($_smarty_tpl->tpl_vars['booking']->value->customer->customer_source == "AIDA" && $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status == 3) {?>secondary<?php } else { ?>success<?php }
}?> text-white<?php } else { ?>warning text-dark<?php }?> p-1">
<span class="lh-100 fw-bold float-start me-2 ps-2" style="font-size: 32px;">
<?php echo number_format($_smarty_tpl->tpl_vars['booking']->value->invoice->full_price,2,",",".");?>
</span>
<i style="font-size:2rem;" class="material-icons">euro_symbol</i>
</span>
</div>
</div>
</div>
</div>
<?php }
}