| 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/file/full.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a029fafa8_28900221',
'has_nocache_code' => false,
'file_dependency' =>
array (
'23373e678de7ea91d72e91eb1710ffd658ce9704' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/file/full.tpl',
1 => 1780434062,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a029fafa8_28900221 (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">
Dokumente zu dieser Buchung
</h4>
</div>
<div class="col-6 text-end col-6 text-end p-1 px-4">
</div>
</div>
</div>
</div>
<div class="card border-0">
<div class="row g-0 py-1">
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) && $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status == 3 && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
<div class="col-6">
<div class="row bg-warning border rounded m-1 p-2<?php if (empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) || $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source == "AIDA") {?> text-inactive<?php }?>">
<div class="col-md-auto py-1 text-center">
<i class="material-icons" style="font-size:3.6rem;"><?php if (($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->wait_checkin) > 0 && (smarty_modifier_date_format(time(),"%Y-%m-%d")) >= $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']) {?>hourglass_empty<?php } else { ?>payment<?php }?></i>
</div>
<div class="p-2 col">
<h4 class="m-0">
Gutschrift
</h4>
<span>Stornorechnung erstellen</span>
</div>
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
<div class="py-3 col text-end">
<button class="iframe-modal btn btn-outline-dark shadow-none admin-modal" data-size="lg" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="[invoice_id => $booking->invoice->invoice_id]" data-template="invoice/gutschrift.tpl" data-headline="Gutschrift erstellen">Dokument jetzt erstellen</button>
</div>
<?php }?>
</div>
</div>
<?php }?>
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>
<div class="col-6">
<div class="row bg-light border rounded m-1 p-2<?php if (empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) || $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source == "AIDA") {?> text-inactive<?php }?>">
<div class="col-md-auto py-1 text-center">
<i class="material-icons" style="font-size:3.6rem;"><?php if (($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->wait_checkin) > 0 && (smarty_modifier_date_format(time(),"%Y-%m-%d")) >= $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']) {?>hourglass_empty<?php } else { ?>payment<?php }?></i>
</div>
<div class="p-2 col">
<h4 class="m-0">
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;?>
<?php } else { ?>
Rechnung
<?php }?>
</h4>
<?php if (empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>
<span>erst nach Zahlungseingang</span>
<?php } elseif ($_smarty_tpl->tpl_vars['booking']->value->customer->customer_source == "AIDA") {?>
<span>AIDA Kunden erhalten keine Rechnungen</span>
<?php } else { ?>
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
<span>Rechnung vom <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_date,"%d.%m.%Y");?>
</span>
<?php }?>
<?php }?>
</div>
<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no) && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
<div class="py-3 col text-end">
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=YIz8HqUPWQ7cwcVHE57O&invoice=<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id;?>
&type=inv&show=1" class="iframe-modal btn btn-outline-info shadow-none" data-size="lg" data-headline="<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;?>
.pdf" data-bs-toggle="modal" data-bs-target="#fileModal">Dokument öffen</a>
</div>
<?php }?>
</div>
</div>
<?php }?>
<div class="col-6">
<div class="row bg-light border rounded m-1 p-2">
<div class="col-md-auto py-1 text-center">
<i class="material-icons" style="font-size:3.6rem;">bookmark_border</i>
</div>
<div class="p-2 col">
<h4 class="m-0">Buchungsbestätigung</h4>
<span><?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) {
echo $_smarty_tpl->tpl_vars['car']->value->booking_no;?>
.pdf<?php if ((count($_smarty_tpl->tpl_vars['booking']->value->bookings)) < ($_smarty_tpl->tpl_vars['key']->value+1)) {?>, <?php }
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</span>
</div>
<div class="py-3 col text-end">
<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="iframe-modal btn btn-outline-info shadow-none" data-size="lg" data-headline="<?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) {
echo $_smarty_tpl->tpl_vars['car']->value->booking_no;?>
.pdf<?php if ((count($_smarty_tpl->tpl_vars['booking']->value->bookings)) < ($_smarty_tpl->tpl_vars['key']->value+1)) {?>, <?php }
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
" data-bs-toggle="modal" data-bs-target="#fileModal">Dokument öffnen</a>
</div>
</div>
</div>
<div class="col-6">
<div class="row bg-light border rounded m-1 p-2">
<div class="col-md-auto py-1 text-center">
<i class="material-icons" style="font-size:3.6rem;">account_box</i>
</div>
<div class="p-2 col">
<h4 class="m-0">Kundenkarte</h4>
</div>
<div class="py-3 col text-end">
<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" target="_blank" class="iframe-modal btn btn-outline-info shadow-none" data-size="sm" data-headline="card_<?php echo $_smarty_tpl->tpl_vars['car']->value->booking_no;?>
.pdf" data-bs-toggle="modal" data-bs-target="#fileModal">Karte ansehen</a>
</div>
</div>
</div>
</div>
<div class="overview-footer border-0 p-2 text-end">
</div>
</div>
<?php }
}