| 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/documents.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02a7b084_57171316',
'has_nocache_code' => false,
'file_dependency' =>
array (
'05140fe50ad314635103c6aa428b8fee0c93355c' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/day/documents.tpl',
1 => 1780596941,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02a7b084_57171316 (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';
?>
<?php $_smarty_tpl->_assignInScope('dd', $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']);
$_smarty_tpl->_assignInScope('all', $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->all);
$_smarty_tpl->_assignInScope('hasDay', ($_smarty_tpl->tpl_vars['all']->value->fahrzeuge > 0));
$_smarty_tpl->_assignInScope('isFuture', ((smarty_modifier_date_format(time(),"%Y-%m-%d")) < $_smarty_tpl->tpl_vars['dd']->value));
$_smarty_tpl->_assignInScope('waiting', (($tmp = @$_smarty_tpl->tpl_vars['all']->value->wait_checkin)===null||$tmp==='' ? 0 : $tmp));
$_smarty_tpl->_assignInScope('complete', ($_smarty_tpl->tpl_vars['hasDay']->value && !$_smarty_tpl->tpl_vars['isFuture']->value && $_smarty_tpl->tpl_vars['waiting']->value <= 0));
$_smarty_tpl->_assignInScope('token', "YIz8HqUPWQ7cwcVHE57O");
$_smarty_tpl->_assignInScope('fz', (($tmp = @$_smarty_tpl->tpl_vars['all']->value->fahrzeuge)===null||$tmp==='' ? 0 : $tmp));
$_smarty_tpl->_assignInScope('checkedIn', ($_smarty_tpl->tpl_vars['fz']->value-$_smarty_tpl->tpl_vars['waiting']->value));
$_smarty_tpl->_assignInScope('cardList', '');
if ($_smarty_tpl->tpl_vars['all']->value->valet > 0) {
$_smarty_tpl->_assignInScope('cardList', 'valet');
} elseif ($_smarty_tpl->tpl_vars['all']->value->aida_fahrzeuge > 0) {
$_smarty_tpl->_assignInScope('cardList', 'aida');
} elseif ($_smarty_tpl->tpl_vars['all']->value->pas_fahrzeuge > 0) {
$_smarty_tpl->_assignInScope('cardList', 'seaside');
}?>
<?php $_smarty_tpl->_assignInScope('valetList', $_smarty_tpl->tpl_vars['dayview']->value->valetArrivals($_smarty_tpl->tpl_vars['dd']->value));
$_smarty_tpl->_assignInScope('valetCount', count($_smarty_tpl->tpl_vars['valetList']->value));
?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'cardArrivals', null, null);
?>
<div class="col-12 col-lg-6">
<article class="doc-card doc-green<?php if (!$_smarty_tpl->tpl_vars['hasDay']->value) {?> is-disabled<?php }?>">
<div class="doc-illu"><i class="material-icons doc-illu-icon">assignment_turned_in</i><span class="doc-illu-tag">XLSX</span></div>
<div class="doc-content">
<div class="doc-type"><i class="material-icons">grid_on</i> Excel-Datei</div>
<h3 class="doc-title">Anreiseliste</h3>
<p class="doc-desc">Alle erwarteten Fahrzeuge für die operative Vorbereitung.</p>
<div class="doc-stats">
<div class="doc-stat-main"><span class="num"><?php echo $_smarty_tpl->tpl_vars['fz']->value;?>
</span> Fahrzeuge</div>
<div class="doc-stat-sub">AIDA <?php echo (($tmp = @$_smarty_tpl->tpl_vars['all']->value->aida_fahrzeuge)===null||$tmp==='' ? 0 : $tmp);?>
· SeaSide <?php echo (($tmp = @$_smarty_tpl->tpl_vars['all']->value->pas_fahrzeuge)===null||$tmp==='' ? 0 : $tmp);?>
</div>
</div>
</div>
<div class="doc-side">
<?php if ($_smarty_tpl->tpl_vars['hasDay']->value) {?>
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=arrivals&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" download class="doc-btn doc-btn-primary doc-dl" data-doctype="arrivals" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">file_download</i> <span class="doc-dl-text">Herunterladen</span></a>
<button type="button" class="doc-btn doc-btn-ghost doc-preview" data-kind="excel" data-doctype="arrivals" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" data-dl="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=arrivals&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">visibility</i> Vorschau</button>
<?php } else { ?>
<div class="doc-hint"><i class="material-icons">event_busy</i><span>Keine Anreisen<small>an diesem Tag</small></span></div>
<?php }?>
</div>
</article>
</div>
<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'cardCards', null, null);
?>
<div class="col-12 col-lg-6">
<article class="doc-card doc-yellow<?php if (!$_smarty_tpl->tpl_vars['hasDay']->value) {?> is-disabled<?php }?>">
<div class="doc-illu"><i class="material-icons doc-illu-icon">recent_actors</i><span class="doc-illu-tag">PDF</span></div>
<div class="doc-content">
<div class="doc-type"><i class="material-icons">picture_as_pdf</i> PDF-Dokument</div>
<h3 class="doc-title">Kundenkarten</h3>
<p class="doc-desc">Checkkarten-Format – nach Liste wählen bzw. generieren.</p>
<div class="doc-stats">
<div class="doc-stat-main"><span class="num"><?php echo $_smarty_tpl->tpl_vars['fz']->value;?>
</span> Kundenkarten</div>
<div class="doc-stat-sub">Valet <?php echo (($tmp = @$_smarty_tpl->tpl_vars['all']->value->valet)===null||$tmp==='' ? 0 : $tmp);?>
· AIDA <?php echo (($tmp = @$_smarty_tpl->tpl_vars['all']->value->aida_fahrzeuge)===null||$tmp==='' ? 0 : $tmp);?>
· SeaSide <?php echo (($tmp = @$_smarty_tpl->tpl_vars['all']->value->pas_fahrzeuge)===null||$tmp==='' ? 0 : $tmp);?>
</div>
</div>
</div>
<div class="doc-side">
<?php if ($_smarty_tpl->tpl_vars['hasDay']->value) {?>
<div class="dropdown">
<button type="button" class="doc-btn doc-btn-primary dropdown-toggle w-100" data-bs-toggle="dropdown" aria-expanded="false"><i class="material-icons">file_download</i> Datei wählen</button>
<div class="dropdown-menu dropdown-menu-end">
<?php if (($_smarty_tpl->tpl_vars['all']->value->valet) > 0) {?><a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=cards&list=valet&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" target="_blank" class="dropdown-item">Valet (<?php echo $_smarty_tpl->tpl_vars['all']->value->valet;?>
)</a><?php }?>
<?php if (($_smarty_tpl->tpl_vars['all']->value->aida_fahrzeuge) > 0) {?><a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=cards&list=aida&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" target="_blank" class="dropdown-item">AIDA (<?php echo $_smarty_tpl->tpl_vars['all']->value->aida_fahrzeuge;?>
)</a><?php }?>
<?php if (($_smarty_tpl->tpl_vars['all']->value->pas_fahrzeuge) > 0) {?><a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=cards&list=seaside&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" target="_blank" class="dropdown-item">SeaSide (<?php echo $_smarty_tpl->tpl_vars['all']->value->pas_fahrzeuge;?>
)</a><?php }?>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['cardList']->value) {?><button type="button" class="doc-btn doc-btn-ghost doc-preview" data-kind="pdf" data-url="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=cards&list=<?php echo $_smarty_tpl->tpl_vars['cardList']->value;?>
&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">visibility</i> Vorschau</button><?php }?>
<?php } else { ?>
<div class="doc-hint"><i class="material-icons">event_busy</i><span>Keine Anreisen<small>an diesem Tag</small></span></div>
<?php }?>
</div>
</article>
</div>
<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'cardKeys', null, null);
?>
<div class="col-12 col-lg-6">
<article class="doc-card doc-red<?php if (!$_smarty_tpl->tpl_vars['hasDay']->value) {?> is-disabled<?php }?>">
<div class="doc-illu"><i class="material-icons doc-illu-icon">vpn_key</i><span class="doc-illu-tag">PDF</span></div>
<div class="doc-content">
<div class="doc-type"><i class="material-icons">picture_as_pdf</i> PDF-Dokument</div>
<h3 class="doc-title">Schlüsselanhänger</h3>
<p class="doc-desc">Anhänger-PDF zum Ausdrucken für die Schlüsselablage.</p>
<div class="doc-stats">
<div class="doc-stat-main"><span class="num"><?php echo $_smarty_tpl->tpl_vars['fz']->value;?>
</span> Anhänger</div>
<div class="doc-stat-sub">davon Valet <?php echo (($tmp = @$_smarty_tpl->tpl_vars['all']->value->valet)===null||$tmp==='' ? 0 : $tmp);?>
</div>
</div>
</div>
<div class="doc-side">
<?php if ($_smarty_tpl->tpl_vars['hasDay']->value) {?>
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=keycards&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" download class="doc-btn doc-btn-primary"><i class="material-icons">file_download</i> Herunterladen</a>
<button type="button" class="doc-btn doc-btn-ghost kc-open" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">visibility</i> Vorschau</button>
<?php } else { ?>
<div class="doc-hint"><i class="material-icons">event_busy</i><span>Keine Anreisen<small>an diesem Tag</small></span></div>
<?php }?>
</div>
</article>
</div>
<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'cardValet', null, null);
?>
<div class="col-12 col-lg-6">
<article class="doc-card doc-purple">
<div class="doc-illu"><i class="material-icons doc-illu-icon">directions_car</i><span class="doc-illu-tag">PDF</span></div>
<div class="doc-content">
<div class="doc-type"><i class="material-icons">picture_as_pdf</i> PDF-Dokument</div>
<h3 class="doc-title">VALET-Formulare</h3>
<p class="doc-desc">Fahrzeugübergabe-Formulare für alle VALET-Anreisen des Tages – vorausgefüllt.</p>
<div class="doc-stats">
<div class="doc-stat-main"><span class="num"><?php echo $_smarty_tpl->tpl_vars['valetCount']->value;?>
</span> Formular<?php if ($_smarty_tpl->tpl_vars['valetCount']->value != 1) {?>e<?php }?></div>
<div class="doc-stat-sub">nur Fahrzeuge mit VALET</div>
</div>
</div>
<div class="doc-side">
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=valetday&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
&download=1" download class="doc-btn doc-btn-primary valet-dl" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">file_download</i> <span class="doc-dl-text">Herunterladen</span></a>
<button type="button" class="doc-btn doc-btn-ghost valet-open" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">visibility</i> Vorschau</button>
</div>
</article>
</div>
<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'cardCash', null, null);
?>
<div class="col-12 col-lg-6">
<article class="doc-card doc-blue<?php if (!$_smarty_tpl->tpl_vars['complete']->value) {?> is-disabled<?php }?>">
<div class="doc-illu"><i class="material-icons doc-illu-icon">receipt</i><span class="doc-illu-tag">XLSX</span></div>
<div class="doc-content">
<div class="doc-type"><i class="material-icons">grid_on</i> Excel-Datei</div>
<h3 class="doc-title">Tagesabrechnung</h3>
<p class="doc-desc">Kassenabschluss bzw. Tagesabrechnung des Anreisetages.</p>
<div class="doc-stats">
<div class="doc-stat-main"><span class="num"><?php echo $_smarty_tpl->tpl_vars['fz']->value;?>
</span> Buchungen</div>
<div class="doc-stat-sub">
<?php if ($_smarty_tpl->tpl_vars['complete']->value) {?>alle Fahrzeuge eingecheckt
<?php } elseif ($_smarty_tpl->tpl_vars['hasDay']->value) {
echo $_smarty_tpl->tpl_vars['checkedIn']->value;?>
/ <?php echo $_smarty_tpl->tpl_vars['fz']->value;?>
eingecheckt
<?php } else { ?>noch keine Anreisen<?php }?>
</div>
</div>
</div>
<div class="doc-side">
<?php if ($_smarty_tpl->tpl_vars['complete']->value) {?>
<a href="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=cash&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" download class="doc-btn doc-btn-primary doc-dl" data-doctype="cash" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">file_download</i> <span class="doc-dl-text">Herunterladen</span></a>
<button type="button" class="doc-btn doc-btn-ghost doc-preview" data-kind="excel" data-doctype="cash" data-date="<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
" data-dl="<?php echo @constant('SITE_URL');?>
/file.php?token=<?php echo $_smarty_tpl->tpl_vars['token']->value;?>
&type=cash&date=<?php echo $_smarty_tpl->tpl_vars['dd']->value;?>
"><i class="material-icons">visibility</i> Vorschau</button>
<?php } elseif (!$_smarty_tpl->tpl_vars['hasDay']->value) {?>
<div class="doc-hint"><i class="material-icons">event_busy</i><span>Keine Anreisen<small>an diesem Tag</small></span></div>
<?php } else { ?>
<div class="doc-hint"><i class="material-icons">schedule</i><span>Verfügbar nach<br>Abschluss der Anreise<small><?php if ($_smarty_tpl->tpl_vars['isFuture']->value) {?>frühestens am Anreisetag<?php } elseif ($_smarty_tpl->tpl_vars['waiting']->value > 0) {
echo $_smarty_tpl->tpl_vars['waiting']->value;?>
Fahrzeug<?php if ($_smarty_tpl->tpl_vars['waiting']->value != 1) {?>e<?php }?> noch offen<?php }?></small></span></div>
<?php }?>
</div>
</article>
</div>
<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
?>
<div class="row g-2 doc-center">
<?php if ($_smarty_tpl->tpl_vars['complete']->value) {?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardCash');?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardArrivals');?>
<?php if ($_smarty_tpl->tpl_vars['valetCount']->value > 0) {
echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardValet');
}?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardKeys');?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardCards');?>
<?php } else { ?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardArrivals');?>
<?php if ($_smarty_tpl->tpl_vars['valetCount']->value > 0) {
echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardValet');
}?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardKeys');?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardCards');?>
<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'cardCash');?>
<?php }?>
</div>
<div class="modal fade" id="docPreviewModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-xl modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="docPreviewTitle">Vorschau</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body p-0">
<div id="docPreviewLoading" class="doc-prev-loading">Wird geladen …</div>
<div id="docPreviewError" class="doc-prev-error" hidden></div>
<div id="docPreviewPdf" class="doc-prev-pdf" hidden><iframe title="Dokumentvorschau"></iframe></div>
<div id="docPreviewXls" class="doc-prev-xls" hidden></div>
</div>
<div class="modal-footer doc-prev-foot" id="docPreviewFoot" hidden>
<span class="doc-prev-status text-muted small me-auto" id="docPreviewStatus"></span>
<button type="button" class="doc-foot-dl" id="docPreviewDownload" title="Herunterladen" aria-label="Herunterladen" disabled><i class="material-icons">file_download</i></button>
<button type="button" class="btn btn-primary" id="docPreviewSave" disabled><i class="material-icons sm">save</i> Speichern</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="docVersionsModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="docVersionsTitle"><i class="material-icons">history</i> Bearbeitete Versionen</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body p-0">
<div id="docVersionsBody" class="doc-ver-wrap"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="kcBuilderModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-xl modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="kcBuilderTitle"><i class="material-icons">vpn_key</i> Schlüsselschilder</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body p-0">
<div class="kc-toolbar">
<div class="kc-search"><i class="material-icons">search</i><input type="text" id="kcSearch" placeholder="Name oder Kennzeichen suchen …" autocomplete="off"></div>
<div class="kc-chips" id="kcChips">
<button type="button" class="kc-chip" data-dim="parking" data-val="halle">Halle</button>
<button type="button" class="kc-chip" data-dim="parking" data-val="aussen">Außen</button>
<button type="button" class="kc-chip" data-dim="parking" data-val="valet">Valet</button>
<button type="button" class="kc-chip" data-dim="status" data-val="arrived">angereist</button>
<button type="button" class="kc-chip" data-dim="status" data-val="open">offen</button>
<button type="button" class="kc-chip" data-dim="flag" data-val="wash">Wäsche</button>
<button type="button" class="kc-chip" data-dim="flag" data-val="pay">noch bezahlen</button>
<button type="button" class="kc-chip" data-dim="source" data-val="aida">myAIDA</button>
<button type="button" class="kc-chip" data-dim="source" data-val="seaside">SeaSide</button>
<button type="button" class="kc-chip kc-chip-time" data-dim="time" data-val="time">Anreise ab/bis</button>
<span class="kc-timebox" id="kcTime" hidden><input type="time" id="kcTimeFrom"><span>–</span><input type="time" id="kcTimeTo"></span>
<button type="button" class="kc-chip" data-dim="len" data-val="len">Reiselänge</button>
<span class="kc-timebox" id="kcLenBox" hidden><input type="number" id="kcLenDays" min="1" max="60" placeholder="Tage"><span>Tage</span></span>
<button type="button" class="kc-chip kc-chip-clear" id="kcClear" hidden><i class="material-icons">close</i> Filter</button>
</div>
</div>
<div class="kc-split">
<div class="kc-pdf">
<div id="kcLoading" class="kc-loading" hidden>Vorschau wird erzeugt …</div>
<iframe id="kcFrame" title="Schlüsselschilder-Vorschau"></iframe>
</div>
<aside class="kc-panel">
<div class="kc-panel-sec">
<div class="kc-panel-head"><i class="material-icons">person_add</i> Hinzufügen (Anreise/Abreise) <span class="kc-count" id="kcAddCount"></span></div>
<div id="kcResults" class="kc-list kc-results"></div>
</div>
<div class="kc-panel-sec">
<div class="kc-panel-head"><i class="material-icons">style</i> Schilder auf dem Bogen <span class="kc-count" id="kcCount"></span></div>
<div id="kcList" class="kc-list"></div>
</div>
<div class="kc-panel-sec">
<div class="kc-panel-head"><i class="material-icons">history</i> Gespeicherte Varianten</div>
<div id="kcVariants" class="kc-variants"></div>
</div>
</aside>
</div>
</div>
<div class="modal-footer kc-foot">
<button type="button" class="btn btn-outline-primary me-auto" id="kcAddBtn"><i class="material-icons sm">add</i> Schild erstellen</button>
<span class="text-muted small" id="kcStatus"></span>
<button type="button" class="btn btn-primary" id="kcSaveBtn"><i class="material-icons sm">save</i> Als Variante speichern</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="kcCreateModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><i class="material-icons">add</i> Schild erstellen</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body">
<form id="kcCreateForm" class="kc-form" autocomplete="off">
<div class="kc-field">
<label for="kcName">Name</label>
<input type="text" id="kcName" required placeholder="z. B. Max Mustermann">
</div>
<div class="kc-row">
<div class="kc-field kc-field-grow">
<label for="kcPlate">Kennzeichen</label>
<input type="text" id="kcPlate" class="kc-plate-input" maxlength="13" placeholder="HRO AB 123">
</div>
<div class="kc-field kc-field-short">
<label for="kcShort">Kürzel</label>
<input type="text" id="kcShort" class="kc-short-input" maxlength="3" placeholder="AB">
</div>
</div>
<div class="kc-field">
<label for="kcEvent">Event</label>
<input type="text" id="kcEvent" list="kcEventList" placeholder="Event wählen oder eingeben">
<datalist id="kcEventList"></datalist>
</div>
<div class="kc-row">
<div class="kc-field"><label for="kcBegin">Reisezeitraum – von</label><input type="date" id="kcBegin" required></div>
<div class="kc-field"><label for="kcEnd">bis</label><input type="date" id="kcEnd" required></div>
<div class="kc-field kc-field-len"><label>Reiselänge</label><div class="kc-len" id="kcLen">– Tage</div></div>
</div>
<div class="kc-form-err" id="kcFormErr" hidden></div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Abbrechen</button>
<button type="submit" form="kcCreateForm" class="btn btn-primary"><i class="material-icons sm">add</i> Hinzufügen</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="valetBuilderModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-xl modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="valetBuilderTitle"><i class="material-icons">directions_car</i> VALET-Formulare</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body p-0">
<div class="kc-split">
<div class="kc-pdf">
<div id="valetLoading" class="kc-loading" hidden>Vorschau wird erzeugt …</div>
<iframe id="valetFrame" title="VALET-Formulare-Vorschau"></iframe>
</div>
<aside class="kc-panel">
<div class="kc-panel-sec">
<div class="kc-panel-head"><i class="material-icons">description</i> Formulare <span class="kc-count" id="valetCount"></span></div>
<div id="valetList" class="kc-list"></div>
</div>
<div class="kc-panel-sec">
<div class="kc-panel-head"><i class="material-icons">history</i> Gespeicherte Varianten</div>
<div id="valetVariants" class="kc-variants"></div>
</div>
</aside>
</div>
</div>
<div class="modal-footer kc-foot">
<button type="button" class="btn btn-outline-primary me-auto" id="valetAddBtn"><i class="material-icons sm">add</i> Formular hinzufügen</button>
<span class="text-muted small" id="valetStatus"></span>
<button type="button" class="btn btn-primary" id="valetSaveBtn"><i class="material-icons sm">save</i> Als Variante speichern</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="valetCreateModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><i class="material-icons">add</i> <span id="valetCreateTitleText">VALET-Formular hinzufügen</span></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body">
<form id="valetCreateForm" class="kc-form" autocomplete="off">
<div class="kc-row">
<div class="kc-field kc-field-grow"><label for="vfName">Name</label><input type="text" id="vfName" required placeholder="Nachname"></div>
<div class="kc-field kc-field-grow"><label for="vfFirst">Vorname</label><input type="text" id="vfFirst" placeholder="Vorname"></div>
</div>
<div class="kc-field"><label for="vfMarke">Marke, Modell</label><input type="text" id="vfMarke" placeholder="z. B. VW Passat"></div>
<div class="kc-field"><label for="vfPlate">Amtl. Kennzeichen</label><input type="text" id="vfPlate" class="kc-plate-input" maxlength="13" placeholder="HRO AB 123"></div>
<div class="kc-form-err" id="vfErr" hidden></div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Abbrechen</button>
<button type="submit" form="valetCreateForm" class="btn btn-primary"><i class="material-icons sm">add</i> Hinzufügen</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="valetVersionsModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><i class="material-icons">history</i> VALET-Formulare – Versionen</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body">
<div id="valetVersionsBody" class="kc-variants"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="docCommentModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><i class="material-icons">comment</i> Kommentar zur Version</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Schließen"></button>
</div>
<div class="modal-body">
<label for="docCommentText" class="form-label small text-muted">Beschreibe kurz, was diese Version enthält (optional). Der Kommentar wird in der Versionsliste angezeigt.</label>
<textarea id="docCommentText" class="form-control" rows="3" placeholder="z. B. Stand nach Anreise, ohne Stornos …"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Abbrechen</button>
<button type="button" class="btn btn-primary" id="docCommentSave"><i class="material-icons sm">save</i> Version speichern</button>
</div>
</div>
</div>
</div>
<link rel="stylesheet" href="<?php echo @constant('SITE_URL');?>
/assets/vendor/x-spreadsheet/xspreadsheet.css">
<?php echo '<script'; ?>
src="<?php echo @constant('SITE_URL');?>
/assets/vendor/x-spreadsheet/xspreadsheet.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="<?php echo @constant('SITE_URL');?>
/assets/vendor/x-spreadsheet/locale-de.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="<?php echo @constant('SITE_URL');?>
/assets/js/doc-comment.js?v=<?php echo filemtime((@constant('PATH_SYSTEM')).('/assets/js/doc-comment.js'));?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="<?php echo @constant('SITE_URL');?>
/assets/js/day-documents.js?v=<?php echo filemtime((@constant('PATH_SYSTEM')).('/assets/js/day-documents.js'));?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="<?php echo @constant('SITE_URL');?>
/assets/js/day-keycards.js?v=<?php echo filemtime((@constant('PATH_SYSTEM')).('/assets/js/day-keycards.js'));?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="<?php echo @constant('SITE_URL');?>
/assets/js/day-valet.js?v=<?php echo filemtime((@constant('PATH_SYSTEM')).('/assets/js/day-valet.js'));?>
"><?php echo '</script'; ?>
>
<?php }
}