| 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/full.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02c65eb3_44422380',
'has_nocache_code' => false,
'file_dependency' =>
array (
'88ce25ca63e951b567d5a271c89dda09f39baf4b' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/booking/full.tpl',
1 => 1780434062,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02c65eb3_44422380 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once '/var/www/clients/client1/web17/web/includes/plugins/smarty-3.1.30/plugins/modifier.date_format.php';
?>
<div class="card overview-head rounded-0">
<div class="p-0 rounded-0">
<div class="row">
<div class="col-6">
<h4 class="m-0 px-3 py-2">
Fahrzeuge
</h4>
</div>
<div class="col-6 text-end p-1 px-4">
<div class="btn-group" role="group">
<button id="btnGroupDrop1" type="button" class="btn btn-light dropdown-toggle shadow-none border text-primary" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
weitere Optionen
</button>
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3 && (count($_smarty_tpl->tpl_vars['booking']->value->bookings)) > 0) {?>
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=YIz8HqUPWQ7cwcVHE57O&invoice=<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id;?>
&show=1" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-secondary iframe-modal" data-size="lg" data-headline="buchungsbestaetigung.pdf" data-bs-toggle="modal" data-bs-target="#fileModal"><i class="material-icons float-start me-2" style="font-size: 16px;">attach_file</i> Buchung als PDF</a>
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=YIz8HqUPWQ7cwcVHE57O&invoice=<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id;?>
&show=1&type=card" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-secondary iframe-modal" data-size="sm" data-headline="kundenkarten.pdf" data-bs-toggle="modal" data-bs-target="#fileModal"><i class="material-icons float-start me-2" style="font-size: 16px;">account_box</i> Kundenkarte</a>
<hr class="my-1" />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3) {?>
<button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Buchung stornieren" data-content="Sind Sie sich sicher, dass Sie die gesamte Buchung stornieren möchten?" data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_invoice","where"=>"invoice_id = ".((string)$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id)),"content"=>array("invoice_status"=>3)))));?>
">
<i class="material-icons float-start me-2" style="font-size: 16px;">cancel</i>
Buchung stornieren
</button>
<?php } else { ?>
<button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Stornierung aufheben" data-content="Soll diese Stornierung dieser Buchung wirklich [b]rückgängig gemacht werden[/b]?" data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_invoice","where"=>"invoice_id = ".((string)$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id)),"content"=>array("invoice_status"=>0)))));?>
">
<i class="material-icons float-start me-2" style="font-size: 16px;">cancel</i>
STORNO RÜCKGÄNGIG
</button>
<?php }?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card border-0">
<div class="striped-rows">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['booking']->value->bookings, 'car', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['car']->value) {
?>
<div class="row g-0">
<div class="col-2 py-2">
<span class="license-plate"><?php if (empty($_smarty_tpl->tpl_vars['car']->value->booking_serial)) {?>---<?php } else {
echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;
}?></span>
</div>
<div class="px-2 col-1">
<img src="<?php echo @constant('SITE_URL');?>
/assets/<?php echo $_smarty_tpl->tpl_vars['data']->value->get_logo($_smarty_tpl->tpl_vars['car']->value->booking_event);?>
" class="img-fluid" />
</div>
<div class="ps-4 col-2">
<h4 class="product-name"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_event;?>
</strong></h4>
<h4><small><a href="<?php echo @constant('SITE_URL');?>
/tasks/day/?date=<?php echo $_smarty_tpl->tpl_vars['car']->value->booking_begin;?>
&show=arrivals" title="gehe zum Anreisetag"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value->booking_begin,"%d.%m");?>
</a> - <a href="<?php echo @constant('SITE_URL');?>
/tasks/day/?date=<?php echo $_smarty_tpl->tpl_vars['car']->value->booking_end;?>
&show=departures" title="Tag der Abreise"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value->booking_end,"%d.%m.%Y");?>
</a></small></h4>
</div>
<div class="ps-4 col-2">
<h4 class="product-name"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</strong></h4>
<h4><small><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_no;?>
</small></h4>
</div>
<div class="ps-2 col-1">
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_guests) {?>
<h4 class="product-name"><strong>Personen</strong></h4>
<h4><small><?php if ($_smarty_tpl->tpl_vars['car']->value->booking_guests) {
echo $_smarty_tpl->tpl_vars['car']->value->booking_guests;
} else { ?>2-3<?php }?> Gäste</small></h4>
<?php } else { ?>
<h4 class="product-name"><strong>Fahrzeug</strong></h4>
<h4><small><?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_info)) {
echo $_smarty_tpl->tpl_vars['car']->value->booking_info;
} else { ?>-<?php }?></small></h4>
<?php }?>
</div>
<div class="ps-2 col">
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_checkin !== NULL) {?>
<h4 class="product-name"><strong>Check-In</strong></h4>
<h4><small><?php echo (smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value->booking_checkin,"%H"))+2;?>
:<?php echo (smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value->booking_checkin,"%M"));?>
Uhr</small></h4>
<?php } else { ?>
<h4 class="product-name"><strong>Boarding</strong></h4>
<h4><small><?php if (strlen($_smarty_tpl->tpl_vars['car']->value->checkin_cruise) > 0) {
echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value->checkin_cruise,"%H:%M");?>
Uhr<?php } else { ?><em>unbekannt</em><?php }?></small></h4>
<?php }?>
</div>
<div class="ps-2 col text-end">
<div class="mt-1"><button class="btn btn-outline-primary admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode($_smarty_tpl->tpl_vars['car']->value));?>
" data-template="booking/car.tpl" data-headline="Buchung <?php echo $_smarty_tpl->tpl_vars['car']->value->booking_no;?>
bearbeiten"><i class="material-icons">edit</i> bearbeiten</button></div>
<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3 && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
<div><button class="btn btn-outline-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Fahrzeug <?php echo $_smarty_tpl->tpl_vars['car']->value->booking_no;?>
entfernen?" data-content="<?php if ((count($_smarty_tpl->tpl_vars['booking']->value->bookings)) <= 1) {?>[car_alert]<?php }?>Möchten Sie das Fahrzeug mit dem Kennzeichen [licenseplate]<?php echo $_smarty_tpl->tpl_vars['car']->value->kennzeichen;?>
[/licenseplate] wirklich von dieser Buchung entfernen?" data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_booking","where"=>"booking_id = ".((string)$_smarty_tpl->tpl_vars['car']->value->booking_id)),"delete"=>1))));?>
"><i class="material-icons">delete_outline</i> löschen</button></div>
<?php }?>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</div>
<div class="overview-footer border-0 p-2 text-end">
<?php echo count($_smarty_tpl->tpl_vars['booking']->value->bookings);?>
<?php if ((count($_smarty_tpl->tpl_vars['booking']->value->bookings)) != 1) {?>Einträge<?php } else { ?>Eintrag<?php }?>
</div>
</div>
<?php }
}