jb-data.de/compile/e2fe14181d4c16e3df336268fd439a7bd1acece6_0.file.a_ma.tpl.php
2025-08-11 22:23:30 +02:00

315 lines
12 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-05-30 13:12:44
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_ma.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66585f2c3b10e0_79322607',
'has_nocache_code' => false,
'file_dependency' =>
array (
'e2fe14181d4c16e3df336268fd439a7bd1acece6' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_ma.tpl',
1 => 1717067561,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66585f2c3b10e0_79322607 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="container-fluid">
<div class="row">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-3">
<div class="panel" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;">Mitarbeiterübersicht
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=a_ma_pdf&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
</i>
</spawn>
</div>
<div class="panel-body" style="background-color:#222222">
<table class="table-hover" style="font-size:11pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist']->value, 'malist');
$_smarty_tpl->tpl_vars['malist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['malist']->value) {
$_smarty_tpl->tpl_vars['malist']->do_else = false;
?>
<tr>
<td nowrap style="width:200px;line-height:120%;font-size:12pt;color:#aaa"
onclick="window.location='?s=a_ma&id=<?php echo $_smarty_tpl->tpl_vars['malist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
'"> <?php echo $_smarty_tpl->tpl_vars['malist']->value['name'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<?php if ($_smarty_tpl->tpl_vars['ma_id']->value == 0) {?>
<!-- else - kein MA ausgewählt -->
<div class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;">Mitarbeiter
</span></div>
<div class="panel-body">
<table class="no-style full">
<thead>
<tr>
<td><span style='font-size:24pt;line-height:100%; color:orange'>Mitarbeiter auswählen</span></a></td>
</tr>
</thead>
</table>
</div>
</div>
<?php } else { ?>
<div class="panel panel-primary" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;"><?php echo $_smarty_tpl->tpl_vars['ma_name']->value;?>
(<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
) -- Zeitraum <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
<a href="?s=list_a_ma_mini&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=no')"><i style="color: orange" class="fa fa-file-pdf-o fa-pull-right fa-fw"></i>
</a>
<a href="?s=list_a_ma&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=no')"><i style="color: red" class="fa fa-file-pdf-o fa-pull-right fa-fw"></i>
</a>
</span>
</div>
</div>
<div class="panel panel-primary" style="border-color:#222222;background-color:#222;color: #ccc">
<div class="panel-body">
<table class="no-style full">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['senddata']->value, 'tdata');
$_smarty_tpl->tpl_vars['tdata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tdata']->value) {
$_smarty_tpl->tpl_vars['tdata']->do_else = false;
?>
<tr>
<td style='font-size:12pt;width:100px; text-align: right'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['datum'];?>
</td>
<td style='font-size:12pt;width:20px; text-align: right'> </td>
<td style='font-size:12pt;width:200px;<?php if ($_smarty_tpl->tpl_vars['tdata']->value['y_col'] == 2) {?>color:orange<?php }?>'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['typ'];?>
</td>
<td style='font-size:12pt;width:20px; text-align: right'> </td>
<td style='font-size:12pt;width:200px;<?php if ($_smarty_tpl->tpl_vars['tdata']->value['t_col'] == 2) {?>color:orange<?php }?>'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['tname'];?>
</td>
<td style='font-size:12pt;width:200px;<?php if ($_smarty_tpl->tpl_vars['tdata']->value['c_col'] == 2) {?>color:orange<?php }?>'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['auto'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }?>
</div>
<aside class="col-md-3">
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<table class="no-style full">
<tbody>
<td style="font-size:18px; color: white; text-align: center">
<i class="fad fa-arrow-left" onclick="javascript:location.href='?s=a_ma&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
'"></i>
<span>&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/ <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&nbsp;&nbsp;&nbsp;</span>
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_ma&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
'"></i>
</td>
</tbody>
</table>
</div>
</div>
</aside>
<aside class="col-md-3">
<?php if ($_smarty_tpl->tpl_vars['kalmenge']->value != 0) {?>
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">Kalendereinträge</spawn>
</div>
<div class="panel-body" style="background-color:#222222">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value, 'kinfo');
$_smarty_tpl->tpl_vars['kinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kinfo']->value) {
$_smarty_tpl->tpl_vars['kinfo']->do_else = false;
?>
<tr nowrap <?php if ($_smarty_tpl->tpl_vars['kinfo']->value['farbe'] == 1) {?> style="color: red" <?php } else { ?> style="color: orange" <?php }?>>
<td nowrap width="80px"><?php echo $_smarty_tpl->tpl_vars['kinfo']->value['datum'];?>
</td>
<td nowrap width="200px"><?php echo $_smarty_tpl->tpl_vars['kinfo']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">Summen Zusatz</spawn>
</div>
<div class="panel-body" style="background-color:gray">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php if ($_smarty_tpl->tpl_vars['sasodaten']->value != 0) {?>
<tr>
<td nowrap width="60px">SaSo</td>
<td nowrap width="40px"><?php echo $_smarty_tpl->tpl_vars['sasodaten']->value;?>
x </td>
<td nowrap width="70px"> = <?php echo $_smarty_tpl->tpl_vars['geld']->value;?>
€</td>
<td nowrap width="40px"> /<?php echo $_smarty_tpl->tpl_vars['ss_f']->value;?>
</td>
<td nowrap width="60px"> = <?php echo round((float) $_smarty_tpl->tpl_vars['sumh']->value, (int) 1, (int) 1);?>
h </td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['sonderdaten']->value != 0) {?>
<tr>
<td width="60px">Sonder</td>
<td><?php echo $_smarty_tpl->tpl_vars['sonderdaten']->value;?>
x </td>
<td> = <?php echo $_smarty_tpl->tpl_vars['stgeld']->value;?>
€</td>
<td> /<?php echo $_smarty_tpl->tpl_vars['st_f']->value;?>
</td>
<td> = <?php echo round((float) $_smarty_tpl->tpl_vars['stumh']->value, (int) 1, (int) 1);?>
h </td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['sasodaten']->value != 0) {?>
<div id="rightmenu" class="panel panel-default" style="border-color:#333">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">SaSo-Einzelnachweis
</spawn>
</div>
<div class="panel-body" style="background-color:gray">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sdaten']->value, 'sinfo');
$_smarty_tpl->tpl_vars['sinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sinfo']->value) {
$_smarty_tpl->tpl_vars['sinfo']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['sinfo']->value['linie'] == 1) {?>
<tr>
<td>---------------</td>
<td>---------------</td>
<td>-------------</td>
</tr>
<?php }?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['datum'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['tname'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['summe'];?>
€</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['sonderdaten']->value != 0) {?>
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">Sonder-Einzelnachweis
</spawn>
</div>
<div class="panel-body" style="background-color:gray">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['stdaten']->value, 'sinfo');
$_smarty_tpl->tpl_vars['sinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sinfo']->value) {
$_smarty_tpl->tpl_vars['sinfo']->do_else = false;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['datum'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['tname'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['summe'];?>
€</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
</aside>
<?php }
}