| 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/booking/_booking.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02955801_57951464',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5957e90ce78d597fe14beead1729fa83c61903d8' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/booking/_booking.tpl',
1 => 1780450872,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02955801_57951464 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="row g-3">
<div class="col-12 col-xl-8">
<div class="card">
<div class="card-header fw-bold d-flex justify-content-between align-items-center">
<span>Reisedaten & Fahrzeuge</span>
<?php if (!$_smarty_tpl->tpl_vars['isStorno']->value && !$_smarty_tpl->tpl_vars['isAida']->value) {?>
<button type="button" class="btn btn-sm btn-light border admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode(array('invoice_id'=>$_smarty_tpl->tpl_vars['inv']->value->invoice_id,'customer_id'=>$_smarty_tpl->tpl_vars['cust']->value->customer_id)));?>
" data-template="booking/car.tpl" data-headline="Fahrzeug hinzufügen"><i class="material-icons sm">add</i> Fahrzeug</button>
<?php }?>
</div>
<div class="list-group list-group-flush">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['booking']->value->bookings, 'b');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['b']->value) {
?>
<div class="list-group-item bk-veh">
<div class="bk-veh-main">
<span class="bk-plate license-plate"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['b']->value->booking_serial, ENT_QUOTES, 'UTF-8', true);?>
</span>
<div class="bk-veh-info">
<div class="fw-bold"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['b']->value->booking_event, ENT_QUOTES, 'UTF-8', true);?>
<span class="text-muted fw-normal small">· <?php echo $_smarty_tpl->tpl_vars['b']->value->booking_type;?>
</span></div>
<div class="small text-muted"><?php echo $_smarty_tpl->tpl_vars['b']->value->booking_von;?>
– <?php echo $_smarty_tpl->tpl_vars['b']->value->booking_bis;?>
· <?php echo $_smarty_tpl->tpl_vars['b']->value->booking_duration;?>
Tage · <?php echo $_smarty_tpl->tpl_vars['b']->value->booking_no;?>
· <?php echo $_smarty_tpl->tpl_vars['b']->value->booking_guests;?>
Gäste</div>
</div>
</div>
<div class="bk-veh-action text-end">
<button class="btn btn-sm btn-outline-primary admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode($_smarty_tpl->tpl_vars['b']->value));?>
" data-template="booking/car.tpl" data-headline="Buchung <?php echo $_smarty_tpl->tpl_vars['b']->value->booking_no;?>
bearbeiten"><i class="material-icons sm">edit</i> bearbeiten</button>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</div>
<div class="card-footer small text-muted">
Die Fahrzeuganzahl kann hier nicht verändert werden. Für ein weiteres Fahrzeug bitte eine neue Buchung anlegen.
</div>
</div>
</div>
<div class="col-12 col-xl-4">
<form class="js-ajax-form">
<input type="hidden" name="mysql[table]" value="pacim_invoice">
<input type="hidden" name="mysql[where]" value="invoice_id = <?php echo $_smarty_tpl->tpl_vars['inv']->value->invoice_id;?>
">
<div class="card h-100">
<div class="card-header fw-bold d-flex justify-content-between align-items-center">
<span>Bemerkungen</span>
<button type="submit" class="btn btn-sm btn-primary"><i class="material-icons sm">save</i> Speichern</button>
</div>
<div class="card-body">
<textarea class="form-control" name="content[invoice_description]" rows="6" placeholder="Buchungshinweise / Bemerkungen …"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['inv']->value->invoice_description, ENT_QUOTES, 'UTF-8', true);?>
</textarea>
<div class="js-save-status small mt-2"></div>
<div class="mt-3 small text-muted">
<i class="material-icons sm">info</i> Stornierung & Buchungsstatus erfolgen im Tab <strong>Rechnung</strong>.
</div>
</div>
</div>
</form>
</div>
</div>
<?php }
}