jb-data.de/template/tpl/ma_inaktiv.tpl
2025-08-11 22:23:30 +02:00

956 lines
57 KiB
Smarty

<!-- ************************ -->
<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>
{foreach from=$madata item=max}
<tr>
<td style="width:210px">
<a href="?s=ma_inaktiv&id={$max.id}" title="Kicke zum ausw&auml;len" class="name">{$max.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={$max.id}">
<i class="fa fa-file-pdf-o" style="color:#848484"></i>
</a>
<a href="?s=ma_aktiv&id={$max.id}&wahl=9"><i class="fa fa-eur" style="color:#848484"></i></a>
<a href="?s=ma_aktiv&id={$max.id}&wahl=2"><i class="fa fa-clock-o" style="color:#848484"></i></a>
<a href="?s=ma_aktiv&id={$max.id}&wahl=3"><i class="fa fa-calendar-times-o" style="color:#848484"></i></a>
<a href="?s=ma_aktiv&id={$max.id}&wahl=4"><i class="fa fa-file-text-o" style="color:#848484"></i></a>
{if $max.sms}
<a href="#"><i class="fa fa-commenting-o" style="color:#F50307"></i></a>
{else}
<a href="?s=ma_aktiv&id={$max.id}&wahl=5"><i class="fa fa-commenting-o" style="color:#848484"></i></a>
{/if}
{if $max.mail}
<a href="?s=ma_aktiv&id={$max.id}&wahl=6"><i class="fa fa-envelope-o" style="color:#848484"></i></a>
{else}
<a href="#"><i class="fa fa-envelope-o" style="color:#DDDDDD"></i></a>
{/if}
</span>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------- ma uaswählen info -->
{if $anzeige==0}
<span style='font-size:14pt;line-height:115%; color:#4F81BD'>Bitte den Mitarbeiter auw&auml;hlen den Sie bearbeiten m&ouml;chten.</span>
{/if}
{if $anzeige==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="{$mitarbeiter.id}" />
<tbody>
<tr><td style="width:120px" nowrap="nowrap"><strong>Name:</strong></td>
<td><input type="text" name="name" value="{$mitarbeiter.name|escape:"htmlall"}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Strasse:</strong></td>
<td><input type="text" name="strasse" value="{$mitarbeiter.strasse}" style="width:220px"/></td></tr>
<tr>
<tr>
<td nowrap="nowrap"><strong>Zusatz:</strong></td>
<td><input type="text" name="azusatz" value="{$mitarbeiter.azusatz}" style="width:220px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>PLZ Ort:</strong></td>
<td><input type="text" name="plz" value="{$mitarbeiter.plz}" style="width:50px"/>
<input type="text" name="ort" value="{$mitarbeiter.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="{$mitarbeiter.id}" />
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Mail:</strong></td>
<td><input type="text" name="mail" value="{$mitarbeiter.mail}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Handy:</strong></td>
<td><input type="text" name="handy" value="{$mitarbeiter.handy}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>2.Tel.:</strong></td>
<td><input type="text" name="tel2" value="{$mitarbeiter.tel2}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Festnetz.:</strong></td>
<td><input type="text" name="festnetz" value="{$mitarbeiter.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="{$mitarbeiter.id}" />
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Geburtstag:</strong></td>
<td><input type="number" name="tag" value="{$mitarbeiter.gebtag|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="monat" value="{$mitarbeiter.gebmonat|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="jahr" value="{$mitarbeiter.gebjahr}" style="width:60px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Geburtsort:</strong></td>
<td><input type="text" name="gebort" value="{$mitarbeiter.gebort}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Geburtsname:</strong></td>
<td><input type="text" name="gebname" value="{$mitarbeiter.gebname}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Nationalit&auml;t:</strong></td>
<td><input type="text" name="staata" value="{$mitarbeiter.staata}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>BPA-Nummer::</strong></td>
<td><input type="text" name="bpa" value="{$mitarbeiter.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="{$mitarbeiter.id}" />
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Bankname:</strong></td>
<td><input type="text" name="bankname" value="{$mitarbeiter.bankname}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Kontoinhaber:</strong></td>
<td><input type="text" name="kontoinh" value="{$mitarbeiter.kontoinh}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>IBAN:</strong></td>
<td><input type="text" name="iban" value="{$mitarbeiter.iban}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>BIC:</strong></td>
<td><input type="text" name="BIC" value="{$mitarbeiter.BIC}" style="width:220px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Bankinfo:</strong></td>
<td><input type="text" name="bankinfo" value="{$mitarbeiter.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="{$mitarbeiter.id}" />
<tbody>
<tr><td style="width:120px" nowrap="nowrap"><strong>Eintrittstag:</strong></td>
<td><input type="number" name="eintag" value="{$mitarbeiter.eintag|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="einmonat" value="{$mitarbeiter.einmonat|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="einjahr" value="{$mitarbeiter.einjahr}" style="width:60px"/>
</td></tr>
<tr><td nowrap="nowrap"><strong>Austrittstag:</strong></td>
<td><input type="number" name="austag" value="{$mitarbeiter.austag|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="ausmonat" value="{$mitarbeiter.ausmonat|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="ausjahr" value="{$mitarbeiter.ausjahr}" style="width:60px"/>
</td></tr>
<tr><td nowrap="nowrap"><strong>befristet bis:</strong></td>
<td><input type="number" name="beftag" value="{$mitarbeiter.beftag|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="befmonat" value="{$mitarbeiter.befmonat|string_format:"%02d"}" style="width:50px"/>
<input type="number" name="befjahr" value="{$mitarbeiter.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="{$mitarbeiter.id}" />
<tr><td style="width:120px" nowrap="nowrap"><strong>Steuer.ID-Nr.:</strong></td>
<td><input type="text" name="steuerid" value="{$mitarbeiter.steuerid}" style="width:220px"/></td>
</tr>
<tr><td nowrap="nowrap"><strong>Steuerklasse:</strong></td>
<td><input type="text" name="steuerkl" value="{$mitarbeiter.steuerkl}" style="width:220px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Sozialvers.-Nr.</strong></td>
<td><input type="text" name="svnummer" value="{$mitarbeiter.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="{$mitarbeiter.id}" />
<tbody>
{if $mitarbeiter.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="{$mitarbeiter.rentnerinfo}" style="width:120px"/></td>
{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="{$mitarbeiter.rentnerinfo}" style="width:120px"/></td>
{/if}</tr>
{if $mitarbeiter.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="{$mitarbeiter.sbehind2}" style="width:50px"/> %</td>
{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="{$mitarbeiter.sbehind2}" style="width:50px"/> %</td>
{/if}</tr>
{if $mitarbeiter.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="{$mitarbeiter.studentinfo}" style="width:120px"/></td>
{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="{$mitarbeiter.studentinfo}" style="width:120px"/></td>
{/if}</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="{$mitarbeiter.famstand}" style="width:200px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Anzahl Kinder:</strong></td>
<td><input type="text" name="kinder" value="{$mitarbeiter.kinder}" style="width:200px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Kinderfreibetrag:</strong></td>
<td><input type="text" name="kinderfb" value="{$mitarbeiter.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="{$mitarbeiter.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="{$mitarbeiter.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">
{foreach from=$matyp item=matypx}
{html_options values=$matypx.id output=$matypx.bezeichnung selected=$mitarbeiter.typ}
{/foreach}
</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="{$mitarbeiter.kkasse}" style="width:200px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Mitg.-Nr.:</strong></td>
<td><input type="text" name="kkassennr" value="{$mitarbeiter.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="{$mitarbeiter.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" {if $mitarbeiter.gh>0} checked="checked">{/if}
</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" {if $mitarbeiter.lvz>0} checked="checked">{/if}
</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" {if $mitarbeiter.pin>0} checked="checked">{/if}
</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" {if $mitarbeiter.post>0} checked="checked">{/if}
</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" {if $mitarbeiter.pleer>0} checked="checked">{/if}
</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" {if $mitarbeiter.rs>0} checked="checked">{/if}
</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" {if $mitarbeiter.saso>0} checked="checked">{/if}
</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" {if $mitarbeiter.grm>0} checked="checked">{/if}
</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" {if $mitarbeiter.werb>0} checked="checked">{/if}
</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" {if $mitarbeiter.mb>0} checked="checked">{/if}
</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" {if $mitarbeiter.lvzz>0} checked="checked">{/if}
</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" {if $mitarbeiter.faz>0} checked="checked">{/if}
</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" {if $mitarbeiter.sasoz>0} checked="checked">{/if}
</td></tr>
<tr><td style="width:160px"><strong>Sondertouren</strong></td><td style="width:160px"><strong> </strong></td>
<td><input type="checkbox" name="sonstige" {if $mitarbeiter.sonstige>0} checked="checked">{/if}
</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">
{foreach from=$kotyp item=ko_typ}
{html_options values=$ko_typ.id output=$ko_typ.abk selected=$mitarbeiter.konfessionen}
{/foreach}
</select>
</td>
<td style="width:280px"; align="right">{$koinfo}</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="{$mitarbeiter.id}" />
<tr>
<td style="width:160px" ><strong>Führerschein:</strong></td>
<td><input type="text" name="fschein" value="{$mitarbeiter.fschein}" style="width:190px"/></td>
</tr>
<tr>
<td style="width:160px" ><strong>Ablauffrist:</strong></td>
<td><input type="text" name="ffrist" value="{$mitarbeiter.ffrist}" style="width:190px"/></td>
</tr>
<tr>
<td style="width:160px"><strong>Fahrerkarte LKW</strong></td>
<td><input type="checkbox" name="fkarte" {if $mitarbeiter.fkarte>0} checked="checked">{/if}</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="{$mitarbeiter.id}" />
<tr>
<td style="width:80px"><strong>aktiv</strong>
</td>
<td><input type="checkbox" name="aktiv" {if $mitarbeiter.aktiv>0} checked="checked">{/if}
</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="{$mitarbeiter.id}" />
<tr>
<td style="width:80px"><strong>Nr.</strong></td>
<td><input type="text" name="buchid" value="{$mitarbeiter.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>
<!-- ****************************************************************** -->
{/if}
<!-- SMS Versand -->
{if $anzeige==5}
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">SMS an {$mitarbeiter.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>{$tmptext}</strong></tr> </br>
<tr><input type="hidden" name="nummer" value="{$mitarbeiter.handy}"/> </tr>
<tr><input type="submit" name="sendsms" value="SMS senden" ></tr>
</table>
</form>
</div>
</div>
</div>
{/if}
<!-- Akte ---------------->
<!-- Akte hinzufügen ----->
{if $anzeige==4}
<div class="col-md-8">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Personalakte {$mitarbeiter.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 "{$mitarbeiter.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="{$mitarbeiter.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 -->
{foreach from=$maakte item=ma_akte}
<div class="col-md-8">
{if $ma_akte.typ==1} <div class="panel panel-success"> {/if}
{if $ma_akte.typ==2} <div class="panel panel-info"> {/if}
{if $ma_akte.typ==3} <div class="panel panel-primary"> {/if}
{if $ma_akte.typ==4} <div class="panel panel-warning"> {/if}
{if $ma_akte.typ==5} <div class="panel panel-danger"> {/if}
<header class="panel-heading"><h4 class="panel-title">{$ma_akte.zeit|date_format:"%d.%m.%Y"}
<a class="fa fa-file-pdf-o fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id={$mitarbeiter.id}&wahl=10&pid={$ma_akte.id}"></a>
<a class="fa fa-print fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id={$mitarbeiter.id}&wahl=9&pid={$ma_akte.id}"></a>
<a class="fa fa-trash-o fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id={$mitarbeiter.id}&wahl=8&pid={$ma_akte.id}"></a>
<a class="fa fa-pencil fa-pull-right" class="btn btn-default btn-sm" href="?s=ma_aktiv&id={$mitarbeiter.id}&wahl=7&pid={$ma_akte.id}"></a></header>
<div class="panel-body"><strong>{$ma_akte.text}</strong></div>
{if $ma_akte.etime>0}
<h6 style="text-align: right;">zuletzt geändert am {$ma_akte.etime|date_format:"%d.%m.%Y - %H:%M Uhr"} von {$ma_akte.edit}&nbsp;&nbsp;</h6>
{/if}
<h6 style="text-align: right;">erstellt am {$ma_akte.time|date_format:"%d.%m.%Y - %H:%M Uhr"} von {$ma_akte.ersteller}&nbsp;&nbsp;</h6>
</div>
</div>
{/foreach}
{/if}
<!-- Akte bearbeiten ----->
{if $anzeige==7}
<div class="col-md-8">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Personalakte {$mitarbeiter.name}</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr>
<div class="form-group">
<label for="comment">Akteneintrag für "{$mitarbeiter.name} bearbeiten":</label>
<textarea class="form-control" rows="5" id="text" value="{$maakte.text}" name="text">{$maakte.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="{$mitarbeiter.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>
{/if}
<!-- Lohneinstellungen -------------------------------------------------------------------------->
{if $anzeige==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 {$mitarbeiter.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 {$mitarbeiter.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="{$mitarbeiter.tarifgtyp}" disabled style="width:100px"/></td></tr>
<tr><td style="width:160px" ><strong>Grundbetrag:</strong></td>
<td><input type="text" name="tarifg" value="{$mitarbeiter.tarifg}" style="width:100px"/></td></tr>
<tr><td style="width:160px" ><strong>Tarif:</strong></td>
<td><input type="text" name="tarif" value="{$mitarbeiter.tarif}" style="width:100px"/></td></tr>
<tr nowrap><center>
<select name="tarifgtyp" value="{$mitarbeiter.tarifgtyp}" style="width:100%;" >
{foreach from=$tariftyp item=tarif_typ}
{html_options values=$tarif_typ.id output=$tarif_typ.bezeichnung selected=$mitarbeiter.tarifgtyp}
{/foreach}
</select></td>
</tr>
<input type="hidden" name="mid" value="{$mitarbeiter.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 {$mitarbeiter.name}</span></h2></header>
<div class="panel-body">
<table class="table table-condensed">
<tbody>
<form action="" method="post">
{foreach from=$tmp_lohn item=tmp_lohnx}
<tr>
{if $tmp_lohn.typ>0}
<td style="width:180px" ><strong>Festlohn/ Typ : {$tmp_lohnx.typ}</strong></td>
{else}
<td style="width:180px" ><strong>Festlohn/Tour: {$tmp_lohnx.tour}</strong></td>
{/if}
<td style="width:350px" ><strong>{$tmp_lohnx.bez}</strong></td>
{if $tmp_lohn.stunden>0}
<td style="width:140px" ><strong>{$tmp_lohnx.stunden} Stunden</strong>
</td>
{else}
<td style="width:140px" ><strong>{$tmp_lohnx.geld} {if $tmp_lohn.b>0}EUR/brutto{else}EUR/netto{/if}</strong>
</td>
{/if}
<td style="width:10px" >
<button type='submit' name="lohndatadelete" value="{$tmp_lohn.id}" onclick="return confirm('M&ouml;chten sie wirklich löschen ?')"><i class='fa fa-close'></i></button>
</td>
</tr>
{/foreach}
</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%;" >
{foreach from=$ttyp item=ttypx}
{html_options values=$ttypx.tid output=$ttypx.tname}
{/foreach}
</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="{$mitarbeiter.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%;" >
{foreach from=$stour item=stourx}
{html_options values=$stourx.id output=$stourx.tour}
{/foreach}
</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="{$mitarbeiter.id}" />
</form>
</tr>
</tbody>
</table>
</div>
</div>
</div>
{/if}
<!-- Mail Versand ----------------------------------------------------------------------------------------------------->
{if $anzeige==6}
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Email an {$mitarbeiter.name}</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr>
<div class="form-group">
<label for="comment">Mailtext an "{$mitarbeiter.mail}":</label>
<textarea class="form-control" rows="5" id=" name="text"" name="text"></textarea>
</div>
</tr>
<tr><input type="hidden" name="nummer" value="{$mitarbeiter.mail}"/> </tr>
<tr><input type="submit" name="sendmail" value="Email senden" ></tr>
</table>
</form>
</div>
</div>
</div>
{/if}
<!-- Time türkontrolle -->
{if $anzeige==2}
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Türkontrolle für {$mitarbeiter.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>
{foreach from=$matime item=matimex}
<tr>
<td><strong>{$matimex.log1|date_format:"%d.%m.%y - %H:%M"} Uhr</strong></td>
<td><strong>{$matimex.log2|date_format:"%d.%m.%y - %H:%M"} Uhr</strong></td>
<td><strong>{$matimex.diff}</strong> (Stunde:Minuten)</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
{/if}
<!-- ****************************************************************** -->
{if $anzeige==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">{$mitarbeiter.name} - verfügbarer Urlaub: {$gesamturlaub} Tage</h2>
</div>
</div>
</div>
{foreach from=$urechnerx item=urechner}
<div class="col-md-4">
<div class="panel panel-warning">
<div class="panel-heading"><h2 style="font-size:14pt" class="panel-title">Urlaub/krank {$urechner.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 {$urechner.urlaub_jahr}:</td>
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right">{$urechner.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">{$urechner.urlaub_genommen} Tage</td>
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484" align="left">freie Tage :</td>
{if $urechner.urlaub_rest<0}
<td nowrap style="width:120px; font-size:14pt; color:#FD0307" align="right">{$urechner.urlaub_rest} Tage</td>
{else}
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right">{$urechner.urlaub_rest} Tage</td>
{/if}
</tr>
<tr>
<td><hr></td>
<td><hr></td>
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484">Krankentage:</td>
{if $urechner.krank>7}
<td nowrap style="width:120px; font-size:14pt; color:#FD0307" align="right">{$urechner.krank} Tage</td>
{else}
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right">{$urechner.krank} Tage</td>
{/if}
</tr>
<tr>
<td nowrap style="width:200px; font-size:14pt; color:#848484">kein Krankenschein:</td>
{if $urechner.keinkschein>0}
<td nowrap style="width:120px; font-size:14pt; color:#FD0307" align="right">{$urechner.keinkschein} Tage</td>
{else}
<td nowrap style="width:120px; font-size:14pt; color:#848484" align="right">{$urechner.keinkschein} Tage</td>
{/if}
</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 {$urechner.urlaub_jahr}</h2></div>
<div class="panel-body" style="height:196px;overflow-y: scroll;">
<table class="table-hover">
<tbody>
{foreach from=$urechner.mini item=l}
<tr>
<td class="table-icon-cell"><i style="width:40px;font-size:12pt" class="{$l.icon}"></i></td>
<td nowrap style="width:100px;font-size:10pt"> <b>{$l.time|date_format:"%d.%m.%y"}</td>
<td nowrap style="width:180px;font-size:10pt"> <b>{$l.grund}</td>
</tr>
{/foreach}
{foreach from=$urechner.statistik item=k}
<tr>
<td class="table-icon-cell"><i style="width:40px;font-size:12pt" class="{$k.icon}"></i></td>
<td nowrap style="width:100px;font-size:10pt"> <b>{$k.time|date_format:"%d.%m.%y"}</td>
<td nowrap style="width:180px;font-size:10pt"> <b>{$k.grund}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
{/foreach}
</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 {$jahr}</h2></div>
<div class="panel-body">
<table class="table-hover">
<dl>
<table class="no-style full">
<tbody> {foreach from=$kal item=kalx}
<tr>
{if $kal.grau==1}
<td nowrap style="width:90px; font-size:11pt; color:#848484"> <b>{$kalx.wtag},</td>
<td nowrap style="width:90px; font-size:11pt; color:#848484"> <b>{$kalx.date|date_format:"%d.%m.%Y"}</td>
<td nowrap style="width:25px;"><i class="{$kal.fa}"></i></td>
<td nowrap style="width:200px;font-size:11pt; color:#848484"> <b>{$kalx.bez}</td>
{else}
<td nowrap style="width:90px; font-size:11pt; color:#000000"> <b>{$kalx.wtag},</td>
<td nowrap style="width:90px; font-size:11pt; color:#000000"> <b>{$kalx.date|date_format:"%d.%m.%Y"}</td>
<td nowrap style="width:25px;"><i class="{$kal.fa}"></i></td>
<!-- <td nowrap style="width:25px;"> <img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td> -->
<td nowrap style="width:200px;font-size:11pt; color:#000000"> <b>{$kalx.bez}</td>
{/if}
</tr>
</tbody> {/foreach}
</dl>
</table>
</div>
</div>
</div>
{/if}
</div> </div>
<!-- Right column/section -->