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

1226 lines
71 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-04-12 16:07:56
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ma_inaktiv.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6619403c6841d4_78551753',
'has_nocache_code' => false,
'file_dependency' =>
array (
'd48f9f226e578037df3163e772b7e9fb5996d3a8' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ma_inaktiv.tpl',
1 => 1706012601,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6619403c6841d4_78551753 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- ************************ -->
<div class="row sortable">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive Mitarbeiter</span></i></div>
<div class="panel-body">
<table class="table-hover">
<!-- <table class="no-style full"> -->
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata']->value, 'max');
$_smarty_tpl->tpl_vars['max']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['max']->value) {
$_smarty_tpl->tpl_vars['max']->do_else = false;
?>
<tr>
<td style="width:210px">
<a href="?s=ma_inaktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['max']->value['name'];?>
</a> <br/>
</td>
<td>
<span style='font-size:12pt;color:#FFFFFF'>
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=pdf_ma&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
">
<i class="fa fa-file-pdf-o" style="color:#848484"></i>
</a>
<a href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
&wahl=9"><i class="fa fa-eur" style="color:#848484"></i></a>
<a href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
&wahl=2"><i class="fa fa-clock-o" style="color:#848484"></i></a>
<a href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
&wahl=3"><i class="fa fa-calendar-times-o" style="color:#848484"></i></a>
<a href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
&wahl=4"><i class="fa fa-file-text-o" style="color:#848484"></i></a>
<?php if ($_smarty_tpl->tpl_vars['max']->value['sms']) {?>
<a href="#"><i class="fa fa-commenting-o" style="color:#F50307"></i></a>
<?php } else { ?>
<a href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
&wahl=5"><i class="fa fa-commenting-o" style="color:#848484"></i></a>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['max']->value['mail']) {?>
<a href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['max']->value['id'];?>
&wahl=6"><i class="fa fa-envelope-o" style="color:#848484"></i></a>
<?php } else { ?>
<a href="#"><i class="fa fa-envelope-o" style="color:#DDDDDD"></i></a>
<?php }?>
</span>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------- ma uaswählen info -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<span style='font-size:14pt;line-height:115%; color:#4F81BD'>Bitte den Mitarbeiter auw&auml;hlen den Sie bearbeiten m&ouml;chten.</span>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 1) {?>
<!-- MA Info Anzeigen -->
<!-- ****************************************************************** zur Person -->
<form action="" method="post">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">zur Person</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<tr><td style="width:120px" nowrap="nowrap"><strong>Name:</strong></td>
<td><input type="text" name="name" value="<?php echo htmlentities(mb_convert_encoding((string)$_smarty_tpl->tpl_vars['mitarbeiter']->value['name'], 'UTF-8', 'UTF-8'), ENT_QUOTES, 'UTF-8', true);?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Strasse:</strong></td>
<td><input type="text" name="strasse" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['strasse'];?>
" style="width:220px"/></td></tr>
<tr>
<tr>
<td nowrap="nowrap"><strong>Zusatz:</strong></td>
<td><input type="text" name="azusatz" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['azusatz'];?>
" style="width:220px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>PLZ Ort:</strong></td>
<td><input type="text" name="plz" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['plz'];?>
" style="width:50px"/>
<input type="text" name="ort" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['ort'];?>
" style="width:165px"/>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Kommunikation -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Kommunikation</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Mail:</strong></td>
<td><input type="text" name="mail" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['mail'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Handy:</strong></td>
<td><input type="text" name="handy" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>2.Tel.:</strong></td>
<td><input type="text" name="tel2" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['tel2'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Festnetz.:</strong></td>
<td><input type="text" name="festnetz" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['festnetz'];?>
" style="width:220px"/></td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** Erkennungsdaten -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Erkennungsdaten</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Geburtstag:</strong></td>
<td><input type="number" name="tag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['gebtag']);?>
" style="width:50px"/>
<input type="number" name="monat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['gebmonat']);?>
" style="width:50px"/>
<input type="number" name="jahr" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['gebjahr'];?>
" style="width:60px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Geburtsort:</strong></td>
<td><input type="text" name="gebort" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['gebort'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Geburtsname:</strong></td>
<td><input type="text" name="gebname" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['gebname'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Nationalit&auml;t:</strong></td>
<td><input type="text" name="staata" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['staata'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>BPA-Nummer::</strong></td>
<td><input type="text" name="bpa" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['bpa'];?>
" style="width:220px"/></td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Bankdaten -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Bankdaten</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Bankname:</strong></td>
<td><input type="text" name="bankname" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['bankname'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Kontoinhaber:</strong></td>
<td><input type="text" name="kontoinh" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['kontoinh'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>IBAN:</strong></td>
<td><input type="text" name="iban" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['iban'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>BIC:</strong></td>
<td><input type="text" name="BIC" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['BIC'];?>
" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Bankinfo:</strong></td>
<td><input type="text" name="bankinfo" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['bankinfo'];?>
" style="width:220px"/></td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** laufbahn -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Laufbahn</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<tr><td style="width:120px" nowrap="nowrap"><strong>Eintrittstag:</strong></td>
<td><input type="number" name="eintag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['eintag']);?>
" style="width:50px"/>
<input type="number" name="einmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['einmonat']);?>
" style="width:50px"/>
<input type="number" name="einjahr" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['einjahr'];?>
" style="width:60px"/>
</td></tr>
<tr><td nowrap="nowrap"><strong>Austrittstag:</strong></td>
<td><input type="number" name="austag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['austag']);?>
" style="width:50px"/>
<input type="number" name="ausmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['ausmonat']);?>
" style="width:50px"/>
<input type="number" name="ausjahr" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['ausjahr'];?>
" style="width:60px"/>
</td></tr>
<tr><td nowrap="nowrap"><strong>befristet bis:</strong></td>
<td><input type="number" name="beftag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['beftag']);?>
" style="width:50px"/>
<input type="number" name="befmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['mitarbeiter']->value['befmonat']);?>
" style="width:50px"/>
<input type="number" name="befjahr" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['befjahr'];?>
" style="width:60px"/>
</td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Sozialangaben -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">steuerliche Angaben</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr><td style="width:120px" nowrap="nowrap"><strong>Steuer.ID-Nr.:</strong></td>
<td><input type="text" name="steuerid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['steuerid'];?>
" style="width:220px"/></td>
</tr>
<tr><td nowrap="nowrap"><strong>Steuerklasse:</strong></td>
<td><input type="text" name="steuerkl" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['steuerkl'];?>
" style="width:220px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Sozialvers.-Nr.</strong></td>
<td><input type="text" name="svnummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['svnummer'];?>
" style="width:220px"/></td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** art -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Angaben Sonderfälle</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['rentner'] == 1) {?><tr>
<td><input type="checkbox" name="rentner" checked="checked" > <strong> Rentner</strong></td>
<td style="width:30px"><strong> </strong></td>
<td><input type="text" name="rentnerinfo" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['rentnerinfo'];?>
" style="width:120px"/></td>
<?php } else { ?><tr>
<td><input type="checkbox" name="rentner" ><strong> Rentner</strong></td>
<td style="width:30px"><strong> </strong></td>
<td><input type="text" name="rentnerinfo" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['rentnerinfo'];?>
" style="width:120px"/></td>
<?php }?></tr>
<?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['sbehind'] == 1) {?><tr>
<td><input type="checkbox" name="sbehind" checked="checked" > <strong> schwerbehindert</strong></td>
<td style="width:30px"><strong> </strong></td>
<td><input type="text" name="sbehind2" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['sbehind2'];?>
" style="width:50px"/> %</td>
<?php } else { ?><tr>
<td><input type="checkbox" name="sbehind" ><strong> schwerbehindert </strong></td>
<td style="width:30px"><strong> </strong></td>
<td><input type="text" name="sbehind2" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['sbehind2'];?>
" style="width:50px"/> %</td>
<?php }?></tr>
<?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['student'] == 1) {?><tr>
<td><input type="checkbox" name="student" checked="checked" > <strong> Student</strong></td>
<td style="width:30px"><strong> </strong></td>
<td><input type="text" name="studentinfo" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['studentinfo'];?>
" style="width:120px"/></td>
<?php } else { ?><tr>
<td><input type="checkbox" name="student" ><strong> Student</strong></td>
<td style="width:30px"><strong> </strong></td>
<td><input type="text" name="studentinfo" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['studentinfo'];?>
" style="width:120px"/></td>
<?php }?></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Sozialangaben -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Angaben zur Familie</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<tr><td style="width:150px" ><strong>Familienstand:</strong></td>
<td><input type="text" name="famstand" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['famstand'];?>
" style="width:200px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Anzahl Kinder:</strong></td>
<td><input type="text" name="kinder" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['kinder'];?>
" style="width:200px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Kinderfreibetrag:</strong></td>
<td><input type="text" name="kinderfb" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['kinderfb'];?>
" style="width:200px"/></td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** Einstellungsart -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">sonstige Angaben</h2></div>
<section class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<tr><td nowrap="nowrap"><strong>Urlaub/Jahr:</strong></td>
<td style="width:80px"><strong> </strong></td>
<td><input type="text" name="urlaubprojahr" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['urlaubprojahr'];?>
" style="width:60px"/> Tage</td></tr>
<tr>
<td nowrap="nowrap"><strong>Mitarbeitertyp</strong></td>
<td style="width:80px"><strong> </strong></td>
<td>
<select name="typ">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['matyp']->value, 'matypx');
$_smarty_tpl->tpl_vars['matypx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['matypx']->value) {
$_smarty_tpl->tpl_vars['matypx']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['matypx']->value['id'],'output'=>$_smarty_tpl->tpl_vars['matypx']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['mitarbeiter']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Krankenkasse -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Krankenkasse</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<tr><td style="width:150px" ><strong>Krankenkasse:</strong></td>
<td><input type="text" name="kkasse" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['kkasse'];?>
" style="width:200px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Mitg.-Nr.:</strong></td>
<td><input type="text" name="kkassennr" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['kkassennr'];?>
" style="width:200px"/></td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** Einstellungsart -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Einsatzgebiete</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr><td style="width:160px"><strong>PVL Leipzig</strong></td><td style="width:160px"><strong>Gerichshain</strong></td>
<td><input type="checkbox" name="gh" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['gh'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>LVZ Leipzig</strong></td><td style="width:160px"><strong>L.- Stahmeln</strong></td>
<td><input type="checkbox" name="lvz" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['lvz'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>PIN Leipzig</strong></td><td style="width:160px"><strong>AG (Ausfuhr)</strong></td>
<td><input type="checkbox" name="pin" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['pin'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>PIN Leipzig</strong></td><td style="width:160px"><strong>R (Abholung)</strong></td>
<td><input type="checkbox" name="post" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['post'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>PIN Leipzig</strong></td><td style="width:160px"><strong>Retouren/Leergut</strong></td>
<td><input type="checkbox" name="pleer" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['pleer'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Rundschau</strong></td><td style="width:160px"><strong>MPV</strong></td>
<td><input type="checkbox" name="rs" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['rs'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Sachsen-Sonntag</strong></td><td style="width:160px"><strong>LVZ Agentur</strong></td>
<td><input type="checkbox" name="saso" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['saso'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Gastrofahrt</strong></td><td style="width:160px"><strong>VNG</strong></td>
<td><input type="checkbox" name="grm" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['grm'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Exxtra-Werbung</strong></td><td style="width:160px"><strong>MPV</strong></td>
<td><input type="checkbox" name="werb" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['werb'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Marktbelege</strong></td><td style="width:160px"><strong>LVZ / MPV</strong></td>
<td><input type="checkbox" name="mb" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['mb'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>LVZ-Zustellung</strong></td><td style="width:160px"><strong>LVZ Agentur</strong></td>
<td><input type="checkbox" name="lvzz" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['lvzz'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>FAZ-Zustellung</strong></td><td style="width:160px"><strong>Sonntagszeitung</strong></td>
<td><input type="checkbox" name="faz" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['faz'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Saso-Zustellung</strong></td><td style="width:160px"><strong>LVZ Agentur</strong></td>
<td><input type="checkbox" name="sasoz" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['sasoz'] > 0) {?> checked="checked"><?php }?>
</td></tr>
<tr><td style="width:160px"><strong>Sondertouren</strong></td><td style="width:160px"><strong> </strong></td>
<td><input type="checkbox" name="sonstige" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['sonstige'] > 0) {?> checked="checked"><?php }?>
</td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** sonstige pers. Daten -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Konfessionen</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td>
<select name="kotyp">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kotyp']->value, 'ko_typ');
$_smarty_tpl->tpl_vars['ko_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ko_typ']->value) {
$_smarty_tpl->tpl_vars['ko_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ko_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ko_typ']->value['abk'],'selected'=>$_smarty_tpl->tpl_vars['mitarbeiter']->value['konfessionen']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:280px"; align="right"><?php echo $_smarty_tpl->tpl_vars['koinfo']->value;?>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Fschein -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Führerschein</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr>
<td style="width:160px" ><strong>Führerschein:</strong></td>
<td><input type="text" name="fschein" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['fschein'];?>
" style="width:190px"/></td>
</tr>
<tr>
<td style="width:160px" ><strong>Ablauffrist:</strong></td>
<td><input type="text" name="ffrist" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['ffrist'];?>
" style="width:190px"/></td>
</tr>
<tr>
<td style="width:160px"><strong>Fahrerkarte LKW</strong></td>
<td><input type="checkbox" name="fkarte" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['fkarte'] > 0) {?> checked="checked"><?php }?></td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** aktiv -->
<div class="col-md-2">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Aktiv</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr>
<td style="width:80px"><strong>aktiv</strong>
</td>
<td><input type="checkbox" name="aktiv" <?php if ($_smarty_tpl->tpl_vars['mitarbeiter']->value['aktiv'] > 0) {?> checked="checked"><?php }?>
</td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** Buchhaltungsnummer -->
<div class="col-md-2">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Buchhaltungsnr.</h2></div>
<section class="panel-body">
<table class="table-hover">
<tbody>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tr>
<td style="width:80px"><strong>Nr.</strong></td>
<td><input type="text" name="buchid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['buchid'];?>
" style="width:80px"/></td>
</td></tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- ****************************************************************** absenden speichern -->
<input type="submit" class="pull-right" class="btn btn-default" value="speichern" name="save">
</form>
<!-- ****************************************************************** -->
<?php }?>
<!-- SMS Versand -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 5) {?>
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">SMS an <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr><strong>eine SMS = 150 Zeichen !!!!!! maximal 470 Zeichen (3xSMS)</strong></tr>
<tr> </tr>
<tr><input type="text" style="width:600px;" name="text"><strong><?php echo $_smarty_tpl->tpl_vars['tmptext']->value;?>
</strong></tr> </br>
<tr><input type="hidden" name="nummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
"/> </tr>
<tr><input type="submit" name="sendsms" value="SMS senden" ></tr>
</table>
</form>
</div>
</div>
</div>
<?php }?>
<!-- Akte ---------------->
<!-- Akte hinzufügen ----->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 4) {?>
<div class="col-md-8">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Personalakte <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr>
<div class="form-group">
<label for="comment">Neuer Akteneintrag für "<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
":</label>
<textarea class="form-control" rows="5" id="text" name="text" name="text"></textarea>
</div>
</tr>
<div class="col-sm-3">
<input class="form-control" type="date" name="date"> </div>
<tr>
<input type="hidden" name="ma_id" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
"/>
<button type="submit" name="akteplus1" value=" Send" id="akteplus1" class="btn btn-success" > pos. Eintrag >
<button type="submit" name="akteplus2" value=" Send" id="akteplus2" class="btn btn-info" > Intern >
<button type="submit" name="akteplus3" value=" Send" id="akteplus3" class="btn btn-primary" > Hinweis >
<button type="submit" name="akteplus4" value=" Send" id="akteplus4" class="btn btn-warning" > Negativ (Fehler) >
<button type="submit" name="akteplus5" value=" Send" id="akteplus5" class="btn btn-danger" > Negativ Verwarnungen >
</tr>
</table>
</form>
</div>
</div>
</div>
<!-- Akte anzeigen -->
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maakte']->value, 'ma_akte');
$_smarty_tpl->tpl_vars['ma_akte']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ma_akte']->value) {
$_smarty_tpl->tpl_vars['ma_akte']->do_else = false;
?>
<div class="col-md-8">
<?php if ($_smarty_tpl->tpl_vars['ma_akte']->value['typ'] == 1) {?> <div class="panel panel-success"> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ma_akte']->value['typ'] == 2) {?> <div class="panel panel-info"> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ma_akte']->value['typ'] == 3) {?> <div class="panel panel-primary"> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ma_akte']->value['typ'] == 4) {?> <div class="panel panel-warning"> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ma_akte']->value['typ'] == 5) {?> <div class="panel panel-danger"> <?php }?>
<header class="panel-heading"><h4 class="panel-title"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ma_akte']->value['zeit'],"%d.%m.%Y");?>
<a class="fa fa-file-pdf-o fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
&wahl=10&pid=<?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['id'];?>
"></a>
<a class="fa fa-print fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
&wahl=9&pid=<?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['id'];?>
"></a>
<a class="fa fa-trash-o fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
&wahl=8&pid=<?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['id'];?>
"></a>
<a class="fa fa-pencil fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
&wahl=7&pid=<?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['id'];?>
"></a></header>
<div class="panel-body"><strong><?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['text'];?>
</strong></div>
<?php if ($_smarty_tpl->tpl_vars['ma_akte']->value['etime'] > 0) {?>
<h6 style="text-align: right;">zuletzt geändert am <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ma_akte']->value['etime'],"%d.%m.%Y - %H:%M Uhr");?>
von <?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['edit'];?>
&nbsp;&nbsp;</h6>
<?php }?>
<h6 style="text-align: right;">erstellt am <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ma_akte']->value['time'],"%d.%m.%Y - %H:%M Uhr");?>
von <?php echo $_smarty_tpl->tpl_vars['ma_akte']->value['ersteller'];?>
&nbsp;&nbsp;</h6>
</div>
</div>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<!-- Akte bearbeiten ----->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 7) {?>
<div class="col-md-8">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Personalakte <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr>
<div class="form-group">
<label for="comment">Akteneintrag für "<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
bearbeiten":</label>
<textarea class="form-control" rows="5" id="text" value="<?php echo $_smarty_tpl->tpl_vars['maakte']->value['text'];?>
" name="text"><?php echo $_smarty_tpl->tpl_vars['maakte']->value['text'];?>
</textarea>
</div>
<!--
</tr>
<div class="col-sm-3">
<input class="form-control" type="date" name="date"> </div>
<tr>
-->
<input type="hidden" name="ma_id" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
"/>
<button type="submit" name="akteedit1" value=" Send" id="akteedit1" class="btn btn-success" > pos. Eintrag </>
<button type="submit" name="akteedit2" value=" Send" id="akteedit2" class="btn btn-info" > Intern </>
<button type="submit" name="akteedit3" value=" Send" id="akteedit3" class="btn btn-primary" > Hinweis </>
<button type="submit" name="akteedit4" value=" Send" id="akteedit4" class="btn btn-warning" > Negativ (Fehler) </>
<button type="submit" name="akteedit5" value=" Send" id="akteedit5" class="btn btn-danger" > Negativ Verwarnungen </>
</tr>
</table>
</form>
</div>
</div>
</div>
<?php }?>
<!-- Lohneinstellungen -------------------------------------------------------------------------->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 9) {?>
<form action="" method="post">
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Lohneinträge <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr><td style="width:160px" ><strong>Lohn incl Typ 1:</strong></td>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Lohnabrechnungsdaten <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr><td style="width:160px" ><strong>Tariftyp</strong></td>
<td><input type="text" name="tarifgtyp" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['tarifgtyp'];?>
" disabled style="width:100px"/></td></tr>
<tr><td style="width:160px" ><strong>Grundbetrag:</strong></td>
<td><input type="text" name="tarifg" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['tarifg'];?>
" style="width:100px"/></td></tr>
<tr><td style="width:160px" ><strong>Tarif:</strong></td>
<td><input type="text" name="tarif" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['tarif'];?>
" style="width:100px"/></td></tr>
<tr nowrap><center>
<select name="tarifgtyp" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['tarifgtyp'];?>
" style="width:100%;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tariftyp']->value, 'tarif_typ');
$_smarty_tpl->tpl_vars['tarif_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tarif_typ']->value) {
$_smarty_tpl->tpl_vars['tarif_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['tarif_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['tarif_typ']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['mitarbeiter']->value['tarifgtyp']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
</tr>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
</tbody>
</table>
</div>
</div>
</div>
<input type="submit" class="pull-right" class="btn btn-default" value="speichern" name="savelohndata">
</form>
<div class="col-md-8">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Lohnabsprachen/Sonderregelung <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<table class="table table-condensed">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tmp_lohn']->value, 'tmp_lohnx');
$_smarty_tpl->tpl_vars['tmp_lohnx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tmp_lohnx']->value) {
$_smarty_tpl->tpl_vars['tmp_lohnx']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['tmp_lohn']->value['typ'] > 0) {?>
<td style="width:180px" ><strong>Festlohn/ Typ : <?php echo $_smarty_tpl->tpl_vars['tmp_lohnx']->value['typ'];?>
</strong></td>
<?php } else { ?>
<td style="width:180px" ><strong>Festlohn/Tour: <?php echo $_smarty_tpl->tpl_vars['tmp_lohnx']->value['tour'];?>
</strong></td>
<?php }?>
<td style="width:350px" ><strong><?php echo $_smarty_tpl->tpl_vars['tmp_lohnx']->value['bez'];?>
</strong></td>
<?php if ($_smarty_tpl->tpl_vars['tmp_lohn']->value['stunden'] > 0) {?>
<td style="width:140px" ><strong><?php echo $_smarty_tpl->tpl_vars['tmp_lohnx']->value['stunden'];?>
Stunden</strong>
</td>
<?php } else { ?>
<td style="width:140px" ><strong><?php echo $_smarty_tpl->tpl_vars['tmp_lohnx']->value['geld'];?>
<?php if ($_smarty_tpl->tpl_vars['tmp_lohn']->value['b'] > 0) {?>EUR/brutto<?php } else { ?>EUR/netto<?php }?></strong>
</td>
<?php }?>
<td style="width:10px" >
<button type='submit' name="lohndatadelete" value="<?php echo $_smarty_tpl->tpl_vars['tmp_lohn']->value['id'];?>
" onclick="return confirm('M&ouml;chten sie wirklich löschen ?')"><i class='fa fa-close'></i></button>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</form>
</tbody>
</table>
</div>
</div>
</div>
<!-- hinzufügen lohnausnahme -->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Hinzufügen Ausnahme Touren-TYP</span></h2></header>
<div class="panel-body">
<table class="table-hover">
<tbody>
<form action="" method="post">
<tr>
<td style="width:120px" ><strong>Festlohn/ Typ :</strong></td>
<td nowrap><center>
<select name="ttyp" value="ttyp" style="width:100%;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ttyp']->value, 'ttypx');
$_smarty_tpl->tpl_vars['ttypx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ttypx']->value) {
$_smarty_tpl->tpl_vars['ttypx']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ttypx']->value['tid'],'output'=>$_smarty_tpl->tpl_vars['ttypx']->value['tname']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
</tr>
<tr>
<td style="width:120px" ><strong>Festbetrag :</strong></td>
<td><input type="number" name="geld" value="0.00" min="0" max="70.72" step="0.01" style="width:80px"/> EUR</td>
</tr>
<tr>
<td style="width:120px" ><strong>Feste Zeit :</strong></td>
<td><input type="float" name="stunden" value="0.0" style="width:80px"/> h</td>
</tr>
<tr><td><input type="submit" name="addtyp" value="hinzufügen" ></td></tr>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
</form>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Hinzufügen Ausnahme spez.Tour</span></h2></header>
<div class="panel-body">
<table class="table-hover">
<tbody>
<form action="" method="post">
<tr>
<td style="width:120px" ><strong>Festlohn/ Typ :</strong></td>
<td nowrap><center>
<select name="stour" value="stour" style="width:100%;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['stour']->value, 'stourx');
$_smarty_tpl->tpl_vars['stourx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['stourx']->value) {
$_smarty_tpl->tpl_vars['stourx']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['stourx']->value['id'],'output'=>$_smarty_tpl->tpl_vars['stourx']->value['tour']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
</tr>
<tr>
<td style="width:120px" ><strong>Festbetrag :</strong></td>
<td><input type="number" name="geld" value="0.00" min="0" max="70.72" step="0.01" style="width:80px"/> EUR</td>
</tr>
<tr>
<td style="width:120px" ><strong>Feste Zeit :</strong></td>
<td><input type="float" name="stunden" value="0.0" style="width:80px"/> h</td>
</tr>
<tr><td><input type="submit" name="addtour" value="hinzufügen" ></td></tr>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
</form>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<?php }?>
<!-- Mail Versand ----------------------------------------------------------------------------------------------------->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 6) {?>
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Email an <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr>
<div class="form-group">
<label for="comment">Mailtext an "<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['mail'];?>
":</label>
<textarea class="form-control" rows="5" id=" name="text"" name="text"></textarea>
</div>
</tr>
<tr><input type="hidden" name="nummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['mail'];?>
"/> </tr>
<tr><input type="submit" name="sendmail" value="Email senden" ></tr>
</table>
</form>
</div>
</div>
</div>
<?php }?>
<!-- Time türkontrolle -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 2) {?>
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Türkontrolle für <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<table>
<thead>
<tr>
<th align="left" style="width:200px">Logzeit 1</th>
<th align="left" style="width:200px">Logzeit 2</th>
<th align="left" style="width:200px">Zeitdifferenz</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['matime']->value, 'matimex');
$_smarty_tpl->tpl_vars['matimex']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['matimex']->value) {
$_smarty_tpl->tpl_vars['matimex']->do_else = false;
?>
<tr>
<td><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['matimex']->value['log1'],"%d.%m.%y - %H:%M");?>
Uhr</strong></td>
<td><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['matimex']->value['log2'],"%d.%m.%y - %H:%M");?>
Uhr</strong></td>
<td><strong><?php echo $_smarty_tpl->tpl_vars['matimex']->value['diff'];?>
</strong> (Stunde:Minuten)</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<?php }?>
<!-- ****************************************************************** -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 3) {?>
<!-- ****************************************************************** kalender/Urlaub -->
<div class="col-md-8">
<div class="panel panel-info">
<div class="panel-heading"><h2 style="font-size:18pt" class="panel-title"><?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
- verfügbarer Urlaub: <?php echo $_smarty_tpl->tpl_vars['gesamturlaub']->value;?>
Tage</h2>
</div>
</div>
</div>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['urechnerx']->value, 'urechner');
$_smarty_tpl->tpl_vars['urechner']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['urechner']->value) {
$_smarty_tpl->tpl_vars['urechner']->do_else = false;
?>
<div class="col-md-4">
<div class="panel panel-warning">
<div class="panel-heading"><h2 style="font-size:14pt" class="panel-title">Urlaub/krank <?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub_jahr'];?>
</h2></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484">Anspruch <?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub_jahr'];?>
:</td>
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub'];?>
Tage</td>
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484" align="left">genommen :</td>
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub_genommen'];?>
Tage</td>
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484" align="left">freie Tage :</td>
<?php if ($_smarty_tpl->tpl_vars['urechner']->value['urlaub_rest'] < 0) {?>
<td nowrap style="width:120px; font-size:14pt; color:#FD0307" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub_rest'];?>
Tage</td>
<?php } else { ?>
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub_rest'];?>
Tage</td>
<?php }?>
</tr>
<tr>
<td><hr></td>
<td><hr></td>
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484">Krankentage:</td>
<?php if ($_smarty_tpl->tpl_vars['urechner']->value['krank'] > 7) {?>
<td nowrap style="width:120px; font-size:14pt; color:#FD0307" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['krank'];?>
Tage</td>
<?php } else { ?>
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['krank'];?>
Tage</td>
<?php }?>
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484">kein Krankenschein:</td>
<?php if ($_smarty_tpl->tpl_vars['urechner']->value['keinkschein'] > 0) {?>
<td nowrap style="width:120px; font-size:14pt; color:#FD0307" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['keinkschein'];?>
Tage</td>
<?php } else { ?>
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right"><?php echo $_smarty_tpl->tpl_vars['urechner']->value['keinkschein'];?>
Tage</td>
<?php }?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><h2 style="font-size:14pt" class="panel-title">Detailübersicht <?php echo $_smarty_tpl->tpl_vars['urechner']->value['urlaub_jahr'];?>
</h2></div>
<div class="panel-body" style="height:196px;overflow-y: scroll;">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['urechner']->value['mini'], 'l');
$_smarty_tpl->tpl_vars['l']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['l']->value) {
$_smarty_tpl->tpl_vars['l']->do_else = false;
?>
<tr>
<td class="table-icon-cell"><i style="width:40px;font-size:12pt" class="<?php echo $_smarty_tpl->tpl_vars['l']->value['icon'];?>
"></i></td>
<td nowrap style="width:100px;font-size:10pt"> <b><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['l']->value['time'],"%d.%m.%y");?>
</td>
<td nowrap style="width:180px;font-size:10pt"> <b><?php echo $_smarty_tpl->tpl_vars['l']->value['grund'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['urechner']->value['statistik'], 'k');
$_smarty_tpl->tpl_vars['k']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->do_else = false;
?>
<tr>
<td class="table-icon-cell"><i style="width:40px;font-size:12pt" class="<?php echo $_smarty_tpl->tpl_vars['k']->value['icon'];?>
"></i></td>
<td nowrap style="width:100px;font-size:10pt"> <b><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['k']->value['time'],"%d.%m.%y");?>
</td>
<td nowrap style="width:180px;font-size:10pt"> <b><?php echo $_smarty_tpl->tpl_vars['k']->value['grund'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<!-- ****************************************************************** kommen Urlaubstage aktuelles jahr -->
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading"><h2 class="panel-title">verbleibende Einträge <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</h2></div>
<div class="panel-body">
<table class="table-hover">
<dl>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kal']->value, 'kalx');
$_smarty_tpl->tpl_vars['kalx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kalx']->value) {
$_smarty_tpl->tpl_vars['kalx']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['kal']->value['grau'] == 1) {?>
<td nowrap style="width:90px; font-size:11pt; color:#848484"> <b><?php echo $_smarty_tpl->tpl_vars['kalx']->value['wtag'];?>
,</td>
<td nowrap style="width:90px; font-size:11pt; color:#848484"> <b><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['kalx']->value['date'],"%d.%m.%Y");?>
</td>
<td nowrap style="width:25px;"><i class="<?php echo $_smarty_tpl->tpl_vars['kal']->value['fa'];?>
"></i></td>
<td nowrap style="width:200px;font-size:11pt; color:#848484"> <b><?php echo $_smarty_tpl->tpl_vars['kalx']->value['bez'];?>
</td>
<?php } else { ?>
<td nowrap style="width:90px; font-size:11pt; color:#000000"> <b><?php echo $_smarty_tpl->tpl_vars['kalx']->value['wtag'];?>
,</td>
<td nowrap style="width:90px; font-size:11pt; color:#000000"> <b><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['kalx']->value['date'],"%d.%m.%Y");?>
</td>
<td nowrap style="width:25px;"><i class="<?php echo $_smarty_tpl->tpl_vars['kal']->value['fa'];?>
"></i></td>
<!-- <td nowrap style="width:25px;"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
" width="16" height="16"/></td> -->
<td nowrap style="width:200px;font-size:11pt; color:#000000"> <b><?php echo $_smarty_tpl->tpl_vars['kalx']->value['bez'];?>
</td>
<?php }?>
</tr>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</dl>
</table>
</div>
</div>
</div>
<?php }?>
</div> </div>
<!-- Right column/section -->
<?php }
}