init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
1139
template/tpl/11_gkal.tpl
Normal file
1139
template/tpl/11_gkal.tpl
Normal file
File diff suppressed because it is too large
Load diff
130
template/tpl/11_index.tpl
Normal file
130
template/tpl/11_index.tpl
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
|
||||
<h1> Hallo, {$ma_info.name}</h1>
|
||||
<section id="content">
|
||||
<div class="wrapper">
|
||||
<section class="grid_8 first left">
|
||||
<div class="columns">
|
||||
<div class="column grid_5 first">
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Ihre Einsatzplanung Heute ({$tag1})</span></h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$ma_tour1 item=tour }
|
||||
<td style="width:50px"><b>{$tour.tour}</td>
|
||||
<td style="width:50px"><b>{$tour.zeit} Uhr</td>
|
||||
<td style="width:40px"><b>{$tour.gewicht} kg</td>
|
||||
<td style="width:50px"><b>{$tour.auto}</td>
|
||||
<td style="width:100px"><b><span style='color:#FF0000'>{$tour.infotext}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Ihre Einsatzplanung Morgen ({$tag2})</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$ma_tour2 item=tour }
|
||||
<td style="width:50px"><b>{$tour.tour}</td>
|
||||
<td style="width:50px"><b>{$tour.zeit} Uhr</td>
|
||||
<td style="width:40px"><b>{$tour.gewicht} kg</td>
|
||||
<td style="width:50px"><b>{$tour.auto}</td>
|
||||
<td style="width:100px"><b><span style='color:#FF0000'>{$tour.infotext}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Ihre Einsatzplanung ({$tag3})</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$ma_tour3 item=tour }
|
||||
<td style="width:50px"><b>{$tour.tour}</td>
|
||||
<td style="width:50px"><b>{$tour.zeit} Uhr</td>
|
||||
<td style="width:40px"><b>{$tour.gewicht} kg</td>
|
||||
<td style="width:50px"><b>{$tour.auto}</td>
|
||||
<td style="width:100px"><b><span style='color:#FF0000'>{$tour.infotext}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Ihre Einsatzplanung ({$tag4})</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$ma_tour4 item=tour }
|
||||
<td style="width:50px"><b>{$tour.tour}</td>
|
||||
<td style="width:50px"><b>{$tour.zeit} Uhr</td>
|
||||
<td style="width:40px"><b>{$tour.gewicht} kg</td>
|
||||
<td style="width:50px"><b>{$tour.auto}</td>
|
||||
<td style="width:100px"><b><span style='color:#FF0000'>{$tour.infotext}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Sidebar 1 -->
|
||||
<div class="column grid_3">
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Normplan Heute {$tag1}</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr><td style="width:70px"><b>LVZ-City</td> <td style="width:100px"><b>{$normp1.lvz_city} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>LVZ-Borna/Gth.</td> <td style="width:100px"><b>{$normp1.lvz_bgz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>LVZ-Delitzsch/Eilenb.</td> <td style="width:100px"><b>{$normp1.lvz_dek} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>LVZ-Muldentalkreis</td> <td style="width:100px"><b>{$normp1.lvz_mtk} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Torgauer Teitung</td> <td style="width:100px"><b>{$normp1.tz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Oschatzer Allg. Z.</td> <td style="width:100px"><b>{$normp1.oaz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Döbelner Allg. Z.</td> <td style="width:100px"><b>{$normp1.daz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Osterländer V.Z.</td> <td style="width:100px"><b>{$normp1.ovz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Dresdner Neue N.</td> <td style="width:100px"><b>{$normp1.dnn} </b>St./pro Paket</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Sidebar 1 -->
|
||||
<div class="column grid_3">
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Normplan Morgen {$tag2}</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr><td style="width:70px"><b>LVZ-City</td> <td style="width:100px"><b>{$normp2.lvz_city} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>LVZ-Borna/Gth.</td> <td style="width:100px"><b>{$normp2.lvz_bgz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>LVZ-Delitzsch/Eilenb.</td> <td style="width:100px"><b>{$normp2.lvz_dek} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>LVZ-Muldentalkreis</td> <td style="width:100px"><b>{$normp2.lvz_mtk} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Torgauer Teitung</td> <td style="width:100px"><b>{$normp2.tz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Oschatzer Allg. Z.</td> <td style="width:100px"><b>{$normp2.oaz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Döbelner Allg. Z.</td> <td style="width:100px"><b>{$normp2.daz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Osterländer V.Z.</td> <td style="width:100px"><b>{$normp2.ovz} </b>St./pro Paket</td></tr>
|
||||
<tr><td style="width:70px"><b>Dresdner Neue N.</td> <td style="width:100px"><b>{$normp2.dnn} </b>St./pro Paket</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Sidebar 3 -->
|
||||
<div class="column grid_3">
|
||||
<div class="widget">
|
||||
<header class="current"><h2><span style='color:#0000FF'>Kalendereintrag ({$monat}/{$jahr})</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$kal item=kal }
|
||||
<td style="width:70px"><b>{$kal.datum}</td>
|
||||
<td> <img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td style="width:100px"><b><span style='color:#FF0000'>{$kal.grund}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Sidebar End -->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
9
template/tpl/404.tpl
Normal file
9
template/tpl/404.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<section>
|
||||
|
||||
<div class="notfoundpanel">
|
||||
<h1>404!</h1>
|
||||
<h3>The page you are looking for has not been found!</h3>
|
||||
|
||||
</div><!-- notfoundpanel -->
|
||||
|
||||
</section>
|
||||
95
template/tpl/_iss_data.tpl
Normal file
95
template/tpl/_iss_data.tpl
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
|
||||
<tr>
|
||||
<form action="" method="post">
|
||||
|
||||
{if $tour.aktiv!=1}
|
||||
<td nowrap style="width:60px;line-height:2;font-size:11pt;"><mark>{$tour.tname}</mark></td>
|
||||
<!-- Stellzeiten -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="time" value="{$tour.zeit}" style="width:75px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="zeit_{$tour.id}" name="list[{$tour.id}][zeit]" onChange="save_time({$tour.id})">
|
||||
</td>
|
||||
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
|
||||
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
|
||||
|
||||
<td nowrap style="width:65px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.pakete2}" style="width:28px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="pakete_{$tour.id}" name="list[{$tour.tid}][pakete2]" onChange="save_pakete({$tour.id})"> / {$tour.pakete}
|
||||
</td>
|
||||
|
||||
<td nowrap style="width:30px;font-size:12pt" align="right"> </td>
|
||||
<td nowrap style="width:30px;font-size:12pt" align="right"> </td>
|
||||
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
|
||||
|
||||
{else}
|
||||
<!-- Tourname -->
|
||||
<td nowrap style="width:70px;line-height:2;font-size:11pt">{$tour.tname}</td>
|
||||
|
||||
<!-- Stellzeiten -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="time" value="{$tour.zeit}" style="width:75px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="zeit_{$tour.id}" name="list[{$tour.id}][zeit]" onChange="save_time({$tour.id})">
|
||||
</td>
|
||||
|
||||
|
||||
<!-- Exemplare SaSo -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.exemplare}" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="exemplare_{$tour.id}"name="list[{$tour.tid}][exemplare]" onChange="save_exemplare({$tour.id})"> x
|
||||
</td>
|
||||
|
||||
|
||||
<!-- Vorabgewicht aus Stellzeitenlise -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.gewicht3}" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="gewicht3_{$tour.id}"name="list[{$tour.tid}][gewicht3]"onChange="save_gewicht3({$tour.id})"> kg
|
||||
</td>
|
||||
|
||||
<!-- Pakete SaSo -->
|
||||
<td nowrap style="width:65px;font-size:10pt" align="right">{$tour.pakete2} / {$tour.pakete}
|
||||
|
||||
<!-- Exemplare Amtsblatt -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.amtsblatt}" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="abst_{$tour.id}"name="list[{$tour.tid}][abst]" onChange="save_abst({$tour.id})"> x
|
||||
</td>
|
||||
<!-- Summe Zusatz Autorechnung -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" disabled value="{$tour.gewichtx}" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"> kg
|
||||
</td>
|
||||
|
||||
<!-- Vorabgewicht aus Frachtbrief -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.gewicht}" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="gewicht_{$tour.id}"name="list[{$tour.tid}][gewicht]" onChange="save_gewicht({$tour.id})"> kg
|
||||
</td>
|
||||
|
||||
{/if}
|
||||
|
||||
<!-- geschätztes Gewicht pro Paket -->
|
||||
<td nowrap style="width:80px;font-size:7pt" align="right" id="gewicht5_{$tour.id}">{$tour.gewicht5} kg/Pa.<br>{$tour.gewicht2} kg/Pa.
|
||||
</td>
|
||||
|
||||
{if $tour.aktiv==1}
|
||||
<!-- bereitzeit/Abhlozeit -->
|
||||
<td nowrap style="width:80px;font-size:7pt" align="right" id="gewicht5_{$tour.id}">
|
||||
<span style="color: orange">{$tour.bereitzeit} Uhr</span>
|
||||
<br>
|
||||
<span style="color: green">{$tour.fertigzeit} Uhr</span>
|
||||
</td>
|
||||
{else}
|
||||
<td nowrap style="width:80px;font-size:12pt" align="right"> </td>
|
||||
|
||||
{/if}
|
||||
<td nowrap style="width:30px;font-size:10pt
|
||||
{if $tour.gewicht4>2200};color:#990000{elseif $tour.gewicht4>2000};color:#FF8000{else};color:#008000{/if}" align="right">
|
||||
<i class="fa fa-car" rel="stylesheet" title="{$tour.kz}" id="button2"></i>
|
||||
</td>
|
||||
<!-- geschätztes Gewicht für Fahrzeug -->
|
||||
<td nowrap style="width:60px;font-size:10pt" align="right">{$tour.gewicht4} kg</td>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
17
template/tpl/_iss_datakopf.tpl
Normal file
17
template/tpl/_iss_datakopf.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<thead>
|
||||
<tr style="line-height:2;font-size:7pt;text-align:left">
|
||||
<th nowrap style="width:70px;text-align:left:border-bottom: 2px solid #FF9600">Tour</th>
|
||||
<th nowrap style="width:90px;text-align:center;border-bottom: 2px solid #0000FF">Stellzeit</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #0000FF">SaSo Exemp.</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #0000FF">Gew. SaSo</th>
|
||||
<th nowrap style="width:80px;text-align:center;border-bottom: 2px solid #0000FF">SaSo Pak.</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #FF0000">Amts.Exemp.</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #FF0000">Gew.Zusatz</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #5FC405">Abrechnung</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #5FC405">Gew.Pak.</th>
|
||||
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #888888">Zeiten</th>
|
||||
|
||||
<th nowrap style="width:30px;text-align:right;border-bottom: 2px solid #888888">-</th>
|
||||
<th nowrap style="width:60px;text-align:right;border-bottom: 2px solid #888888">Auto gew.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
275
template/tpl/_paktuell.tpl
Normal file
275
template/tpl/_paktuell.tpl
Normal file
|
|
@ -0,0 +1,275 @@
|
|||
<b><i><span style='font-size:16pt;line-height:115%;
|
||||
color:#4F81BD'>Anzeige wählen: </span></i></b>   
|
||||
|
||||
          
|
||||
<b><i><span style='font-size:10pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=paktuell&wahl=1&jahr={$jahr}&monat={$monat}">«</a>   {$monat}/{$jahr}  
|
||||
<a class="button-blue" href="?s=paktuell&wahl=2&jahr={$jahr}&monat={$monat}">»</a></span></i></b>
|
||||
           <a class="button button-orange" href="?s=list_paktuell&jahr={$jahr}&monat={$monat}&tag={$tag}&tid={$anzeige}">PDF/Monat</a>
|
||||
</p>
|
||||
<!-- ***** Tourenlisten linke Seite ***** -->
|
||||
<section id="content0">
|
||||
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
|
||||
<section class="grid_8 first top">
|
||||
<!-- <div class="columns">-->
|
||||
<div class="column grid_1 first">
|
||||
<div class="widget collapsible">
|
||||
<header class="current"><h2>Auswahl</h2></header>
|
||||
<section>
|
||||
<table class="paginate">
|
||||
<thead>
|
||||
{foreach from=$tage item=tage}
|
||||
<tr>
|
||||
{if $tage.tagt==1} <td><font color="#A8A5A5">-- {$tage.kw}.KW --</td></tr><tr> {/if}
|
||||
{if $tage.aktiv>0}
|
||||
<td style="background:#FF0"><a href="?s=paktuell&jahr={$jahr}&monat={$monat}&tag={$tage.tag}" title="Kicke zum auswälen">{$tage.datum}</td>
|
||||
{else}
|
||||
<td><a href="?s=paktuell&jahr={$jahr}&monat={$monat}&tag={$tage.tag}" title="Kicke zum auswälen" >{$tage.datum}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</thead>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- rechte seite -->
|
||||
<div class="column grid_5 last">
|
||||
<!-- ///////////////// menu seite -->
|
||||
<div class="widget collapsible">
|
||||
<div class="widget">
|
||||
<header class="current"><h2>PVL Gerichshain für: {$tag}.{$monat}.{$jahr}</h2></header>
|
||||
<section>
|
||||
<!-- Gerichshain -->
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Fahrzeug</th>
|
||||
<th>Bemerkung</th>
|
||||
<th>SMS</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$tag_tour2 item=tour}
|
||||
<tr>
|
||||
<td nowrap style="width:60px"><b> {$tour.tour}</td>
|
||||
<!-- --------------------------- fahrer -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrer]" style="width:160px;" >
|
||||
{foreach from=$tour.fahrer_array item=allfahrer}
|
||||
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrzeug]" style="width:100px;" >
|
||||
|
||||
{foreach from=$tour.auto_array item=allauto}
|
||||
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td><input type="text" value="{$tour.infotext}" style="width:240px;" name="list[{$tour.tid}][infotext]"></center></td>
|
||||
<td> <center>
|
||||
<input type="hidden" name="sendtour" value="{$tour.id}"/>
|
||||
{if $tour.smsid==0 && $tour.fahrer_id>0 && $tour.fahrer_id!=1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
|
||||
{if $tour.smsid>0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
|
||||
{if $tour.fahrer_id==0 || $tour.fahrer_id==1009} <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
|
||||
</center>
|
||||
</td>
|
||||
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<td></td> <td></td> <td></td> <td><input type="submit" name="testsave" value="kompl. Liste Speichern"></td>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<!-- LVZ -->
|
||||
<div class="widget">
|
||||
<header class="current"><h2>LVZ Stahmeln für: {$tag}.{$monat}.{$jahr}</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Fahrzeug</th>
|
||||
<th>Bemerkung</th>
|
||||
<th>SMS</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$lvz_tour2 item=tour}
|
||||
<tr>
|
||||
<td nowrap style="width:60px"><b> {$tour.tour}</td>
|
||||
<!-- --------------------------- fahrer -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrer]" style="width:160px;" >
|
||||
{foreach from=$tour.fahrer_array item=allfahrer}
|
||||
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrzeug]" style="width:100px;" >
|
||||
|
||||
{foreach from=$tour.auto_array item=allauto}
|
||||
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td><input type="text" value="{$tour.infotext}" style="width:240px;" name="list[{$tour.tid}][infotext]"></center></td>
|
||||
<td> <center>
|
||||
<input type="hidden" name="sendtour" value="{$tour.id}"/>
|
||||
{if $tour.smsid==0 && $tour.fahrer_id>0 && $tour.fahrer_id!=1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
|
||||
{if $tour.smsid>0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
|
||||
{if $tour.fahrer_id==0 || $tour.fahrer_id==1009} <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
|
||||
</center>
|
||||
</td>
|
||||
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<td></td> <td></td> <td></td> <td><input type="submit" name="testsave" value="kompl. Liste Speichern"></td>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<!-- PIN AG -->
|
||||
<div class="widget">
|
||||
<header class="current"><h2>PIN AG Stahmeln für: {$tag}.{$monat}.{$jahr}</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Fahrzeug</th>
|
||||
<th>Bemerkung</th>
|
||||
<th>SMS</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$pin_tour2 item=tour}
|
||||
<tr>
|
||||
<td nowrap style="width:60px"><b> {$tour.tour}</td>
|
||||
<!-- --------------------------- fahrer -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrer]" style="width:160px;" >
|
||||
{foreach from=$tour.fahrer_array item=allfahrer}
|
||||
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrzeug]" style="width:100px;" >
|
||||
|
||||
{foreach from=$tour.auto_array item=allauto}
|
||||
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td><input type="text" value="{$tour.infotext}" style="width:240px;" name="list[{$tour.tid}][infotext]"></center></td>
|
||||
<td> <center>
|
||||
<input type="hidden" name="sendtour" value="{$tour.id}"/>
|
||||
{if $tour.smsid==0 && $tour.fahrer_id>0 && $tour.fahrer_id!=1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
|
||||
{if $tour.smsid>0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
|
||||
{if $tour.fahrer_id==0 || $tour.fahrer_id==1009} <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
|
||||
</center>
|
||||
</td>
|
||||
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<td></td> <td></td> <td></td> <td><input type="submit" name="testsave" value="kompl. Liste Speichern"></td>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<!-- essen -->
|
||||
<div class="widget">
|
||||
<header class="current"><h2>Essen nach Grimma für: {$tag}.{$monat}.{$jahr}</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Fahrzeug</th>
|
||||
<th>Bemerkung</th>
|
||||
<th>SMS</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$etrp_tour2 item=tour}
|
||||
<tr>
|
||||
<td nowrap style="width:60px"><b> {$tour.tour}</td>
|
||||
<!-- --------------------------- fahrer -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrer]" style="width:160px;" >
|
||||
{foreach from=$tour.fahrer_array item=allfahrer}
|
||||
{html_options values=$allfahrer.id output=$allfahrer.name selected=$tour.fahrer_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td><center>
|
||||
<select name="list[{$tour.tid}][Fahrzeug]" style="width:100px;" >
|
||||
|
||||
{foreach from=$tour.auto_array item=allauto}
|
||||
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
<td><input type="text" value="{$tour.infotext}" style="width:240px;" name="list[{$tour.tid}][infotext]"></center></td>
|
||||
<td> <center>
|
||||
<input type="hidden" name="sendtour" value="{$tour.id}"/>
|
||||
{if $tour.smsid==0 && $tour.fahrer_id>0 && $tour.fahrer_id!=1009}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png"/>{/if}
|
||||
{if $tour.smsid>0 && $tour.fahrer_id>0}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/okay.png"/>{/if}
|
||||
{if $tour.fahrer_id==0 || $tour.fahrer_id==1009} <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
|
||||
</center>
|
||||
</td>
|
||||
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<td></td> <td></td> <td></td> <td><input type="submit" name="testsave" value="kompl. Liste Speichern"></td>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div> </div> </div>
|
||||
|
||||
<!-- rechte seite -->
|
||||
|
||||
<div class="column grid_2 last">
|
||||
<!-- ///////////////// menu seite -->
|
||||
<div class="widget collapsible">
|
||||
<header class="current"><h2>Kalender für {$datumland}</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$maf1 item=maf1 }
|
||||
<td> {$maf1.fahrer}</td>
|
||||
<td> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
||||
<td> {$maf1.bez}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
189
template/tpl/_temp.tpl
Normal file
189
template/tpl/_temp.tpl
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
|
||||
<!-- Compiled and minified Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
|
||||
|
||||
<!-- Optional theme -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
|
||||
|
||||
|
||||
<!-- Compiled and minified FontAwesome CSS -->
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
||||
|
||||
<!-- Main Stylesheet -->
|
||||
<link rel="stylesheet" href="lib/css/style.css" />
|
||||
|
||||
<!-- Pricing Table CSS -->
|
||||
<link rel="stylesheet" href="lib/pricing.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="wrapper">
|
||||
<header id="page-header">
|
||||
<div class="container">
|
||||
<nav class="navbar navbar-inverse">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="dashboard.html">NeueAdmin</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul id="main-nav" class="nav navbar-nav">
|
||||
<li><a href="dashboard.html">Dashboard</a></li>
|
||||
<li><a href="media.html">Media</a></li>
|
||||
<li><a href="pricing.html">Pricing Table</a></li>
|
||||
<li><a href="profile.html">Profile</a></li>
|
||||
<li class="active"><a href="reporting.html">Reporting</a></li>
|
||||
<li class="pull-right dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Quick Links <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="#">New Post</a></li>
|
||||
<li><a href="#">Drafts</a></li>
|
||||
<li><a href="#">Upload</a></li>
|
||||
<li><a href="#">Comments</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="pull-right">
|
||||
<button type="button" class="btn btn-warning navbar-btn" onclick="window.location='pricing.html'">Upgrade Plan</button>
|
||||
</li>
|
||||
</ul>
|
||||
<ul id="util-nav" class="nav navbar-nav">
|
||||
<li class="nav-hide"><span class="navbar-text">Logged in as admin:</span></li>
|
||||
<li><a href="#">Profile</a></li>
|
||||
<li><a href="#">Account</a></li>
|
||||
<li><a href="#">Help</a></li>
|
||||
<li><a href="index.html">Logout</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="page-subheader">
|
||||
<div class="container">
|
||||
<input placeholder="Search..." type="text" name="q" value="" />
|
||||
<nav id="sub-nav">
|
||||
<ul>
|
||||
<li><a href="reporting.html">Summary</a></li>
|
||||
<li class="active"><a href="reporting-line.html">Line Graph</a></li>
|
||||
<li><a href="reporting-radar.html">Radar</a></li>
|
||||
<li><a href="reporting-filled.html">Filled Areas</a></li>
|
||||
<li><a href="reporting-bar.html">Bars</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<!-- Main Section -->
|
||||
|
||||
<section class="col-md-9">
|
||||
|
||||
<div class="panel panel-default collapsible">
|
||||
<header class="panel-heading"><h2 class="panel-title">Line Graph</h2></header>
|
||||
<section class="panel-body">
|
||||
<div><canvas id="myChart"></canvas></div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Main Section End -->
|
||||
|
||||
<!-- Sidebar -->
|
||||
|
||||
<aside class="col-md-3">
|
||||
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
|
||||
<header class="panel-heading">
|
||||
|
||||
<h2 class="panel-title">Your Account: Free Trial</h2>
|
||||
|
||||
</header>
|
||||
|
||||
<section class="panel-body">
|
||||
<dl>
|
||||
|
||||
<dt>Bandwidth: 10000/100000 MB</dt>
|
||||
<dd><div class="progress"><div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width: 10%;"><span class="sr-only">10%</span></div></div></dd>
|
||||
<dt>Storage: 500/1000 MB</dt>
|
||||
<dd><div class="progress"><div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;"><span class="sr-only">50%</span></div></div></dd>
|
||||
<dt>Users: 3/5</dt>
|
||||
<dd><div class="progress"><div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"><span class="sr-only">60%</span></div></div></dd>
|
||||
<dt>Emails Sent: 900/1000</dt>
|
||||
<dd><div class="progress"><div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 90%;"><span class="sr-only">90%</span></div></div></dd>
|
||||
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<footer class="panel-footer clearfix">
|
||||
<a class="btn btn-primary btn-block" href="pricing.html">Upgrade Plan »</a>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
</aside>
|
||||
|
||||
<!-- Sidebar End -->
|
||||
</div>
|
||||
</div>
|
||||
<div id="push"></div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<footer id="page-footer">
|
||||
<div id="footer-inner">
|
||||
<p class="container"><span style="float: right;"><a href="#">Documentation</a> | <a href="#">Feedback</a></span>Last account activity from 127.0.0.1 - <a href="#">Details</a> | © 2010. All rights reserved. Theme design by VivantDesigns</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
|
||||
<!-- Chart JS -->
|
||||
<script src="lib/js/jquery-ui.min.js"></script>
|
||||
<script src="lib/js/global.js"></script>
|
||||
<script src="lib/js/chart.min.js></script>
|
||||
{literal}
|
||||
<script>
|
||||
<!-- Main Script -->
|
||||
var data = {
|
||||
labels: ["January", "February", "March", "April", "May", "June", "July"],
|
||||
datasets: [
|
||||
{
|
||||
label: "My First dataset",
|
||||
fillColor: "transparent",
|
||||
strokeColor: "rgba(220,220,220,1)",
|
||||
pointColor: "rgba(220,220,220,1)",
|
||||
pointStrokeColor: "#fff",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(220,220,220,1)",
|
||||
data: [65, 59, 80, 81, 56, 55, 40]
|
||||
},
|
||||
{
|
||||
label: "My Second dataset",
|
||||
fillColor: "transparent",
|
||||
strokeColor: "rgba(151,187,205,1)",
|
||||
pointColor: "rgba(151,187,205,1)",
|
||||
pointStrokeColor: "#fff",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(151,187,205,1)",
|
||||
data: [28, 48, 40, 19, 86, 27, 90]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
var ctx = $("#myChart").get(0).getContext("2d");
|
||||
new Chart(ctx).Line(data, {
|
||||
responsive: true
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
</body>
|
||||
</html>
|
||||
388
template/tpl/a_abr.tpl
Normal file
388
template/tpl/a_abr.tpl
Normal file
|
|
@ -0,0 +1,388 @@
|
|||
|
||||
<b><i><span style='font-size:16pt;line-height:115%;
|
||||
color:#4F81BD'>Anzeige wählen:    
|
||||
|
||||
          
|
||||
<b><i><span style='font-size:16pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=a_abr&wahl=1&jahr={$jahr}&monat={$monat}">«</a>   {$monat}/{$jahr}  
|
||||
<a class="button-blue" href="?s=a_abr&wahl=2&jahr={$jahr}&monat={$monat}">»</a></span></i></b>
|
||||
          
|
||||
</span></i></b>
|
||||
|
||||
|
||||
<!-- ***** Tourenlisten linke Seite ***** -->
|
||||
<div class="row sortable">
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title">Firmenauswahl</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
{foreach from=$firmen item=firm}
|
||||
<tr>
|
||||
<td style="font-size:10pt;line-height:100%;">
|
||||
<a href="?s=a_abr&id={$firm.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum auswälen" >{$firm.a1}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:10pt;line-height:100%;">
|
||||
<a href="?s=a_abr&id={$firm.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum auswälen" >{$firm.a2}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><hr></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</thead>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-5">
|
||||
{if $anzeige==0}
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title">Info</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<header class="current"><h2>Info </h2></header>
|
||||
<span style='font-size:10pt;line-height:100%; color:#FC072D'>
|
||||
Bitte die Firma auwählen die Sie bearbeiten möchten.
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
|
||||
<!-- ///////////////// menu wenn keine Firma ausgewählt-->
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>komplettübersicht</h2></header>
|
||||
<section class="panel-body">
|
||||
<dl>
|
||||
<section>
|
||||
<table class="table">
|
||||
<tbody> {foreach from=$tour3 item=tour }
|
||||
<!--
|
||||
<td nowrap style="width:80px;font-size:11pt"> {$tour.tourname} </td>
|
||||
<td nowrap style="width:160px;font-size:8pt"> {$tour.infotitel} </td>
|
||||
<td nowrap style="width:35px;font-size:11pt"> {$tour.tourmenge} x</td>
|
||||
-->
|
||||
|
||||
<tr nowrap style="width:35px;font-size:11pt" id="loadzeile{$tour.id}">
|
||||
<script> var monat = '{$monat}';</script>
|
||||
<script> var jahr = '{$jahr}';</script>
|
||||
<script> var tid = '{$tour.id}';</script>
|
||||
{literal}
|
||||
<script>
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : "ajax.php?s=a_abr&tpl",
|
||||
cache : false,
|
||||
data: 'tid=' + tid + "&monat=" + monat + "&jahr=" + jahr,
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#loadzeile{/literal}{$tour.id}{literal}").html(data);
|
||||
|
||||
},
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
</tr>
|
||||
|
||||
<!--
|
||||
<td nowrap align="right" style="width:50px;font-size:12pt;color: red">
|
||||
|
||||
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_abr_nw&id={$anzeige}&tid={$tour.tid}&jahr={$jahr}&monat={$monat}" >
|
||||
<i class="far fa-file-pdf" style="color: red"></i>
|
||||
</td>
|
||||
-->
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
</dl>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -------------------------------------->
|
||||
|
||||
|
||||
<!-- Sidebar -->
|
||||
<aside class="col-md-4">
|
||||
<!-- -------------------------------------->
|
||||
{if $anzeige==1}
|
||||
<!-- ------------------------------------ Rundschau
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>komplett 2020 (1400)</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr8a&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 / +30 Halle</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<!-- ------------------------------------ Rundschau
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Rundschau 2020 (1400)</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr7&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 / +30 Halle</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<!-- ------------------------------------ Klauland 2020 -->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Kaufland 2020</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr13&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Ersatz für Rundschau</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ------------------------------------ Marktbelege -->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Marktbelege</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr12&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Belege aus Halle </td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ------------------------------------ SaSo 1300 -->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:lightgray'>SaSo 2020 (1300)</td>
|
||||
<td nowrap align="right" style='width:60px'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:lightgray'>1300 / 650 / 1951 </td>
|
||||
</tr>
|
||||
-->
|
||||
<!-- ------------------------------------ SaSo 1400 -->
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>SaSo 2020 (1400)</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr8&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 </td>
|
||||
</tr>
|
||||
<!-- ------------------------------------ SaSo 1400 ohne 50% -->
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>SaSo 2020 (1400 ohne 50%)</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19x&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1400 / 1400 / 2801 </td>
|
||||
</tr>
|
||||
-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ------------------------------------ SaSo Sondertour 999 -->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>SaSo Sondertour</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19_999&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Abn. 120/160/180/680/690/750</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ------------------------------------ SaSo 1300 -->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Wirth 2020</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19m&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1500 / 750 / 2251 </td>
|
||||
</tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>Wirth 2020</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19mx&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1500 / 1500 / 3000 </td>
|
||||
</tr>
|
||||
<!--
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:lightgray'>Steinmacher 2020 (1300)</td>
|
||||
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19i13&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:lightgray'>1300 / 650 / 1951 </td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Steinmacher 2020 (1400)</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19i14&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 </td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>Steinmacher (1400o.50%)</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19ix14&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1400 / 1400 / 2801 </td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Haack 2020</td>
|
||||
<td nowrap align="right" style='width:60px; color:#4F81BD'>
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_a_abr19a&id={$firmen.id}&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<!-- -------------------------------------->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>PDF-Daten</h2></header>
|
||||
<section class="panel-body">
|
||||
<dl>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<a href="?s=list_a_abr2&jahr={$jahr}&monat={$monat}&id={$anzeige}" class="btn btn-warning" role="button">Übersicht PDF</a>
|
||||
</br>
|
||||
<a href="?s=list_a_abr&jahr={$jahr}&monat={$monat}&id={$anzeige}" class="btn btn-warning" role="button">Rechnungseinleger PDF</a>
|
||||
</tbody>
|
||||
</table>
|
||||
</dl>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
<!-- Sidebar End -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
rechte seite -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
58
template/tpl/a_auto.tpl
Normal file
58
template/tpl/a_auto.tpl
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<form action="" method="post">
|
||||
</select>
|
||||
<input type="date" name="dasdatum" value="{$time|date_format:"%d.%m.%Y"}" />
|
||||
|
||||
<select name="ma1" style="width:180px;" >
|
||||
{foreach from=$ma1 item=allauto}
|
||||
{html_options values=$allauto.id output=$allauto.kz }
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="submit" name="datesubmit" value="OK" >
|
||||
|
||||
</form>
|
||||
{foreach from=$datum item=date}
|
||||
{foreach from=$auto item=car}
|
||||
<br /><b><i><span style='font-size:20.0pt;line-height:115%;color:#4F81BD'>Uebersicht Fahrzeug: {$car} am {$date}</span></i></b></p>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<table class="table table-striped">
|
||||
{foreach from=$wwa item=wx}
|
||||
<tr style='font-size:11pt;color:#115270'>
|
||||
<td align="left" style='width:30px '>{$wx.tag}.{$wx.monat}.{$wx.jahr}</td>
|
||||
<td align="left" style='width:120px'>{$wx.fahrer}</td>
|
||||
<td align="left" style='width:100px'>{$wx.tour}</td>
|
||||
<td align="left" style='width:170px'>{$wx.infotext}</td>
|
||||
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<!--
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Tour</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$wwa item=wx }
|
||||
<tr>
|
||||
<td> <b>{$wx.tag}.{$wx.monat}.{$wx.jahr}</td>
|
||||
<td> <b>{$wx.fahrer}</td>
|
||||
<td> <b>{$wx.tour}</td>
|
||||
<td> <b>{$wx.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
-->
|
||||
102
template/tpl/a_fahrz.tpl
Normal file
102
template/tpl/a_fahrz.tpl
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeugübersicht
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_ma_pdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
</spawn>
|
||||
</div>
|
||||
<div class="panel-body" style="background-color:#ffffff">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist item=malist}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:#115270"
|
||||
onclick="window.location='?s=a_fahrz&id={$malist.id}&jahr={$jahr}&monat={$monat}'">
|
||||
<span style='font-size:12pt;color:#115270'>{$malist.kz}</span>
|
||||
</td>
|
||||
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:gray"
|
||||
onclick="window.location='?s=a_fahrz&id={$malist.id}&jahr={$jahr}&monat={$monat}'">
|
||||
<span style='font-size:8pt; color:#115270'>{$malist.name}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==0}
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeuge</span></div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><span style='font-size:30pt;line-height:100%; color:orange'>Fahrzeug auswählen</span></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:12pt;">{$ma_kz} * {$ma_name} * (ID:{$ma_id}) * Zeitraum {$monat}/{$jahr}</span></div>
|
||||
<div class="panel-body">
|
||||
<table class="table table-striped">
|
||||
{foreach from=$senddata item=tdata}
|
||||
<tr style='font-size:11pt;color:#115270'>
|
||||
<td align="left" style='width:30px '>{$tdata.datum}</td>
|
||||
<td align="left" style='width:120px'>{$tdata.typ}</td>
|
||||
<td align="left" style='width:100px'>{$tdata.tname}</td>
|
||||
<td align="left" style='width:170px'>{$tdata.fahrer}</td>
|
||||
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside class="col-md-3">
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<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_fahrz&wahl=1&jahr={$jahr}&monat={$monat}&id={$ma_id}'"></i>
|
||||
<span> {$monat} / {$jahr} </span>
|
||||
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_fahrz&wahl=2&jahr={$jahr}&monat={$monat}&id={$ma_id}'"></i>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
103
template/tpl/a_faz.tpl
Normal file
103
template/tpl/a_faz.tpl
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
|
||||
|
||||
|
||||
<form action="" method="post">
|
||||
<select name="ma2" style="width:180px;" >
|
||||
{foreach from=$ma2 item=mam}
|
||||
{html_options values=$ma2.id output=$ma2.name selected=$ma2.monat}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<select name="ma3" style="width:180px;" >
|
||||
{foreach from=$ma3 item=maj}
|
||||
{html_options values=$ma3.id output=$ma3.name selected=$ma3.jahr}
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="submit" name="save" value="Anzeigen" />
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<br/>
|
||||
<b><span style='font-size:18pt;
|
||||
color:#4F81BD'>FAZ(am Sonntag) Übersicht für für Zeitraum: {$monat}/{$jahr}</span></b></p>
|
||||
<br/>
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Firma</td>
|
||||
<td>Exemplare</td>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$summe item=summe }
|
||||
<tr>
|
||||
<td> <b>{$summe.firma}</td>
|
||||
<td> <b>{$summe.menge}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<br/>
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Zusteller</td>
|
||||
<td>Exemplare</td>
|
||||
<td>Info</td>
|
||||
<td>Z.Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour1 item=tour1 }
|
||||
<tr>
|
||||
<td> <b>{$tour1.tag}.{$tour1.monat}.{$tour1.jahr}</td>
|
||||
<td> <b>{$tour1.tour}</td>
|
||||
<td> <b>{$tour1.fahrer}</td>
|
||||
<td> <b>{$tour1.exemplare}</td>
|
||||
<td> <b>{$tour1.infotext}</td>
|
||||
{if $tour1.fremd > 0}
|
||||
<td> <b>-</td>
|
||||
{else}
|
||||
<td> <b>Vertretung</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
283
template/tpl/a_firma1.tpl
Normal file
283
template/tpl/a_firma1.tpl
Normal file
|
|
@ -0,0 +1,283 @@
|
|||
|
||||
|
||||
|
||||
<form action="" method="post">
|
||||
|
||||
<select name="ma1" style="width:180px;" >
|
||||
{foreach from=$ma1 item=allfirmen}
|
||||
{html_options values=$allfirmen.id output=$allfirmen.name}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<select name="ma2" style="width:180px;" >
|
||||
{foreach from=$ma2 item=mam}
|
||||
{html_options values=$ma2.id output=$ma2.name selected=$ma2.monat}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<select name="ma3" style="width:180px;" >
|
||||
{foreach from=$ma3 item=maj}
|
||||
{html_options values=$ma3.id output=$ma3.name selected=$ma3.jahr}
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="password" style="width:150px;" name="ma5" placeholder="Passwort Verwaltung"></td>
|
||||
|
||||
|
||||
<input type="submit" name="save" value="Anzeigen" />
|
||||
</form>
|
||||
|
||||
|
||||
{foreach from=$a_name item=a_name}
|
||||
{foreach from=$a_monat item=a_monat}
|
||||
{foreach from=$a_jahr item=a_jahr}
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
<b><span style='font-size:18pt;
|
||||
color:#4F81BD'>Übersicht für {$a_name} für Zeitraum: {$a_monat}.{$a_jahr}</span></b></p>{/foreach} {/foreach} {/foreach}
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour1 item=tour1 }
|
||||
<tr>
|
||||
<td> <b>{$tour1.tag}.{$tour1.monat}.{$tour1.jahr}</td>
|
||||
<td> <b>{$tour1.tour}</td>
|
||||
<td> <b>{$tour1.kennz}</td>
|
||||
<td> <b>{$tour1.fahrer}</td>
|
||||
<td> <b>{$tour1.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour2 item=tour2 }
|
||||
<tr>
|
||||
<td> <b>{$tour2.tag}.{$tour2.monat}.{$tour2.jahr}</td>
|
||||
<td> <b>{$tour2.tour}</td>
|
||||
<td> <b>{$tour2.kennz}</td>
|
||||
<td> <b>{$tour2.fahrer}</td>
|
||||
<td> <b>{$tour2.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour3 item=tour3 }
|
||||
<tr>
|
||||
<td> <b>{$tour3.tag}.{$tour3.monat}.{$tour3.jahr}</td>
|
||||
<td> <b>{$tour3.tour}</td>
|
||||
<td> <b>{$tour3.kennz}</td>
|
||||
<td> <b>{$tour3.fahrer}</td>
|
||||
<td> <b>{$tour3.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour4 item=tour4 }
|
||||
<tr>
|
||||
<td> <b>{$tour4.tag}.{$tour4.monat}.{$tour4.jahr}</td>
|
||||
<td> <b>{$tour4.tour}</td>
|
||||
<td> <b>{$tour4.kennz}</td>
|
||||
<td> <b>{$tour4.fahrer}</td>
|
||||
<td> <b>{$tour4.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour5 item=tour5 }
|
||||
<tr>
|
||||
<td> <b>{$tour5.tag}.{$tour5.monat}.{$tour5.jahr}</td>
|
||||
<td> <b>{$tour5.tour}</td>
|
||||
<td> <b>{$tour5.kennz}</td>
|
||||
<td> <b>{$tour5.fahrer}</td>
|
||||
<td> <b>{$tour5.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour6 item=tour6 }
|
||||
<tr>
|
||||
<td> <b>{$tour6.tag}.{$tour6.monat}.{$tour6.jahr}</td>
|
||||
<td> <b>{$tour6.tour}</td>
|
||||
<td> <b>{$tour6.kennz}</td>
|
||||
<td> <b>{$tour6.fahrer}</td>
|
||||
<td> <b>{$tour6.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour7 item=tour7 }
|
||||
<tr>
|
||||
<td> <b>{$tour7.tag}.{$tour7.monat}.{$tour7.jahr}</td>
|
||||
<td> <b>{$tour7.tour}</td>
|
||||
<td> <b>{$tour7.kennz}</td>
|
||||
<td> <b>{$tour7.fahrer}</td>
|
||||
<td> <b>{$tour7.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour8 item=tour8 }
|
||||
<tr>
|
||||
<td> <b>{$tour8.tag}.{$tour8.monat}.{$tour8.jahr}</td>
|
||||
<td> <b>{$tour8.tour}</td>
|
||||
<td> <b>{$tour8.kennz}</td>
|
||||
<td> <b>{$tour8.fahrer}</td>
|
||||
<td> <b>{$tour8.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Auto</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour9 item=tour9 }
|
||||
<tr>
|
||||
<td> <b>{$tour9.tag}.{$tour9.monat}.{$tour9.jahr}</td>
|
||||
<td> <b>{$tour9.tour}</td>
|
||||
<td> <b>{$tour9.kennz}</td>
|
||||
<td> <b>{$tour9.fahrer}</td>
|
||||
<td> <b>{$tour9.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
420
template/tpl/a_lohn.tpl
Normal file
420
template/tpl/a_lohn.tpl
Normal file
|
|
@ -0,0 +1,420 @@
|
|||
|
||||
<!-- ****************************************************************************************** -->
|
||||
|
||||
|
||||
{if $ma_id>0}
|
||||
|
||||
<!-- Hauptdaten -->
|
||||
<div class="row sortable">
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<form action="" method="post">
|
||||
<!-- Lohnlauf / save / neunung -->
|
||||
{if $ds>0}
|
||||
<header class="current"><h2>Lohnlauf {$monat}/{$jahr}</h2></header>
|
||||
<b><i><span style='font-size:12pt;
|
||||
line-height:115%;
|
||||
color:#4F81BD'>Lohnlauf abgeschlossen. {$ds} Datensätze angepasst.</span></i></b>
|
||||
{else}
|
||||
<!-- Auflistung / korrektur -->
|
||||
{if $tarif_daten.stunden>0}
|
||||
<table class="style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:200px" align="left">Datum/Zeit</th>
|
||||
<th style="width:200px" align="left">Tourname</th>
|
||||
<th style="width:160px" align="left">Stunden</th>
|
||||
<th style="width:160px" align="left">Entlohnung</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody> {foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<tr><td><hr style="color: red; height: 2px;" /></td>
|
||||
<td><hr style="color: red; height: 2px;" /></td>
|
||||
<td><hr style="color: red; height: 2px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px"><strong>{$ldata.tid}</strong></td>
|
||||
<td style="width:45px"><strong>{$ldata.name1}</strong></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td>{$senddata.time|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
||||
<td>{$senddata.name1}</td>
|
||||
<td><input type="int" id="info_{$senddata.tid}" value="{$senddata.astunden}" style="width:50px; "
|
||||
onChange="save_lohnstunden({$senddata.tid})" name="lohnsavestunden" placeholder="0" > €</td>
|
||||
<td>{$senddata.lohn|number_format:2:",":"."} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
{else}
|
||||
<section>
|
||||
<table class="style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:200px" align="left">Datum/Zeit</th>
|
||||
<th style="width:200px" align="left">Tourname</th>
|
||||
<th style="width:160px" align="left">Entlohnung</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody> {foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<tr><td><hr style="color: red; height: 2px;" /></td>
|
||||
<td><hr style="color: red; height: 2px;" /></td>
|
||||
<td><hr style="color: red; height: 2px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px"><strong>{$ldata.tid}</strong></td>
|
||||
<td style="width:45px"><strong>{$ldata.name1}</strong></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td>{$senddata.time|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
||||
<td>{$senddata.name1}</td>
|
||||
<td><input type="int" id="info_{$senddata.tid}" value="{$senddata.lohn}" style="width:50px; "
|
||||
onChange="save_lohngeld({$senddata.tid})" name="lohnsavegeld" placeholder="0" > €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="submit" name="testsave" value="kompl. Liste Speichern" >
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 2. Spalte -->
|
||||
<!-- pdf symbole -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:60px">
|
||||
<a class="btn btn-lg btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
{if $ma_daten.tarifgtyp==88}
|
||||
<td nowrap align="center" style="width:60px">
|
||||
<a class="btn btn-lg btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf_mini&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
{else}
|
||||
<td nowrap align="center" style="width:60px">
|
||||
<a class="btn btn-lg btn-default"
|
||||
href="">
|
||||
<i class="fa fa-times"></i></a>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
<td nowrap align="center" style="width:60px">
|
||||
<a class="btn btn-lg btn-warning"
|
||||
href="?s=a_lohn&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=1" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:60px">
|
||||
<a class="btn btn-lg btn-info"
|
||||
href="?s=a_lohn&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=0" aria-label="Settings">
|
||||
<i class="fa fa-refresh"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Grundlohn -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Lohntyp: </label>
|
||||
</td>
|
||||
<td>
|
||||
<select name="lohntyp" id="info_{$ma_id}" style="width:135px;" onChange="save_lohntyp({$ma_id})" >
|
||||
{foreach from=$tariftyp item=tariftyp}
|
||||
{html_options values=$tariftyp.id output=$tariftyp.bezeichnung selected=$ma_daten.tarifgtyp}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Grundlohn: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$ma_g_lohn}" class="form-control info_{$ma_id}" onChange="save_glohn({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<form action="" method="post">
|
||||
{if $ma_g_lohntyp>0}
|
||||
<label><input type="checkbox" name="tgtyp" checked="checked"> Mindestlohn (Pauschalkraft)</label>
|
||||
{else}
|
||||
<label><input type="checkbox" name="tgtyp"> Mindestlohn (Pauschalkraft) </label>
|
||||
{/if}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">History: </label>
|
||||
</td>
|
||||
</tr>
|
||||
{foreach from=$ma_glohn item=ma_glohn}
|
||||
<tr>
|
||||
<td nowrap style="width:105px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.monat} / {$ma_glohn.jahr}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.glohn} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- kalendereinträge -->
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
{foreach from=$tmp item=tmp}
|
||||
<tr>
|
||||
<td nowrap style="width:60px;font-size:12pt;line-height:100%;" align="right">{$tmp.a} </td>
|
||||
<td nowrap style="width:160px;font-size:12pt;line-height:100%;" >{$tmp.b}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- vorabrechnung -->
|
||||
<div id="time" style="text-align:center;"></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ***************************************************************************************************************************** -->
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
{else}
|
||||
<div class="row sortable">
|
||||
<div class="col-md-9">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter auswählen</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ///////////////// rechte seite Mitarbeiterauswahl -->
|
||||
<!-- Sidebar -->
|
||||
|
||||
<aside class="col-md-3">
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
{foreach from=$mitarbeiterlist item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td><a href="?s=a_lohn&id={$mitarbeiterlist.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum auswälen" >{$mitarbeiterlist.name}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div></div>
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
function save_glohn(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=glohn_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function save_lohnstunden(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohnstunden_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohngeld(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohngeld_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohntyp(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohntyp_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
541
template/tpl/a_lohn2018.tpl
Normal file
541
template/tpl/a_lohn2018.tpl
Normal file
|
|
@ -0,0 +1,541 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel">
|
||||
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Abr. {$monat}/{$jahr}
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
<i style="color: yellow" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
|
||||
</spawn>
|
||||
</div>
|
||||
<div class="panel-body" style="background-color:#ffffff">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist item=mitarbeiterlist}
|
||||
<tr>
|
||||
{if $mitarbeiterlist.lohngeheim!=0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkorange">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
|
||||
{elseif $mitarbeiterlist.lohnmonat==$monat}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkgreen">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{else}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: deepskyblue">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
|
||||
<td nowrap style="width:200px;line-height:120%;font-size:11pt"
|
||||
onclick="window.location='?s=a_lohn2018&id={$mitarbeiterlist.id}&jahr={$jahr}&monat={$monat}'"> {$mitarbeiterlist.name}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==0}
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter auswählen</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{elseif $lgeheim>0}
|
||||
<div class="panel panel-primary">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlohn geheim</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form action="" method="post">
|
||||
<!-- Lohnlauf / save / neunung -->
|
||||
{if $ds>0}
|
||||
<header class="current"><h2>Lohnlauf {$monat}/{$jahr}</h2></header>
|
||||
<b><i><span style='font-size:12pt;
|
||||
line-height:115%;
|
||||
color:#4F81BD'>Lohnlauf abgeschlossen. {$ds} Datensätze angepasst.</span></i></b>
|
||||
<!-- Auflistung / korrektur -->
|
||||
{/if}
|
||||
<!-- Stundenabrechnung -->
|
||||
{if $tarif_daten.stunden>0}
|
||||
{foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:12pt">{$senddata.name1}</td>
|
||||
<td nowrap style="width:180px;font-size:10pt">{$senddata.time|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
||||
<td nowrap style="width:80px;font-size:12pt">
|
||||
<input type="int" id="info_{$senddata.tid}" value="{$senddata.astunden}" style="width:50px; "
|
||||
onChange="save_lohnstunden({$senddata.tid})" name="lohnsavestunden" placeholder="0" > h</td>
|
||||
<td>{$senddata.lohn|number_format:2:",":"."} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<!-- Tourabrechnung Festpreise -->
|
||||
{else}
|
||||
{foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:12pt">{$senddata.name1}</td>
|
||||
<td nowrap style="width:180px;font-size:10pt">{$senddata.time|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
||||
<td><input type="int" id="info_{$senddata.tid}" value="{$senddata.lohn}" style="width:50px; "
|
||||
onChange="save_lohngeld({$senddata.tid})" name="lohnsavegeld" placeholder="0" > €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<input type="submit" name="testsave" value="kompl. Liste Speichern" >
|
||||
{/if}
|
||||
</form>
|
||||
|
||||
<!-- ende 2. Spalte -->
|
||||
</div>
|
||||
<!-- 3. Spalte -->
|
||||
<!-- pdf symbole -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
{if $ma_daten.tarifgtyp==88}
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf_mini&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
{else}
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-default"
|
||||
href="">
|
||||
<i class="fa fa-times"></i></a>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-warning"
|
||||
href="?s=a_lohn2018&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=1" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-info"
|
||||
href="?s=a_lohn2018&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=0" aria-label="Settings">
|
||||
<i class="fa fa-refresh"></i></a>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2018&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Grundlohn -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Lohntyp: </label>
|
||||
</td>
|
||||
<td>
|
||||
<select name="lohntyp" id="info_{$ma_id}" style="width:135px;" onChange="save_lohntyp({$ma_id})" >
|
||||
{foreach from=$tariftyp item=tariftyp}
|
||||
{html_options values=$tariftyp.id output=$tariftyp.bezeichnung selected=$ma_daten.tarifgtyp}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Grundlohn: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$ma_g_lohn}" class="form-control info_{$ma_id}" onChange="save_glohn({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<form action="" method="post">
|
||||
{if $ma_g_lohntyp>0}
|
||||
<label><input type="checkbox" name="tgtyp" checked="checked"> Mindestlohn (Pauschalkraft)</label>
|
||||
{else}
|
||||
<label><input type="checkbox" name="tgtyp"> Mindestlohn (Pauschalkraft) </label>
|
||||
{/if}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">History: </label>
|
||||
</td>
|
||||
</tr>
|
||||
{foreach from=$ma_glohn item=ma_glohn}
|
||||
<tr>
|
||||
<td nowrap style="width:105px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.monat} / {$ma_glohn.jahr}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.glohn} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Lohnabzüge -->
|
||||
|
||||
<!-- ** Lohnabzug eingeben *** -->
|
||||
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:110px">
|
||||
<label for="usr">Zeitraum: </label>
|
||||
</td>
|
||||
<td><input type="text" name="abz_monat" value="{$monat}" style="width:50px"/> /
|
||||
<input type="text" name="abz_jahr" value="{$jahr}" style="width:50px"/></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:110px">
|
||||
<label for="usr">Grund: </label>
|
||||
</td>
|
||||
<td><input type="text" name="abz_grund" style="width:120px"/></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Lohnabzug: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="abz_summe" id="info_{$ma_id}" type="int" value="0,00" class="form-control abz_{$ma_id}">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="mid" value="{$ma_id}">
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<input type="submit" name="addtyp" value="hinzufügen" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ma_abz item=ma_abz}
|
||||
{if $ma_abz.monat==$monat && $ma_abz.jahr==$jahr}
|
||||
<tr>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: orangered" align="left">{$ma_abz.monat} / {$ma_abz.jahr}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: orangered" align="right">{$ma_abz.summe} € </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width:240px;font-size:10pt;line-height:90%;color: orangered" align="left" colspan="2">{$ma_abz.grund}</td>
|
||||
</tr>
|
||||
{else}
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="left">{$ma_abz.monat} / {$ma_abz.jahr}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="right">{$ma_abz.summe} € </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width:240px;font-size:10pt;line-height:90%;" align="left" colspan="2">{$ma_abz.grund}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="mid" value="{$ma_id}">
|
||||
<tr style="line-height:10%;">
|
||||
<td colspan="2"><hr></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- kalendereinträge -->
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="table table-condensed">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$tmp_lohn item=tmp_lohn}
|
||||
<tr>
|
||||
{if $tmp_lohn.typ>0}
|
||||
<td style="width:180px" ><strong>Festlohn/ Typ : {$tmp_lohn.typ}</strong></td>
|
||||
{else}
|
||||
<td style="width:180px" ><strong>Festlohn/Tour: {$tmp_lohn.tour}</strong></td>
|
||||
{/if}
|
||||
<td style="width:350px" ><strong>{$tmp_lohn.bez}</strong></td>
|
||||
{if $tmp_lohn.stunden>0}
|
||||
<td style="width:140px" ><strong>{$tmp_lohn.stunden} Stunden</strong>
|
||||
</td>
|
||||
{else}
|
||||
<td style="width:140px" ><strong>{$tmp_lohn.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öchten sie wirklich löschen ?')"><i class='fa fa-close'></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- vorabrechnung -->
|
||||
<div id="time" style="text-align:center;"></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ***************************************************************************************************************************** -->
|
||||
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
function save_glohn(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=glohn_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function save_lohnstunden(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohnstunden_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohngeld(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohngeld_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohntyp(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohntyp_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
617
template/tpl/a_lohn2020.tpl
Normal file
617
template/tpl/a_lohn2020.tpl
Normal file
|
|
@ -0,0 +1,617 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Abr. {$monat}/{$jahr}
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
<i style="color: yellow" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
</spawn>
|
||||
</div>
|
||||
<div class="panel-body" style="background-color:#ffffff">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2020&jahr={$jahr}&monat={$monat}&ma={$mitarbeiterlist.id}" aria-label="Settings">
|
||||
<i class="fal fa-file-pdf" style="color:red"></i>
|
||||
</td>
|
||||
{if $mitarbeiterlist.lohngeheim!=0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkorange">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
|
||||
{elseif $mitarbeiterlist.fertig==1}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkgreen">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==9}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: deepskyblue">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: gray">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
|
||||
<td nowrap style="width:200px;line-height:120%;font-size:11pt"
|
||||
onclick="window.location='?s=a_lohn2020&id={$mitarbeiterlist.id}&jahr={$jahr}&monat={$monat}'"> {$mitarbeiterlist.name}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==0}
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter auswählen</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{elseif $lgeheim>0}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlohn geheim</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form action="" method="post">
|
||||
<!-- Lohnlauf / save / neunung -->
|
||||
{if $ds>0}
|
||||
<header class="current"><h2>Lohnlauf {$monat}/{$jahr}</h2></header>
|
||||
<b><i><span style='font-size:12pt;
|
||||
line-height:115%;
|
||||
color:#4F81BD'>Lohnlauf abgeschlossen. {$ds} Datensätze angepasst.</span></i></b>
|
||||
<!-- Auflistung / korrektur -->
|
||||
{/if}
|
||||
<!-- Stundenabrechnung -->
|
||||
{if $tarif_daten.stunden>0}
|
||||
{foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:12pt">{$senddata.name1}</td>
|
||||
<td nowrap style="width:180px;font-size:10pt">{$senddata.time|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
||||
<td nowrap style="width:80px;font-size:12pt">
|
||||
<input type="int" id="info_{$senddata.tid}" value="{$senddata.astunden}" style="width:50px; "
|
||||
onChange="save_lohnstunden({$senddata.tid})" name="lohnsavestunden" placeholder="0" > h</td>
|
||||
<td>{$senddata.lohn|number_format:2:",":"."} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<!-- Tourabrechnung Festpreise -->
|
||||
{else}
|
||||
{foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:12pt">{$senddata.name1}</td>
|
||||
<td nowrap style="width:180px;font-size:10pt">{$senddata.time|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
||||
<td><input type="int" id="info_{$senddata.tid}" value="{$senddata.lohn}" style="width:50px; "
|
||||
onChange="save_lohngeld({$senddata.tid})" name="lohnsavegeld" placeholder="0" > €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<input type="submit" name="testsave" value="kompl. Liste Speichern" >
|
||||
{/if}
|
||||
</form>
|
||||
{/if}
|
||||
<!-- ende 2. Spalte -->
|
||||
</div>
|
||||
|
||||
<!-- 3. Spalte -->
|
||||
<div class="col-md-3">
|
||||
{if $lgeheim>0}
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">geheime Daten</spawn>
|
||||
</div>
|
||||
{elseif $fertig==1}
|
||||
<div class="panel-heading" style="background-color:green;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">fertig bearbeitet</spawn>
|
||||
</div>
|
||||
{else}
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">in Arbeit</spawn>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!-- pdf symbole -->
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2020&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
{if $ma_daten.tarifgtyp==88}
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf_mini&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
{else}
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-default"
|
||||
href="">
|
||||
<i class="fa fa-times"></i></a>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2020x&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-warning"
|
||||
href="?s=a_lohn2020&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=1" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-info"
|
||||
href="?s=a_lohn2020&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=0" aria-label="Settings">
|
||||
<i class="fa fa-refresh"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Berechnungs symbole -->
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger"
|
||||
href="?s=a_lohn2020&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=9" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:10px">
|
||||
|
||||
</td>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-success"
|
||||
href="?s=a_lohn2020&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=5" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
<td nowrap align="right" style="width:120px">
|
||||
<p>{$lohnanzeige} €</p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Grundlohn -->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Lohntyp: </label>
|
||||
</td>
|
||||
<td>
|
||||
<select name="lohntyp" id="info_{$ma_id}" style="width:135px;" onChange="save_lohntyp({$ma_id})" >
|
||||
{foreach from=$tariftyp item=tariftyp}
|
||||
{html_options values=$tariftyp.id output=$tariftyp.bezeichnung selected=$ma_daten.tarifgtyp}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Grundlohn: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$ma_g_lohn}" class="form-control info_{$ma_id}" onChange="save_glohn({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<form action="" method="post">
|
||||
{if $ma_g_lohntyp>0}
|
||||
<label><input type="checkbox" name="tgtyp" checked="checked"> Mindestlohn (Pauschalkraft)</label>
|
||||
{else}
|
||||
<label><input type="checkbox" name="tgtyp"> Mindestlohn (Pauschalkraft) </label>
|
||||
{/if}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">History: </label>
|
||||
</td>
|
||||
</tr>
|
||||
{foreach from=$ma_glohn item=ma_glohn}
|
||||
<tr>
|
||||
<td nowrap style="width:105px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.monat} / {$ma_glohn.jahr}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.glohn} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Lohnabzüge -->
|
||||
|
||||
<!-- ** Lohnabzug eingeben *** -->
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:110px">
|
||||
<label for="usr">Zeitraum: </label>
|
||||
</td>
|
||||
<td><input type="text" name="abz_monat" value="{$monat}" style="width:50px"/> /
|
||||
<input type="text" name="abz_jahr" value="{$jahr}" style="width:50px"/></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:110px">
|
||||
<label for="usr">Grund: </label>
|
||||
</td>
|
||||
<td><input type="text" name="abz_grund" required="required" style="width:120px"/></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Betrag: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="abz_summe" id="info_{$ma_id}" type="int" value="0,00" class="form-control abz_{$ma_id}">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Nachzahlung: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<input type="checkbox" id="nachzahlung" name="nachzahlung">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="mid" value="{$ma_id}">
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<input type="submit" name="addtyp" value="hinzufügen" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ma_abz item=ma_abz}
|
||||
{if $ma_abz.monat==$monat && $ma_abz.jahr==$jahr}
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: orangered" align="left">{$ma_abz.monat} / {$ma_abz.jahr}</td>
|
||||
{if $ma_abz.zuschlag>0}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: blue" align="right">{$ma_abz.summe} € </td>
|
||||
{else}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: green" align="right">-{$ma_abz.summe} € </td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width:240px;font-size:10pt;line-height:90%;color: blue" align="left" colspan="2">{$ma_abz.grund}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{else}
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="left">{$ma_abz.monat} / {$ma_abz.jahr}</td>
|
||||
{if $ma_abz.zuschlag>0}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="right">{$ma_abz.summe} € </td>
|
||||
{else}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="right">-{$ma_abz.summe} € </td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width:240px;font-size:10pt;line-height:90%;" align="left" colspan="2">{$ma_abz.grund}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="mid" value="{$ma_id}">
|
||||
<tr style="line-height:10%;">
|
||||
<td colspan="2"><hr></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- kalendereinträge -->
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="table table-condensed">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$tmp_lohn item=tmp_lohn}
|
||||
<tr>
|
||||
{if $tmp_lohn.typ>0}
|
||||
<td style="width:180px" ><strong>Festlohn/ Typ : {$tmp_lohn.typ}</strong></td>
|
||||
{else}
|
||||
<td style="width:180px" ><strong>Festlohn/Tour: {$tmp_lohn.tour}</strong></td>
|
||||
{/if}
|
||||
<td style="width:350px" ><strong>{$tmp_lohn.bez}</strong></td>
|
||||
{if $tmp_lohn.stunden>0}
|
||||
<td style="width:140px" ><strong>{$tmp_lohn.stunden} Stunden</strong>
|
||||
</td>
|
||||
{else}
|
||||
<td style="width:140px" ><strong>{$tmp_lohn.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öchten sie wirklich löschen ?')"><i class='fa fa-close'></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- vorabrechnung -->
|
||||
<div id="time" style="text-align:center;"></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ***************************************************************************************************************************** -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
function save_glohn(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=glohn_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function save_lohnstunden(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohnstunden_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohngeld(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohngeld_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohntyp(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohntyp_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
171
template/tpl/a_lohn2022.tpl
Normal file
171
template/tpl/a_lohn2022.tpl
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
<div class="container-fluid" style="background-color: #333333">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Abr. {$monat}/{$jahr}
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
<i style="color: yellow" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-tbox">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$mitarbeiterlist.id}" aria-label="Settings">
|
||||
<i class="fal fa-file-pdf" style="color:red"></i>
|
||||
</td>
|
||||
{if $mitarbeiterlist.lohngeheim!=0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkorange">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
|
||||
{elseif $mitarbeiterlist.fertig==1}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkgreen">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==9}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: deepskyblue">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: gray">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
|
||||
<td nowrap style="width:200px;line-height:120%;font-size:11pt"
|
||||
onclick="window.location='?s=a_lohn2023&id={$mitarbeiterlist.id}&jahr={$jahr}&monat={$monat}'"> {$mitarbeiterlist.name}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ****************************** -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==0}
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter auswählen</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{elseif $lgeheim>0}
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlohn geheim</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- *************** TEST ************* -->
|
||||
<!-- ********************************** -->
|
||||
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body" style='font-size:12pt;background-color:#333333;color:#fff'>
|
||||
<table class="no-style full">
|
||||
{foreach from=$ldata item=data1}
|
||||
<tr>
|
||||
|
||||
{if $data1.ft!=0} <td nowrap style='color:orange;width:90px'>
|
||||
{elseif $data1.wt!=0} <td nowrap style='color:deepskyblue;width:90px'>
|
||||
{else} <td nowrap style='color:gray ;width:90px'>
|
||||
{/if}
|
||||
{$data1.tagbez} {$data1.tag}.{$monat}.
|
||||
</td>
|
||||
|
||||
{foreach from=$data1.tdata item=data2}
|
||||
{if $data2.ws ==0} <td nowrap style='width:100px;olor:red'> </td> {/if}
|
||||
|
||||
{if $data2.stamm!=1} <td nowrap style='color:deepskyblue;width: 100px'>{$data2.name}</td>
|
||||
{else} <td nowrap style='color:#ffffff ;width: 100px'>{$data2.name}</td>
|
||||
{/if}
|
||||
|
||||
<td nowrap style='width:80px'>{$data2.tourh} h</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=1&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-left" aria-hidden="true"></i>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default btn-sm">{$kw}.KW</button>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=2&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class='btn btn-default btn-sm href="#"'>-</a>
|
||||
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=3&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-left" aria-hidden="true"></i>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default btn-sm">{$jahr}</button>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=4&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
519
template/tpl/a_lohn2023.tpl
Normal file
519
template/tpl/a_lohn2023.tpl
Normal file
|
|
@ -0,0 +1,519 @@
|
|||
<div class="container-fluid" style="background-color: #333333">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Abr. {$monat}/{$jahr}
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
<i style="color: yellow" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-tbox">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$mitarbeiterlist.id}" aria-label="Settings">
|
||||
<i class="fal fa-file-pdf" style="color:red"></i>
|
||||
</td>
|
||||
{if $mitarbeiterlist.lohngeheim!=0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkorange">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
|
||||
{elseif $mitarbeiterlist.fertig==1}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkgreen">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==9}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: deepskyblue">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: gray">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
|
||||
<td nowrap style="width:200px;line-height:120%;font-size:11pt"
|
||||
onclick="window.location='?s=a_lohn2023&id={$mitarbeiterlist.id}&jahr={$jahr}&monat={$monat}'"> {$mitarbeiterlist.name}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ****************************** -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==0}
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter auswählen</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{elseif $lgeheim>0}
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlohn geheim</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- *************** TEST ************* -->
|
||||
<!-- ********************************** -->
|
||||
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body" style='font-size:12pt;background-color:#333333;color:#fff'>
|
||||
<table class="no-style full">
|
||||
{foreach from=$ldata item=data1}
|
||||
<tr>
|
||||
|
||||
{if $data1.ft!=0} <td nowrap style='color:orange;width:90px'>
|
||||
{elseif $data1.wt!=0} <td nowrap style='color:deepskyblue;width:90px'>
|
||||
{else} <td nowrap style='color:gray ;width:90px'>
|
||||
{/if}
|
||||
{$data1.tagbez} {$data1.tag}.{$monat}.
|
||||
</td>
|
||||
|
||||
{foreach from=$data1.tdata item=data2}
|
||||
{if $data2.ws ==0} <td nowrap style='width:100px;olor:red'> </td> {/if}
|
||||
|
||||
{if $data2.stamm!=1} <td nowrap style='color:deepskyblue;width: 100px'>{$data2.name}</td>
|
||||
{else} <td nowrap style='color:#ffffff ;width: 100px'>{$data2.name}</td>
|
||||
{/if}
|
||||
|
||||
<td nowrap style='width:80px'>{$data2.tourh} h</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=1&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-left" aria-hidden="true"></i>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default btn-sm">{$monat}</button>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=2&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="btn-group" align="right">
|
||||
<!-- <a class='btn btn-default btn-sm href="#"'>-</a> -->
|
||||
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=3&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-left" aria-hidden="true"></i>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default btn-sm">{$jahr}</button>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=4&jahr={$jahr}&kw={$kw}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- *************** Grunddaten ************* -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<span>Angestrebter Nettolohn: {$ma_g_lohn} €</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- *************** lohnsummen ************* -->
|
||||
<div style="color: #fff" id="lgesamt"></div>
|
||||
|
||||
|
||||
|
||||
|
||||
<p style="color:#fff">
|
||||
|
||||
</p>
|
||||
|
||||
<div class="col-md-3">
|
||||
<span style="color: #808080">SOLL</span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<span style="color: #fff"><i class="fas fa-clock fa-x3"></i></span>
|
||||
2
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
3
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
4
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- ************************** -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
|
||||
<table class="no-style full">
|
||||
<tbody align="center">
|
||||
<tr align="center" style="font-size: 8pt;color: #fff;text-align: center">
|
||||
<th width="20%">Soll</th>
|
||||
<th width="20%">IST</th>
|
||||
<th width="20%">Rechnung</th>
|
||||
<th width="20%">Zusatz</th>
|
||||
<th width="20%">gesamt</th>
|
||||
</tr>
|
||||
<tr align="center" style="font-size: 12pt;color: #fff;text-align: center">
|
||||
<td width="20%">{$ma.grund_h}</td>
|
||||
<td width="20%">IST</td>
|
||||
<td width="20%">{$gdata.grund_h}</td>
|
||||
<td width="20%">Zusatz</td>
|
||||
<td width="20%">gesamt</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- ---------------------------------------------------------------->
|
||||
<div class="panel panel-tbox">
|
||||
<table class="no-style full">
|
||||
<tbody align="center">
|
||||
<!-- *** Grundstunden -->
|
||||
<tr>
|
||||
<td width="50%">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fas fa-clock"></i></span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$gdata.grund_h}" class="form-control info_{$ma_id}" onChange="save_h_sum({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
errechnet
|
||||
</td>
|
||||
</tr>
|
||||
<!-- *** Nachtzuschläge 25% -->
|
||||
<tr>
|
||||
<td width="50%">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fas fa-moon"></i>25</span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$gdata.grund_n1}" class="form-control info_{$ma_id}" onChange="save_h_sum({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
errechnet
|
||||
</td>
|
||||
</tr>
|
||||
<!-- *** Nachtzuschläge 40% -->
|
||||
<tr>
|
||||
<td width="50%">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fas fa-moon"></i>40</span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$gdata.grund_n2}" class="form-control info_{$ma_id}" onChange="save_h_sum({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
errechnet
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<span id="glrechner">Grundlohnberechnung </span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script> var monat = '{$monat}';</script>
|
||||
<script> var jahr = '{$jahr}';</script>
|
||||
<script> var maID = '{$ma_id}'; </script>
|
||||
{literal}
|
||||
<script>
|
||||
function lgesamt(maID,monat2,jahr2) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=l_summe&tpl",
|
||||
dataType: 'html',
|
||||
data: 'maID=' + maID + "&monat=" + monat2 + "&jahr=" + jahr2,
|
||||
success: function (data) {
|
||||
$("#lgesamt").html(data);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
function glrechner(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=glrechner&tpl",
|
||||
dataType: 'html',
|
||||
data: 'maID=' + maID + "&monat=" + monat + "&jahr=" + jahr,
|
||||
success: function (data) {
|
||||
$("#glrechner").html(data);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_glohn(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=glohn_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_nz1(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=nz1_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&monat=" + monat + "&jahr=" + jahr + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_nz2(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=nz2_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&monat=" + monat + "&jahr=" + jahr + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function save_lohnstunden(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohnstunden_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohngeld(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohngeld_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohntyp(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohntyp_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
glrechner(maID);
|
||||
lgesamt(maID,monat,jahr);
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
675
template/tpl/a_lohn2023_loeschen.tpl
Normal file
675
template/tpl/a_lohn2023_loeschen.tpl
Normal file
|
|
@ -0,0 +1,675 @@
|
|||
<div class="container-fluid" style="background-color: #333333">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Abr. {$monat}/{$jahr}
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
<i style="color: yellow" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-tbox">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$mitarbeiterlist.id}" aria-label="Settings">
|
||||
<i class="fal fa-file-pdf" style="color:red"></i>
|
||||
</td>
|
||||
{if $mitarbeiterlist.lohngeheim!=0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkorange">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
|
||||
{elseif $mitarbeiterlist.fertig==1}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: darkgreen">
|
||||
<i class="fa fa-check-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==9}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: deepskyblue">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{elseif $mitarbeiterlist.fertig==0}
|
||||
<td nowrap style="width:30px;font-size:11pt;color: gray">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
|
||||
<td nowrap style="width:200px;line-height:120%;font-size:11pt"
|
||||
onclick="window.location='?s=a_lohn2023&id={$mitarbeiterlist.id}&jahr={$jahr}&monat={$monat}'"> {$mitarbeiterlist.name}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ****************************** -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==0}
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiter auswählen</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{elseif $lgeheim>0}
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><h2><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlohn geheim</span></h2></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}</spawn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form action="" method="post">
|
||||
<!-- Lohnlauf / save / neunung -->
|
||||
{if $ds>0}
|
||||
<header class="current"><h2>Lohnlauf {$monat}/{$jahr}</h2></header>
|
||||
<b><i><span style='font-size:12pt;
|
||||
line-height:115%;
|
||||
color:#4F81BD'>Lohnlauf abgeschlossen. {$ds} Datensätze angepasst.</span></i></b>
|
||||
<!-- Auflistung / korrektur -->
|
||||
{/if}
|
||||
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- ********************************** -->
|
||||
<!-- *************** TEST ************* -->
|
||||
<!-- ********************************** -->
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body" style='font-size:14pt;background-color:gray;color:#fff'>
|
||||
{foreach from=$data item=data1}
|
||||
{if data1.ft==1} <p nowrap align="center" style='background-color:orange'>
|
||||
{elseif data1.wt==0} <p nowrap align="center" style='background-color:gray'>
|
||||
{else} <p nowrap align="center" style='background-color:darkgreen'>
|
||||
{/if}
|
||||
{$data1.taginfo} - {$data1.tag}.{$monat}.{$jahr}<p>
|
||||
|
||||
|
||||
<table class="no-style full" style="font-size:11pt">
|
||||
{foreach from=$data1.tdata item=data2}
|
||||
|
||||
{/foreach}
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Stundenabrechnung -->
|
||||
{if $tarif_daten.stunden>0}
|
||||
{foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td nowrap style="width:180px">{$senddata.time|date_format:"%d.%m.%Y"}
|
||||
<td nowrap style="width:100px">{$senddata.name1}</td>
|
||||
<td nowrap style="width:180px">{$senddata.time|date_format:"%H:%M Uhr"}</td></td>
|
||||
|
||||
<td nowrap style="width:80px">
|
||||
<input type="int" id="info_{$senddata.tid}" value="{$senddata.astunden}" style="width:50px; "
|
||||
onChange="save_lohnstunden({$senddata.tid})" name="lohnsavestunden" placeholder="0" > h</td>
|
||||
<td nowrap style="width:60px"> {$senddata.lohn|number_format:2:",":"."}</td>
|
||||
|
||||
|
||||
<td nowrap style="width:80px">
|
||||
<input type="int" id="info_{$senddata.tid}" value="{$senddata.astunden}" style="width:50px; "
|
||||
onChange="save_lohnstunden({$senddata.tid})" name="lohnsavestunden" placeholder="0" > h</td>
|
||||
<td nowrap style="width:60px"> {$senddata.lohn|number_format:2:",":"."}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<!-- Tourabrechnung Festpreise -->
|
||||
{else}
|
||||
{foreach from=$ldata item=ldata}
|
||||
{if $ldata.wert>0}
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="font-size:11pt">
|
||||
<tbody>
|
||||
{foreach from=$ldata.sdata item=senddata}
|
||||
<tr>
|
||||
<td nowrap style="width:70px">{$senddata.time|date_format:"%d.%m.%y"}
|
||||
<td nowrap style="width:80px">{$senddata.name1}</td>
|
||||
|
||||
<td nowrap style="width:160px">
|
||||
<input type="int" id="xxx_{$senddata.tid}" value="{$senddata.stime|date_format:"%H:%M Uhr"}" style="width:50px; "
|
||||
onChange="save_xxx({$senddata.tid})" name="lohnsavestunden" placeholder="0"> {$senddata.time|date_format:"%H:%M Uhr"}
|
||||
</td>
|
||||
<td nowrap style="width:160px">
|
||||
<input type="int" id="xxx_{$senddata.tid}" value="{$senddata.etime|date_format:"%H:%M Uhr"}" style="width:50px; "
|
||||
onChange="save_xxx({$senddata.tid})" name="lohnsavestunden" placeholder="0"> {$senddata.ezeit|date_format:"%H:%M Uhr"}
|
||||
</td>
|
||||
|
||||
<!--
|
||||
<td><input type="int" id="info_{$senddata.tid}" value="{$senddata.lohn}" style="width:50px; "
|
||||
onChange="save_lohngeld({$senddata.tid})" name="lohnsavegeld" placeholder="0" > </td>
|
||||
-->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<input type="submit" name="testsave" value="kompl. Liste Speichern" >
|
||||
{/if}
|
||||
</form>
|
||||
{/if}
|
||||
<!-- ende 2. Spalte -->
|
||||
</div>
|
||||
|
||||
<!-- 3. Spalte -->
|
||||
<div class="col-md-3">
|
||||
{if $lgeheim>0}
|
||||
<div class="panel-heading" style="background-color:darkorange;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">geheime Daten</spawn>
|
||||
</div>
|
||||
{elseif $fertig==1}
|
||||
<div class="panel-heading" style="background-color:green;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">fertig bearbeitet</spawn>
|
||||
</div>
|
||||
{else}
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">in Arbeit</spawn>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!-- pdf symbole -->
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o"></i>
|
||||
</td>
|
||||
{if $ma_daten.tarifgtyp==88}
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf_mini&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
{else}
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-default"
|
||||
href="">
|
||||
<i class="fa fa-times"></i></a>
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_lohnpdf2023x&jahr={$jahr}&monat={$monat}" aria-label="Settings">
|
||||
<i class="fa fa-file-code-o"></i>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-warning"
|
||||
href="?s=a_lohn2023&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=1" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-info"
|
||||
href="?s=a_lohn2023&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=0" aria-label="Settings">
|
||||
<i class="fa fa-refresh"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Berechnungs symbole -->
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-danger"
|
||||
href="?s=a_lohn2023&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=9" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
<td nowrap align="center" style="width:10px">
|
||||
|
||||
</td>
|
||||
<td nowrap align="center" style="width:40px">
|
||||
<a class="btn btn-lm btn-success"
|
||||
href="?s=a_lohn2023&jahr={$jahr}&monat={$monat}&id={$ma_id}&vs=5" aria-label="Settings">
|
||||
<i class="fa fa-calculator"></i></a>
|
||||
</td>
|
||||
<td nowrap align="right" style="width:120px">
|
||||
<p>{$lohnanzeige} €</p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Grundlohn -->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Lohntyp: </label>
|
||||
</td>
|
||||
<td>
|
||||
<select name="lohntyp" id="info_{$ma_id}" style="width:135px;" onChange="save_lohntyp({$ma_id})" >
|
||||
{foreach from=$tariftyp item=tariftyp}
|
||||
{html_options values=$tariftyp.id output=$tariftyp.bezeichnung selected=$ma_daten.tarifgtyp}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Grundlohn: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="glohnsave" id="info_{$ma_id}" type="int" value="{$ma_g_lohn}" class="form-control info_{$ma_id}" onChange="save_glohn({$ma_id})">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<form action="" method="post">
|
||||
{if $ma_g_lohntyp>0}
|
||||
<label><input type="checkbox" name="tgtyp" checked="checked"> Mindestlohn (Pauschalkraft)</label>
|
||||
{else}
|
||||
<label><input type="checkbox" name="tgtyp"> Mindestlohn (Pauschalkraft) </label>
|
||||
{/if}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">History: </label>
|
||||
</td>
|
||||
</tr>
|
||||
{foreach from=$ma_glohn item=ma_glohn}
|
||||
<tr>
|
||||
<td nowrap style="width:105px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.monat} / {$ma_glohn.jahr}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:110%;" align="right">{$ma_glohn.glohn} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Lohnabzüge -->
|
||||
|
||||
<!-- ** Lohnabzug eingeben *** -->
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:110px">
|
||||
<label for="usr">Zeitraum: </label>
|
||||
</td>
|
||||
<td><input type="text" name="abz_monat" value="{$monat}" style="width:50px"/> /
|
||||
<input type="text" name="abz_jahr" value="{$jahr}" style="width:50px"/></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:110px">
|
||||
<label for="usr">Grund: </label>
|
||||
</td>
|
||||
<td><input type="text" name="abz_grund" required="required" style="width:120px"/></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Betrag: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-euro"></i></span>
|
||||
<input name="abz_summe" id="info_{$ma_id}" type="int" value="0,00" class="form-control abz_{$ma_id}">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:105px">
|
||||
<label for="usr">Nachzahlung: </label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group">
|
||||
<input type="checkbox" id="nachzahlung" name="nachzahlung">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="mid" value="{$ma_id}">
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<input type="submit" name="addtyp" value="hinzufügen" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$ma_abz item=ma_abz}
|
||||
{if $ma_abz.monat==$monat && $ma_abz.jahr==$jahr}
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: orangered" align="left">{$ma_abz.monat} / {$ma_abz.jahr}</td>
|
||||
{if $ma_abz.zuschlag>0}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: blue" align="right">{$ma_abz.summe} € </td>
|
||||
{else}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;color: green" align="right">-{$ma_abz.summe} € </td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width:240px;font-size:10pt;line-height:90%;color: blue" align="left" colspan="2">{$ma_abz.grund}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{else}
|
||||
|
||||
<tr>
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="left">{$ma_abz.monat} / {$ma_abz.jahr}</td>
|
||||
{if $ma_abz.zuschlag>0}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="right">{$ma_abz.summe} € </td>
|
||||
{else}
|
||||
<td nowrap style="width:80px;font-size:10pt;line-height:90%;" align="right">-{$ma_abz.summe} € </td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="width:240px;font-size:10pt;line-height:90%;" align="left" colspan="2">{$ma_abz.grund}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="mid" value="{$ma_id}">
|
||||
<tr style="line-height:10%;">
|
||||
<td colspan="2"><hr></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- kalendereinträge -->
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="table table-condensed">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$tmp_lohn item=tmp_lohn}
|
||||
<tr>
|
||||
{if $tmp_lohn.typ>0}
|
||||
<td style="width:180px" ><strong>Festlohn/ Typ : {$tmp_lohn.typ}</strong></td>
|
||||
{else}
|
||||
<td style="width:180px" ><strong>Festlohn/Tour: {$tmp_lohn.tour}</strong></td>
|
||||
{/if}
|
||||
<td style="width:350px" ><strong>{$tmp_lohn.bez}</strong></td>
|
||||
{if $tmp_lohn.stunden>0}
|
||||
<td style="width:140px" ><strong>{$tmp_lohn.stunden} Stunden</strong>
|
||||
</td>
|
||||
{else}
|
||||
<td style="width:140px" ><strong>{$tmp_lohn.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öchten sie wirklich löschen ?')"><i class='fa fa-close'></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- vorabrechnung -->
|
||||
<div id="time" style="text-align:center;"></div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ***************************************************************************************************************************** -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
function save_glohn(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=glohn_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $(".info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function save_lohnstunden(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohnstunden_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohngeld(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohngeld_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function save_lohntyp(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohnsave&a=lohntyp_save",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&info=" + $("#info_"+maID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
210
template/tpl/a_ma.tpl
Normal file
210
template/tpl/a_ma.tpl
Normal file
|
|
@ -0,0 +1,210 @@
|
|||
<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={$jahr}&monat={$monat}&ma={$ma_id}" 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>
|
||||
{foreach from=$mitarbeiterlist item=malist}
|
||||
<tr>
|
||||
<td nowrap style="width:200px;line-height:120%;font-size:12pt;color:#aaa"
|
||||
onclick="window.location='?s=a_ma&id={$malist.id}&jahr={$jahr}&monat={$monat}'"> {$malist.name}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
{if $ma_id==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>
|
||||
|
||||
{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;">{$ma_name} ({$ma_id}) -- Zeitraum {$monat}/{$jahr}
|
||||
|
||||
<a href="?s=list_a_ma_mini&jahr={$jahr}&monat={$monat}&ma={$ma_id}" 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={$jahr}&monat={$monat}&ma={$ma_id}" 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">
|
||||
{foreach from=$senddata item=tdata}
|
||||
<tr>
|
||||
<td style='font-size:12pt;width:100px; text-align: right'>{$tdata.datum}</td>
|
||||
<td style='font-size:12pt;width:20px; text-align: right'> </td>
|
||||
<td style='font-size:12pt;width:200px;{if $tdata.y_col==2}color:orange{/if}'>{$tdata.typ}</td>
|
||||
<td style='font-size:12pt;width:20px; text-align: right'> </td>
|
||||
<td style='font-size:12pt;width:200px;{if $tdata.t_col==2}color:orange{/if}'>{$tdata.tname}</td>
|
||||
<td style='font-size:12pt;width:200px;{if $tdata.c_col==2}color:orange{/if}'>{$tdata.auto}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
</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={$jahr}&monat={$monat}&id={$ma_id}'"></i>
|
||||
<span> {$monat} / {$jahr} </span>
|
||||
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_ma&wahl=2&jahr={$jahr}&monat={$monat}&id={$ma_id}'"></i>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
<aside class="col-md-3">
|
||||
{if $kalmenge!=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>
|
||||
{foreach from=$kdata item=kinfo}
|
||||
<tr nowrap {if $kinfo.farbe==1} style="color: red" {else} style="color: orange" {/if}>
|
||||
<td nowrap width="80px">{$kinfo.datum}</td>
|
||||
<td nowrap width="200px">{$kinfo.bez} </td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<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>
|
||||
{if $sasodaten!=0}
|
||||
<tr>
|
||||
<td nowrap width="60px">SaSo</td>
|
||||
<td nowrap width="40px">{$sasodaten} x </td>
|
||||
<td nowrap width="70px"> = {$geld} €</td>
|
||||
<td nowrap width="40px"> /{$ss_f} </td>
|
||||
<td nowrap width="60px"> = {$sumh|round:1} h </td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $sonderdaten!=0}
|
||||
<tr>
|
||||
<td width="60px">Sonder</td>
|
||||
<td>{$sonderdaten} x </td>
|
||||
<td> = {$stgeld} €</td>
|
||||
<td> /{$st_f} </td>
|
||||
<td> = {$stumh|round:1} h </td>
|
||||
</tr>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $sasodaten!=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>
|
||||
{foreach from=$sdaten item=sinfo}
|
||||
{if $sinfo.linie==1}
|
||||
<tr>
|
||||
<td>---------------</td>
|
||||
<td>---------------</td>
|
||||
<td>-------------</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td>{$sinfo.datum} </td>
|
||||
<td>{$sinfo.tname} </td>
|
||||
<td>{$sinfo.summe} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $sonderdaten!=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>
|
||||
{foreach from=$stdaten item=sinfo}
|
||||
<tr>
|
||||
<td>{$sinfo.datum} </td>
|
||||
<td>{$sinfo.tname} </td>
|
||||
<td>{$sinfo.summe} €</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
79
template/tpl/a_makal.tpl
Normal file
79
template/tpl/a_makal.tpl
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
<div class="row sortable">
|
||||
<div class="col-md-8">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Mitarbeiter Kalenderübersicht</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary btn" href="?s=a_makal&wahl=1&jahr={$jahr}&monat={$monat}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-left" aria-hidden="true"></i>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default">{$monat}</button>
|
||||
</a>
|
||||
<a class="btn btn-primary" href="?s=a_makal&wahl=2&jahr={$jahr}&monat={$monat}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class="btn btn-default btn href="#"">-</a>
|
||||
|
||||
<a class="btn btn-primary" href="?s=a_makal&wahl=3&jahr={$jahr}&monat={$monat}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-left" aria-hidden="true"></i>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default btn">{$jahr}</button>
|
||||
</a>
|
||||
<a class="btn btn-primary" href="?s=a_makal&wahl=4&jahr={$jahr}&monat={$monat}" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row sortable">
|
||||
<div class="col-md-9">
|
||||
<div class="panel panel-primary">
|
||||
<table class="table hover" >
|
||||
<tbody>
|
||||
{foreach from=$data item=data }
|
||||
{if $data.wechsel==0}
|
||||
<tr>
|
||||
<td nowrap style="width:040px;"><b>{$data.time|date_format:"%d.%m.%Y"}</td>
|
||||
<td nowrap style="width:170px;"> <b>{$data.name}</td>
|
||||
<td nowrap style="width:100px;"> <b>{$data.grund}</td>
|
||||
<td nowrap style="width:200px;"> <b>{$data.info}</td>
|
||||
</tr>
|
||||
{else}
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel panel-primary">
|
||||
<table class="table hover" >
|
||||
{/if}
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="panel panel-primary">
|
||||
<table class="table hover" >
|
||||
<tbody>
|
||||
{foreach from=$data3 item=data2 }
|
||||
{if $data2.wechsel==0}
|
||||
<tr>
|
||||
<td nowrap style="width:90px;font-size:13pt"> <b>{$data2.a}</td>
|
||||
<td nowrap style="width:90px;font-size:13pt"> <b>{$data2.c}</td>
|
||||
<td> <b>{$data.info}</td>
|
||||
</tr>
|
||||
{else}
|
||||
</table>
|
||||
</div>
|
||||
<div class="panel panel-primary">
|
||||
<table class="table hover" >
|
||||
{/if}
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
63
template/tpl/a_tour.tpl
Normal file
63
template/tpl/a_tour.tpl
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
|
||||
|
||||
|
||||
<form action="" method="post">
|
||||
|
||||
<select name="ma1" style="width:180px;" >
|
||||
{foreach from=$ma1 item=allfahrer}
|
||||
{html_options values=$allfahrer.id output=$allfahrer.name}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<select name="ma2" style="width:180px;" >
|
||||
{foreach from=$ma2 item=mam}
|
||||
{html_options values=$ma2.id output=$ma2.name selected=$ma2.monat}
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<select name="ma3" style="width:180px;" >
|
||||
{foreach from=$ma3 item=maj}
|
||||
{html_options values=$ma3.id output=$ma3.name selected=$ma3.jahr}
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="submit" name="save" value="Anzeigen" />
|
||||
</form>
|
||||
|
||||
|
||||
{foreach from=$a_name item=a_name}
|
||||
{foreach from=$a_monat item=a_monat}
|
||||
{foreach from=$a_jahr item=a_jahr}
|
||||
|
||||
<br/>
|
||||
<b><span style='font-size:18pt;
|
||||
color:#4F81BD'>Übersicht für {$a_name} für Zeitraum: {$a_monat}.{$a_jahr}</span></b></p>{/foreach} {/foreach} {/foreach}
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Tour</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Auto</td>
|
||||
<td>Info</td>
|
||||
<td>Z.Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tour1 item=tour1 }
|
||||
<tr>
|
||||
<td> <b>{$tour1.tag}.{$tour1.monat}.{$tour1.jahr}</td>
|
||||
<td> <b>{$tour1.tour}</td>
|
||||
<td> <b>{$tour1.fahrer}</td>
|
||||
<td> <b>{$tour1.kennz}</td>
|
||||
<td> <b>{$tour1.infotext}</td>
|
||||
{if $tour1.fremd > 0}
|
||||
<td> <b>Stammfahrer</td>
|
||||
{else}
|
||||
<td> <b>Vertretung</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
176
template/tpl/a_zeitk.tpl
Normal file
176
template/tpl/a_zeitk.tpl
Normal file
|
|
@ -0,0 +1,176 @@
|
|||
<b><i><span style='font-size:16pt;line-height:115%;
|
||||
color:#4F81BD'>Anzeige wählen: </span></i></b>   
|
||||
|
||||
          
|
||||
<b><i><span style='font-size:10pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=a_zeitk&wahl=1&jahr={$jahr}&monat={$monat}">«</a>   {$monat}/{$jahr}  
|
||||
<a class="button-blue" href="?s=a_zeitk&wahl=2&jahr={$jahr}&monat={$monat}">»</a></span></i></b>
|
||||
           <a class="button button-orange" href="?s=list_zeitk&jahr={$jahr}&monat={$monat}&tid={$anzeige}">PDF/Monat</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="content0">
|
||||
<div class="wrapper"> <!-- list Section -- linke Spalte -->
|
||||
<section class="grid_8 first top">
|
||||
<!-- <div class="columns">-->
|
||||
<div class="column grid_2 first">
|
||||
<!-- Auswahl MA -->
|
||||
<div class="widget">
|
||||
<header class="current"><h2><h2>aktive Mitarbeiter</h2></header>
|
||||
<section>
|
||||
<table class="no-style sortable full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:10px" align="left">Nr.</th>
|
||||
<th style="width:99px" align="left">Name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist_a item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$mitarbeiterlist.id}</td>
|
||||
<td nowrap="nowrap"><strong><a href="?s=a_zeitk&id={$mitarbeiterlist.id}" title="Kicke zum auswälen" >{$mitarbeiterlist.name}</strong></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!-- ///////////////// rechte seite -->
|
||||
<div class="widget">
|
||||
<header class="current"><h2><h2>inaktive Mitarbeiter</h2></header>
|
||||
<section>
|
||||
<table class="no-style sortable full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:10px" align="left">Nr.</th>
|
||||
<th style="width:99px" align="left">Name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$mitarbeiterlist_d item=mitarbeiterlist}
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$mitarbeiterlist.id}</td>
|
||||
<td nowrap="nowrap"><strong><a href="?s=v_mitarbeiter&id={$mitarbeiterlist.id}" title="Kicke zum auswälen" >{$mitarbeiterlist.name}</strong></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- ///////////////// rechte seite -->
|
||||
{if $anzeige==0}
|
||||
<div class="column grid_6 last">
|
||||
<div class="widget">
|
||||
<header class="current"><h2>Info </h2></header>
|
||||
<section>
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:80px" align="left">Name</th>
|
||||
<th style="width:40px" align="left">Zeitkonto ges.</th>
|
||||
<th style="width:40px" align="left">Zeitkonto aktuell</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$ma item=ma}
|
||||
<tr>
|
||||
<td nowrap="nowrap"><strong>{$ma.name}</strong></td>
|
||||
<td nowrap="nowrap"><strong>{$ma.zkonto}</strong></td>
|
||||
<td nowrap="nowrap"><strong>{$ma.aktuell}</strong></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /// rechte seite MA anzeigen-->
|
||||
{else}
|
||||
<form action="" method="post">
|
||||
<div class="column grid_3 last">
|
||||
<div class="widget">
|
||||
<header class="current"><h2>Info </h2></header>
|
||||
<section>
|
||||
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>Bitte den Mitarbeiter auwählen den Sie bearbeiten möchten.</span>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
69
template/tpl/aender1.tpl
Normal file
69
template/tpl/aender1.tpl
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<!-- Left column/section -->
|
||||
|
||||
Änderung für diese KW:
|
||||
<br />
|
||||
<table class="datatable paginate sortable full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Pakete</th>
|
||||
<th>Ladung</th>
|
||||
<th>Paket</th>
|
||||
<th>Stellzeit</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Fahrzeug</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$touren2 item=tour}
|
||||
|
||||
<tr>
|
||||
<form action="" method="post">
|
||||
<td><center><input type="text" value="{$tour.tag}" style="width:15px;" name="Tag[{$tour.id}]"></center></td>
|
||||
<td><center><input type="text" value="{$tour.monat}" style="width:15px;" name="Monat[{$tour.id}]"></center></td>
|
||||
<td><center><input type="text" value="{$tour.jahr}" style="width:15px;" name="Jahr[{$tour.id}]"></center></td>
|
||||
|
||||
|
||||
<!-- fahrer -->
|
||||
<td><center>
|
||||
<select name="Fahrer[{$tour.id}]" style="width:100px;" >
|
||||
<option value="{$tour.fahrer}" >{$tour.fahrer}</option>
|
||||
{foreach from=$tour.fahrer_array item=allfahrer}
|
||||
<option value="{$allfahrer.id}" >{$allfahrer.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
|
||||
</center></td>
|
||||
|
||||
|
||||
<td><center><input type="text" value="{$tour.zeit}" style="width:50px;" name="Zeit[{$tour.id}]"></center></td>
|
||||
|
||||
<!-- gewicht = gewicht1 + gewicht2 + gewicht3 + gewicht4 + gewicht5 -->
|
||||
<!-- auto -->
|
||||
<td><center><input type="text" value="{$tour.infotext}" style="width:50px;" name="infotext[{$tour.id}]"></center></td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td><center>
|
||||
<select name="drer[{$tour.id}]" style="width:100px;" >
|
||||
<option value="{$tour.Fahrer}" >{$tour.Fahrer}</option>
|
||||
{$option1}
|
||||
</select>
|
||||
</center></td>
|
||||
<td><center>
|
||||
<input type="text" value="{$tour.Fahrzeug}" style="width:90px;" name="Fahrzeug[{$tour.id}]">
|
||||
</center></td>
|
||||
<td><center>
|
||||
<input type="image" name="savetour" value="{$tour.id}" src="template/images/icon/pencil.png" />
|
||||
</center></td>
|
||||
</form>
|
||||
</tr>
|
||||
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
39
template/tpl/aender1_list.tpl
Normal file
39
template/tpl/aender1_list.tpl
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!-- Left column/section -->
|
||||
Änderung für diese KW:
|
||||
<br />
|
||||
<table class="datatable paginate sortable full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>KW</th>
|
||||
<th>TAG</th>
|
||||
<th>Monat</th>
|
||||
<th>Jahr</th>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Zeit</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aenderkw item=aenderkw}
|
||||
<tr>
|
||||
<td>{$aender1.kw}</td>
|
||||
<td>{$aender1.tag}</td>
|
||||
<td>{$aender1.monat}</td>
|
||||
<td>{$aender1.jahr}</td>
|
||||
<td>{$aender1.tour}</td>
|
||||
<td>{$aender1.fahrer}</td>
|
||||
<td>{$aender1.Zeit}</td>
|
||||
<td>{$aender1.auto}</td>
|
||||
<td>{$aender1.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- End of Left column/section -->
|
||||
|
||||
|
||||
|
||||
<!-- Right column/section -->
|
||||
72
template/tpl/aenderday_list.tpl
Normal file
72
template/tpl/aenderday_list.tpl
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<!-- Left column/section -->
|
||||
|
||||
{foreach from=$heute item=heute}
|
||||
|
||||
<b><i><span style='font-size:16pt;line-height:115%;
|
||||
color:#4F81BD'>Änderung für Heute {$heute}</span></i></b></p>{/foreach}
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>KW</th>
|
||||
<th>Datum</th>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Zeit</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender1 item=aender1 }
|
||||
<tr>
|
||||
<th>{$aender1.kw}</th>
|
||||
<th>{$aender1.tag}.{$aender1.monat}.{$aender1.jahr}</th>
|
||||
<th>{$aender1.tour}</th>
|
||||
<th>{$aender1.fahrer}</th>
|
||||
<th>{$aender1.zeit}</th>
|
||||
<th>{$aender1.auto}</th>
|
||||
<th>{$aender1.infotext}</th>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
|
||||
{foreach from=$morgen item=morgen}
|
||||
<b><i><span style='font-size:16pt;line-height:115%;
|
||||
color:#4F81BD'>Änderung für Morgen {$morgen}</span></i></b></p>{/foreach}
|
||||
<table class="datatable full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>KW</th>
|
||||
<th>Datum</th>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Zeit</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender2 item=aender2}
|
||||
<tr>
|
||||
<th>{$aender2.kw}</th>
|
||||
<th>{$aender2.tag}.{$aender2.monat}.{$aender2.jahr}</th>
|
||||
<th>{$aender2.tour}</th>
|
||||
<th>{$aender2.fahrer}</th>
|
||||
<th>{$aender2.zeit}</th>
|
||||
<th>{$aender2.auto}</th>
|
||||
<th>{$aender2.infotext}</th>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<!-- End of Left column/section -->
|
||||
|
||||
|
||||
|
||||
<!-- Right column/section -->
|
||||
159
template/tpl/aenderkw_list.tpl
Normal file
159
template/tpl/aenderkw_list.tpl
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
|
||||
{foreach from=$tag1 item=tag1}
|
||||
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag1} (Heute)</span></b></p>{/foreach}
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender1 item=aender1 }
|
||||
<tr>
|
||||
<td> <b>{$aender1.tour}</td>
|
||||
<td> <b>{$aender1.fahrer}</td>
|
||||
<td> <b>{$aender1.kennz}</td>
|
||||
<td> <b>{$aender1.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag2 item=tag2}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag2} (Morgen)</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender2 item=aender2 }
|
||||
<tr>
|
||||
<td> <b>{$aender2.tour}</td>
|
||||
<td> <b>{$aender2.fahrer}</td>
|
||||
<td> <b>{$aender2.kennz}</td>
|
||||
<td> <b>{$aender2.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag3 item=tag3}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag3}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender3 item=aender3 }
|
||||
<tr>
|
||||
<td> <b>{$aender3.tour}</td></b>
|
||||
<td> <b>{$aender3.fahrer}</td></b>
|
||||
<td> <b>{$aender3.kennz}</td></b>
|
||||
<td> <b>{$aender3.infotext}</td></b>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag4 item=tag4}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag4}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender4 item=aender4 }
|
||||
<tr>
|
||||
<td> <b>{$aender4.tour}</td> </b>
|
||||
<td> <b>{$aender4.fahrer}</td> </b>
|
||||
<td> <b>{$aender4.kennz}</td> </b>
|
||||
<td> <b>{$aender4.infotext}</td> </b>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag5 item=tag5}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag5}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender5 item=aender5 }
|
||||
<tr>
|
||||
<td> <b>{$aender5.tour}</td></b>
|
||||
<td> <b>{$aender5.fahrer}</td></b>
|
||||
<td> <b>{$aender5.kennz}</td></b>
|
||||
<td> <b>{$aender5.infotext}</td></b>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag6 item=tag6}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag6}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tour</th>
|
||||
<th>Fahrer</th>
|
||||
<th>Auto</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender6 item=aender6 }
|
||||
<tr>
|
||||
<td> <b>{$aender6.tour}</td></b>
|
||||
<td> <b>{$aender6.fahrer}</td></b>
|
||||
<td> <b>{$aender6.kennz}</td></b>
|
||||
<td> <b>{$aender6.infotext}</td></b>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
|
||||
<!-- End of Left column/section -->
|
||||
|
||||
|
||||
|
||||
<!-- Right column/section -->
|
||||
160
template/tpl/aenderkw_list1.tpl
Normal file
160
template/tpl/aenderkw_list1.tpl
Normal file
|
|
@ -0,0 +1,160 @@
|
|||
<!-- Left column/section -->
|
||||
|
||||
{foreach from=$tag1 item=tag1}
|
||||
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag1} (Heute)</span></b></p>{/foreach}
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:30px">Tour</th>
|
||||
<th style="width:99px">Fahrer</th>
|
||||
<th style="width:30px">Auto</th>
|
||||
<th style="width:400px">Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender1 item=aender1 }
|
||||
<tr>
|
||||
<td> <b>{$aender1.tour}</td>
|
||||
<td> <b>{$aender1.fahrer}</td>
|
||||
<td> <b>{$aender1.kennz}</td>
|
||||
<td> <b>{$aender1.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag2 item=tag2}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag2} (Morgen)</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:30px">Tour</th>
|
||||
<th style="width:99px">Fahrer</th>
|
||||
<th style="width:30px">Auto</th>
|
||||
<th style="width:400px">Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender2 item=aender2 }
|
||||
<tr>
|
||||
<td> <b>{$aender2.tour}</td>
|
||||
<td> <b>{$aender2.fahrer}</td>
|
||||
<td> <b>{$aender2.kennz}</td>
|
||||
<td> <b>{$aender2.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag3 item=tag3}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag3}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:30px">Tour</th>
|
||||
<th style="width:99px">Fahrer</th>
|
||||
<th style="width:30px">Auto</th>
|
||||
<th style="width:400px">Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender3 item=aender3 }
|
||||
<tr>
|
||||
<td> <b>{$aender3.tour}</td>
|
||||
<td> <b>{$aender3.fahrer}</td>
|
||||
<td> <b>{$aender3.kennz}</td>
|
||||
<td> <b>{$aender3.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag4 item=tag4}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag4}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:30px">Tour</th>
|
||||
<th style="width:99px">Fahrer</th>
|
||||
<th style="width:30px">Auto</th>
|
||||
<th style="width:400px">Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender4 item=aender4 }
|
||||
<tr>
|
||||
<td> <b>{$aender4.tour}</td>
|
||||
<td> <b>{$aender4.fahrer}</td>
|
||||
<td> <b>{$aender4.kennz}</td>
|
||||
<td> <b>{$aender4.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag5 item=tag5}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag5}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:30px">Tour</th>
|
||||
<th style="width:99px">Fahrer</th>
|
||||
<th style="width:30px">Auto</th>
|
||||
<th style="width:400px">Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender5 item=aender5 }
|
||||
<tr>
|
||||
<td> <b>{$aender5.tour}</td>
|
||||
<td> <b>{$aender5.fahrer}</td>
|
||||
<td> <b>{$aender5.kennz}</td>
|
||||
<td> <b>{$aender5.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
{foreach from=$tag6 item=tag6}
|
||||
<b><span style='font-size:10pt;
|
||||
color:#4F81BD'>Änderung für {$tag6}</span></b></p>{/foreach}
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:30px">Tour</th>
|
||||
<th style="width:99px">Fahrer</th>
|
||||
<th style="width:30px">Auto</th>
|
||||
<th style="width:400px">Info</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$aender6 item=aender6 }
|
||||
<tr>
|
||||
<td> <b>{$aender6.tour}</td>
|
||||
<td> <b>{$aender6.fahrer}</td>
|
||||
<td> <b>{$aender6.kennz}</td>
|
||||
<td> <b>{$aender6.infotext}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
|
||||
<!-- End of Left column/section -->
|
||||
|
||||
|
||||
|
||||
<!-- Right column/section -->
|
||||
13
template/tpl/ajax/_ma_subm.tpl
Normal file
13
template/tpl/ajax/_ma_subm.tpl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div class="menux">
|
||||
<table class="no-style full">
|
||||
<tbody align="center">
|
||||
|
||||
<td align="center" {if $m==1} style="color: orange"{/if} width="20%"> <i class="fad fa-info" onclick="ma_edit_sb({$maID})"></i></td>
|
||||
<td align="center" {if $m==2} style="color: orange"{/if} width="20%"> <i class="fad fa-clock" onclick="ma_tuer({$maID})"></i></td>
|
||||
<td align="center" {if $m==3} style="color: orange"{/if} width="20%"> <i class="fad fa-calendar" onclick="ma_kal({$maID})"></i></td>
|
||||
<td align="center" {if $m==4} style="color: orange"{/if} width="20%"> <i class="fad fa-route" onclick="ma_setup({$maID})"></i></td>
|
||||
<td align="center" {if $m==5} style="color: orange"{/if} width="20%"> <i class="fad fa-sms"></i></td>
|
||||
<td align="center" {if $m==6} style="color: orange"{/if} width="20%"> <i class="fad fa-mail-bulk"></i></td>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
11
template/tpl/ajax/a_abr.tpl
Normal file
11
template/tpl/ajax/a_abr.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{if $tdata!=0}
|
||||
<td nowrap style="width:80px;font-size:11pt"> {$tname} </td>
|
||||
<td nowrap style="width:160px;font-size:8pt"> {$tinfo} </td>
|
||||
<td nowrap style="width:35px;font-size:11pt"> {$tdata} x</td>
|
||||
<td nowrap align="right" style="width:50px;font-size:12pt;color: red">
|
||||
|
||||
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_abr_nw&id={$anzeige}&tid={$tid}&jahr={$jahr}&monat={$monat}" >
|
||||
<i class="far fa-file-pdf" style="color: red"></i>
|
||||
</td>
|
||||
{/if}
|
||||
31
template/tpl/ajax/a_tour.tpl
Normal file
31
template/tpl/ajax/a_tour.tpl
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
{foreach from=$atour1 item=atour }
|
||||
<tbody>
|
||||
<td nowrap style="width:90px;font-size:11pt" align="left"><span style='color:#009900'>{$atour.tour}</td>
|
||||
<td nowrap style="width:165px;font-size:11pt" align="left"><span style='color:#009900'>{$atour.name}</td>
|
||||
<td nowrap style="width:160px;font-size:11pt" align="left"><span style='color:#009900'>{$atour.kennz}</td>
|
||||
</tbody>
|
||||
{/foreach}
|
||||
|
||||
{foreach from=$atour2 item=atour }
|
||||
<tbody>
|
||||
<td nowrap style="width:90px;font-size:11pt" align="left"><span style='color:#FF9000'>{$atour.tour}</td>
|
||||
<td nowrap style="width:165px;font-size:11pt" align="left"><span style='color:#FF9000'>{$atour.name}</td>
|
||||
<td nowrap style="width:160px;font-size:11pt" align="left"><span style='color:#FF9000'>{$atour.kennz}</td>
|
||||
</tbody>
|
||||
{/foreach}
|
||||
|
||||
{foreach from=$atour3 item=atour }
|
||||
<tbody>
|
||||
<td nowrap style="width:90px;font-size:11pt" align="left"><span style='color:#ff0000'>{$atour.tour}</td>
|
||||
<td nowrap style="width:165px;font-size:11pt" align="left"><span style='color:#ff0000'>{$atour.name}</td>
|
||||
<td nowrap style="width:160px;font-size:11pt" align="left"><span style='color:#ff0000'>{$atour.kennz}</td>
|
||||
</tbody>
|
||||
{/foreach}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
40
template/tpl/ajax/blitzer1.tpl
Normal file
40
template/tpl/ajax/blitzer1.tpl
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
|
||||
<!-- ******************************************************************************************************************** -->
|
||||
{if $dataanz==0}
|
||||
<!-- ***** keine Daten ************************************************************************************************* -->
|
||||
<div style="box-shadow: 0px 0px 15px #66FFFF; width: 283px; padding: 10px;min-height: 75px;max-height: 75px">
|
||||
<span style='color:#ababab;font-size:16pt'><i class="fad fa-traffic-light" style="color: yellow"></i> keine Warnungen</span> </span>
|
||||
</div>
|
||||
</br>
|
||||
|
||||
{else}
|
||||
<!-- ***** Daten vorhanden ************************************************************************************************* -->
|
||||
<div style="box-shadow: 0px 0px 15px #66FFFF; width: 283px; padding: 10px">
|
||||
|
||||
{foreach from=$bdata item=bdata}
|
||||
{if $bdata.typ==1 || $bdata.typ==2 || $bdata.typ==3 || $bdata.typ==4 || $bdata.typ==5 || $bdata.typ==6 || $bdata.typ==9}
|
||||
{if $bdata.vmax==0}
|
||||
<span style='color:#fff;font-size:10pt'><img src="/images/v/blitzer.png" alt="Blitzer" width="24"></span>
|
||||
{else}
|
||||
<span style='color:#fff;font-size:10pt'><img src='/images/v/{$bdata.vmax}.png' alt="Vmax" width="24"></span>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $bdata.typ==20} <span style='color:#fff;font-size:10pt'><img src='/images/v/stau.png' alt="Stau" width="24"></span> {/if}
|
||||
{if $bdata.typ==21} <span style='color:#fff;font-size:10pt'><img src='/images/v/unfall.png' alt="Stau" width="24"></span> {/if}
|
||||
{if $bdata.typ==22} <span style='color:#fff;font-size:10pt'><img src='/images/v/achtung.png' alt="Stau" width="24"></span> {/if}
|
||||
{if $bdata.typ==23} <span style='color:#fff;font-size:10pt'><img src='/images/v/typ23.png' alt="Hindernis" width="24"></span> {/if}
|
||||
{if $bdata.typ==24} <span style='color:#fff;font-size:10pt'><img src='/images/v/eis.png' alt="Eis" width="24"></span> {/if}
|
||||
{if $bdata.typ==25} <span style='color:#fff;font-size:10pt'><img src='/images/v/nebel.png' alt="Nebel" width="24"></span> {/if}
|
||||
{if $bdata.typ==26} <span style='color:#fff;font-size:10pt'><img src='/images/v/baustelle.png' alt="Stau" width="24"></span>{/if}
|
||||
<span style='color:#ababab;font-size:11pt'> {$bdata.adresse1}</span>
|
||||
<span style='color:#ababab;font-size: 8pt'> {$bdata.adresse2}</span>
|
||||
{if $bdata.typ==9} <span style='color:#fff;font-size:10pt'><img src='/images/v/ts.png' alt="Trailer" width="24"></span> {/if}
|
||||
</br>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
125
template/tpl/ajax/blitzer2.tpl
Normal file
125
template/tpl/ajax/blitzer2.tpl
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{foreach from=$bdata item=bdata}
|
||||
<div class="panel panel-warning">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<!-- ***** Blitzer ************************************************************************************************* -->
|
||||
{if $bdata.typ==1 || $bdata.typ==2 || $bdata.typ==3 || $bdata.typ==4 || $bdata.typ==5 || $bdata.typ==6}
|
||||
<tr>
|
||||
<td nowrap align="left" style="width: 35px">
|
||||
{if $bdata.vmax==0}
|
||||
<img src="/images/v/blitzer.png" alt="Blitzer" width="32">
|
||||
{else}
|
||||
<img src='/images/v/{$bdata.vmax}.png' alt="Vmax" width="32">
|
||||
{/if}
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
<!-- ***** Stau *************************************************************************************************** -->
|
||||
{if $bdata.typ==20}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src='/images/v/stau.png' alt="Stau" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!-- ***** Unfall ************************************************************************************************* -->
|
||||
{if $bdata.typ==21}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src='/images/v/unfall.png' alt="Unfall" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!-- ***** ???? ************************************************************************************************* -->
|
||||
{if $bdata.typ==22}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src="/images/v/baustelle.png" alt="Baustellen" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!-- ***** behinderung ***************************************************************************************** -->
|
||||
{if $bdata.typ==23}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src="/images/v/achtung.png" alt="behinderung" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!-- ***** Glätte ***************************************************************************************** -->
|
||||
{if $bdata.typ==24}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src="/images/v/eis.png" alt="Glätte" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!-- ***** Nebel ***************************************************************************************** -->
|
||||
{if $bdata.typ==25}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src="/images/v/nebel.png" alt="Nebel" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
<!-- ***** Baustellen ************************************************************************************** -->
|
||||
{if $bdata.typ==25}
|
||||
<tr>
|
||||
<td nowrap align="center" style="width: 35px">
|
||||
<img src="/images/v/baustelle.png" alt="Baustellen" width="32">
|
||||
</td>
|
||||
<td align="left" style="width: 244px">
|
||||
<span style='color:#66ffff;font-size:6pt"'>{$bdata.street}</td>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!--
|
||||
// 23-behinderung
|
||||
// 21-Unfall
|
||||
// 20-Stau
|
||||
// 0-6 mobile blitzer
|
||||
// 22
|
||||
// 24-Glätte
|
||||
// 25-Nebel
|
||||
// 26- Baustellen 2
|
||||
-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
70
template/tpl/ajax/car_plan.tpl
Normal file
70
template/tpl/ajax/car_plan.tpl
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<table class="table" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:100px";font-size:8pt>Fahrzeug</th>
|
||||
<th style="width:10px";font-size:8pt>0</th>
|
||||
<th style="width:10px";font-size:8pt>1</th>
|
||||
<th style="width:10px";font-size:8pt>2</th>
|
||||
<th style="width:10px";font-size:8pt>3</th>
|
||||
<th style="width:10px";font-size:8pt>4</th>
|
||||
<th style="width:10px";font-size:8pt>5</th>
|
||||
<th style="width:10px";font-size:8pt>6</th>
|
||||
<th style="width:10px";font-size:8pt>7</th>
|
||||
<th style="width:10px";font-size:8pt>8</th>
|
||||
<th style="width:10px";font-size:8pt>9</th>
|
||||
<th style="width:10px";font-size:8pt>10</th>
|
||||
<th style="width:10px";font-size:8pt>11</th>
|
||||
<th style="width:10px";font-size:8pt>12</th>
|
||||
<th style="width:10px";font-size:8pt>13</th>
|
||||
<th style="width:10px";font-size:8pt>14</th>
|
||||
<th style="width:10px";font-size:8pt>15</th>
|
||||
<th style="width:10px";font-size:8pt>16</th>
|
||||
<th style="width:10px";font-size:8pt>17</th>
|
||||
<th style="width:10px";font-size:8pt>18</th>
|
||||
<th style="width:10px";font-size:8pt>19</th>
|
||||
<th style="width:10px";font-size:8pt>20</th>
|
||||
<th style="width:10px";font-size:8pt>21</th>
|
||||
<th style="width:10px";font-size:8pt>22</th>
|
||||
<th style="width:20px";font-size:8pt>23</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$car item=car }
|
||||
<tr>
|
||||
<td nowrap style="width:90px;font-size:11pt" align="left"> <b>{$car.kz}</td>
|
||||
|
||||
{if $car.time0 >1} <td class="danger">{elseif $car.time0 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time1 >1} <td class="danger">{elseif $car.time1 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time2 >1} <td class="danger">{elseif $car.time2 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time3 >1} <td class="danger">{elseif $car.time3 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time4 >1} <td class="danger">{elseif $car.time4 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time5 >1} <td class="danger">{elseif $car.time5 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time6 >1} <td class="danger">{elseif $car.time6 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time7 >1} <td class="danger">{elseif $car.time7 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time8 >1} <td class="danger">{elseif $car.time8 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time9 >1} <td class="danger">{elseif $car.time9 >0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time10>1} <td class="danger">{elseif $car.time10>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time11>1} <td class="danger">{elseif $car.time11>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time12>1} <td class="danger">{elseif $car.time12>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time13>1} <td class="danger">{elseif $car.time13>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time14>1} <td class="danger">{elseif $car.time14>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time15>1} <td class="danger">{elseif $car.time15>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time16>1} <td class="danger">{elseif $car.time16>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time17>1} <td class="danger">{elseif $car.time17>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time18>1} <td class="danger">{elseif $car.time18>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time19>1} <td class="danger">{elseif $car.time19>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time20>1} <td class="danger">{elseif $car.time20>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time21>1} <td class="danger">{elseif $car.time21>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time22>1} <td class="danger">{elseif $car.time22>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
{if $car.time23>1} <td class="danger">{elseif $car.time23>0}<td class="warning">{else} {if $car.nhof==1}<td class="active"> {else}<td class="success">{/if}{/if}</td>
|
||||
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
19
template/tpl/ajax/cicon.tpl
Normal file
19
template/tpl/ajax/cicon.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{if $anzeige==0}
|
||||
<td nowrap id="caricon" style="width:20px;font-size:11pt;text-align:right;color:gray">
|
||||
<i class="fa fa-truck" id="caricon"></i>
|
||||
</td>
|
||||
{elseif $anzeige==1}
|
||||
<td nowrap id="caricon" style="width:20px;font-size:11pt;text-align:right;color:red">
|
||||
<i class="fa fa-truck" id="caricon"></i>
|
||||
</td>
|
||||
{elseif $anzeige==2}
|
||||
<td nowrap id="caricon" style="width:20px;font-size:11pt;text-align:right;color:orange">
|
||||
<i class="fa fa-truck" id="caricon"></i>
|
||||
</td>
|
||||
{elseif $anzeige==3}
|
||||
<td nowrap id="caricon" style="width:20px;font-size:11pt;text-align:right;color:green">
|
||||
<i class="fa fa-truck" id="caricon"></i>
|
||||
</td>
|
||||
{/if}
|
||||
<input type="hidden" name="tourID" value="{$tourID}"/>
|
||||
|
||||
34
template/tpl/ajax/conline.tpl
Normal file
34
template/tpl/ajax/conline.tpl
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<div style="background-color: gray;color: #115270">
|
||||
<i class="fas fa-user-clock fa-7x fa-pull-left"></i>
|
||||
<table class="no-style full" style="background-color: gray;color: #dddddd;font-size:11pt">
|
||||
{foreach from=$abfrage_c item=co}
|
||||
{if $co.status==2 && $co.ontour==0}
|
||||
<tr>
|
||||
<td nowrap style="width:170px" align="left"><span style='color:#000FFF'>{$co.name}</td>
|
||||
<td nowrap style="width:120px" align="left"><span style='color:#000FFF'>Karte frei</td>
|
||||
<td nowrap style="width:10pxt" align="right"><span style='color:#000FFF'>{$co.etime|date_format:"%H:%M"}</td>
|
||||
</tr>
|
||||
{elseif $co.status==2 && $co.ontour==1}
|
||||
<tr>
|
||||
<td nowrap style="width:170px" align="left" ><span style='color:green'>{$co.name}</td>
|
||||
<td nowrap style="width:120px" align="left" ><span style='color:green'><mark>ON-Tour {$co.lastlog|date_format:"%H:%M"}</mark></td>
|
||||
<td nowrap style="width:10px" align="right"><span style='color:green'>{$co.etime|date_format:"%H:%M"}</td>
|
||||
</tr>
|
||||
{elseif $co.status==3}
|
||||
<tr>
|
||||
<td nowrap style="width:170px" align="left"><span style='color:#8A0002'>{$co.name}</td>
|
||||
<td nowrap style="width:120px" align="left"><span style='color:#8A0002'>{$co.grund}</td>
|
||||
<td nowrap style="width:10px" align="right"><span style='color:#8A0002'>{$co.etime|date_format:"%H:%M"}</td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr>
|
||||
<td nowrap style="width:170px" align="left"><span style='color:#dddddd'>{$co.name}</td>
|
||||
<td nowrap style="width:120px" align="left"><span style='color:#FF8E00'>keine Tour</td>
|
||||
<td nowrap style="width:10px" align="right"><span style='color:#FF8E00'>{$co.etime|date_format:"%H:%M"}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
61
template/tpl/ajax/corona.tpl
Normal file
61
template/tpl/ajax/corona.tpl
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
<!-- *************************************************** Leipzig Stadt *********** -->
|
||||
<div class="col-md-3">
|
||||
{if $cdata1.status==1} <div class="panel" style="background-color: #30913b"> {/if}
|
||||
{if $cdata1.status==2} <div class="panel" style="background-color: #ffaa00"> {/if}
|
||||
{if $cdata1.status==3} <div class="panel" style="background-color: #ff0000"> {/if}
|
||||
{if $cdata1.status==4} <div class="panel" style="background-color: #8a0303"> {/if}
|
||||
<span style='color:#fff;font-size:10pt'><i class="far fa-virus"></i> Stadt Leipzig</span>
|
||||
<span style='color:#fff;font-size:10pt'> <i class="far fa-chart-network"></i> {$cdata1.inzidenzen}</span>
|
||||
<span style='color:#fff;font-size:12pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata1.mutant} + {$cdata1.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata1.death} + {$cdata1.zu_death}</i>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- *************************************************** LK Leipzig *********** -->
|
||||
<div class="col-md-3">
|
||||
{if $cdata5.status==1} <div class="panel" style="background-color: #30913b"> {/if}
|
||||
{if $cdata5.status==2} <div class="panel" style="background-color: #ffaa00"> {/if}
|
||||
{if $cdata5.status==3} <div class="panel" style="background-color: #ff0000"> {/if}
|
||||
{if $cdata5.status==4} <div class="panel" style="background-color: #8a0303"> {/if}
|
||||
<span style='color:#fff;font-size:10pt'><i class="far fa-virus"></i> Kreis Leipzig</span>
|
||||
<span style='color:#fff;font-size:10pt'> <i class="far fa-chart-network"></i> {$cdata5.inzidenzen}</span>
|
||||
<span style='color:#fff;font-size:12pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata5.mutant} + {$cdata5.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata5.death} + {$cdata5.zu_death}</i>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- *************************************************** LK Nordsachsen *********** -->
|
||||
<div class="col-md-3">
|
||||
{if $cdata6.status==1} <div class="panel" style="background-color: #30913b"> {/if}
|
||||
{if $cdata6.status==2} <div class="panel" style="background-color: #ffaa00"> {/if}
|
||||
{if $cdata6.status==3} <div class="panel" style="background-color: #ff0000"> {/if}
|
||||
{if $cdata6.status==4} <div class="panel" style="background-color: #8a0303"> {/if}
|
||||
<span style='color:#fff;font-size:10pt'><i class="far fa-virus"></i> Nordsachsen</span>
|
||||
<span style='color:#fff;font-size:10pt'> <i class="far fa-chart-network"></i> {$cdata6.inzidenzen}</span>
|
||||
<span style='color:#fff;font-size:12pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata6.mutant} + {$cdata6.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata6.death} + {$cdata6.zu_death}</i>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div> <!-- *************************************************** Stadt Halle *********** -->
|
||||
<div class="col-md-3">
|
||||
{if $cdata3.status==1} <div class="panel" style="background-color: #30913b"> {/if}
|
||||
{if $cdata3.status==2} <div class="panel" style="background-color: #ffaa00"> {/if}
|
||||
{if $cdata3.status==3} <div class="panel" style="background-color: #ff0000"> {/if}
|
||||
{if $cdata3.status==4} <div class="panel" style="background-color: #8a0303"> {/if}
|
||||
<span style='color:#fff;font-size:10pt'><i class="far fa-virus"></i> Stadt Halle</span>
|
||||
<span style='color:#fff;font-size:10pt'> <i class="far fa-chart-network"></i> {$cdata3.inzidenzen}</span>
|
||||
<span style='color:#fff;font-size:12pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata3.mutant} + {$cdata3.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata3.death} + {$cdata3.zu_death}</i>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
54
template/tpl/ajax/corona2022.tpl
Normal file
54
template/tpl/ajax/corona2022.tpl
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- *************************************************** Leipzig Stadt *********** -->
|
||||
{if $cdata.status==1}
|
||||
<div style="box-shadow: 0px 0px 15px #30913b; width: 283px; padding: 10px;">
|
||||
<span style='color:#30913b;font-size:16pt'><i class="far fa-virus "></i> {$cdata.gebiet}</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt'><i class="far fa-chart-network"></i> {$cdata.inzidenzen}</span>
|
||||
<span style='color:#ababab;font-size:8pt'> ({$cdata.lastdate})</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata.mutant} + {$cdata.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata.death} + {$cdata.zu_death}</i> </br>
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{if $cdata.status==2}
|
||||
<div style="box-shadow: 0px 0px 15px #ffaa00; width: 283px; padding: 10px;">
|
||||
<span style='color:#ffaa00;font-size:16pt'><i class="far fa-virus "></i> {$cdata.gebiet}</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt'><i class="far fa-chart-network"></i> {$cdata.inzidenzen}</span>
|
||||
<span style='color:#ababab;font-size:8pt'> ({$cdata.lastdate})</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata.mutant} + {$cdata.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata.death} + {$cdata.zu_death}</i> </br>
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{if $cdata.status==3}
|
||||
<div style="box-shadow: 0px 0px 15px #ff0000; width: 283px; padding: 10px;">
|
||||
<span style='color:#ff0000;font-size:16pt'><i class="far fa-virus "></i> {$cdata.gebiet}</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt'><i class="far fa-chart-network"></i> {$cdata.inzidenzen}</span>
|
||||
<span style='color:#ababab;font-size:8pt'> ({$cdata.lastdate})</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata.mutant} + {$cdata.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata.death} + {$cdata.zu_death}</i> </br>
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{if $cdata.status==4}
|
||||
<div style="box-shadow: 0px 0px 15px #8a0303; width: 283px; padding: 10px;">
|
||||
<span style='color:#8a0303;font-size:16pt'><i class="far fa-virus "></i> {$cdata.gebiet}</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt'><i class="far fa-chart-network"></i> {$cdata.inzidenzen}</span>
|
||||
<span style='color:#ababab;font-size:8pt'> ({$cdata.lastdate})</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata.mutant} + {$cdata.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata.death} + {$cdata.zu_death}</i> </br>
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
21
template/tpl/ajax/coronax.tpl
Normal file
21
template/tpl/ajax/coronax.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $cdata.status==1}
|
||||
<div style="box-shadow: 0px 0px 15px #30913b; width: 140px; padding: 10px;">
|
||||
{/if}
|
||||
{if $cdata.status==2}
|
||||
<div style="box-shadow: 0px 0px 15px #ffaa00; width: 140px; padding: 10px;">
|
||||
{/if}
|
||||
{if $cdata.status==3}
|
||||
<div style="box-shadow: 0px 0px 15px #ff0000; width: 140px; padding: 10px;">
|
||||
{/if}
|
||||
{if $cdata.status==4}
|
||||
<div style="box-shadow: 0px 0px 15px #8a0303; width: 140px; padding: 10px;">
|
||||
{/if}
|
||||
<span style='color:#30913b;font-size:16pt'><i class="far fa-virus "></i> {$cdata.gebiet}</span> </br>
|
||||
<span style='color:#ababab;font-size:10pt'><i class="far fa-chart-network"></i> {$cdata.inzidenzen}</span>
|
||||
<span style='color:#ababab;font-size:10pt;text-align: center'>
|
||||
<i class="fal fa-biohazard"> {$cdata.mutant} + {$cdata.zu_mutant} </i>
|
||||
<i class="fal fa-skull-crossbones"> {$cdata.death} + {$cdata.zu_death}</i> </br>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
29
template/tpl/ajax/dwd.tpl
Normal file
29
template/tpl/ajax/dwd.tpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{if $wert !=0}
|
||||
<div style="box-shadow: 0px 0px 15px #ff0000; width: 283px; padding: 10px;min-height: 75px;max-height: 75px;">
|
||||
<span style='color:#ff0000;font-size:16pt'><i class="fad fa-siren-on" style="color: red"></i> {$wert} Wetterwarnung</span></br>
|
||||
<span style='color:#ababab;font-size:8pt;text-align: center'> Stand: {$time|date_format:"%d.%m.%Y - %H:%M Uhr"}</span>
|
||||
</div>
|
||||
</br>
|
||||
{foreach from=$uww item=uww}
|
||||
{if $uww.level <3}
|
||||
<div style="box-shadow: 0px 0px 15px #f05800; width: 283px; padding: 10px;">
|
||||
<span style='color:#f05800;font-size:14pt'><i class="fad fa-exclamation-triangle" style="color:#f05800"></i> {$uww.stadt}</span> </br>
|
||||
<span style='color:#f05800;font-size:10pt'> {$uww.text}</span> </br>
|
||||
<span style='color:#ababab;font-size:8pt'> {$uww.info}</span> </br>
|
||||
</div>
|
||||
{else}
|
||||
<div style="box-shadow: 0px 0px 15px #ff0000; width: 283px; padding: 10px;">
|
||||
<span style='color:#ff0000;font-size:14pt'><i class="fad fa-exclamation-triangle" style="color: red"></i> {$uww.stadt}</span> </br>
|
||||
<span style='color:#ff0000;font-size:10pt'> {$uww.text}</span> </br>
|
||||
<span style='color:#ababab;font-size:8pt'> {$uww.info}</span> </br>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
|
||||
{else}
|
||||
<div style="box-shadow: 0px 0px 15px #66FFFF; width: 283px; padding: 10px;min-height: 75px;max-height: 75px">
|
||||
<span style='color:#ababab;font-size:16pt'><i class="fad fa-sun" style="color: yellow"></i> keine Wetterwarnung</span> </span>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
39
template/tpl/ajax/dwd_2021.tpl
Normal file
39
template/tpl/ajax/dwd_2021.tpl
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{if $wert !=0}
|
||||
<div class="panel panel-warning">
|
||||
<h4 align="center"><span style='color:#f05800;font-weight:bold;'>{$wert} Wetterwarnung</h4>
|
||||
</div>
|
||||
|
||||
{foreach from=$uww item=uww}
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="table-striped">
|
||||
<tbody>
|
||||
{if $uww.level <3}
|
||||
<tr style="height: 3px;">
|
||||
<td nowrap style="width:183px"><span style='color:#f05800;font-size:10pt;'>{$uww.text} für {$uww.stadt}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="height: 3px;">
|
||||
<td nowrap style="width:360px"><span style='color:#f05800;font-size:10pt;'>von: {$uww.start} Uhr bis: {$uww.ende} Uhr</td>
|
||||
</tr>
|
||||
-->
|
||||
{else}
|
||||
<tr style="height: 3px;">
|
||||
<td nowrap style="width:183px"><span style='color:#ff0000;font-size:10pt;'>{$uww.text} für {$uww.stadt}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="height: 3px;">
|
||||
<td nowrap style="width:360px"><span style='color:#ff0000;font-size:10pt;'>von: {$uww.start} Uhr bis: {$uww.ende} Uhr</td>
|
||||
</tr>
|
||||
-->
|
||||
{/if}
|
||||
<tr style="height: 3px;">
|
||||
<td nowrap style="width:183px"><span style='color:#ffffff;font-size:8pt;'>{$uww.info}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/foreach}
|
||||
{/if}
|
||||
26
template/tpl/ajax/free_car.tpl
Normal file
26
template/tpl/ajax/free_car.tpl
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<div class="panel panel-tbox">
|
||||
<header class="panel-heading" style="font-size: 10pt;line-height:80%">
|
||||
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
|
||||
<span style="font-size: 9pt"> verfügbare Fahrzeuge</span>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-9px;line-height:12px">
|
||||
{foreach from=$data item=fc }
|
||||
<tr>
|
||||
<td style="width:30px;font-size:12pt">
|
||||
{if $fc.typ==1} <i class="far fa-car-side" style="color: sandybrown"></i> {/if}
|
||||
{if $fc.typ==2} <i class="far fa-shuttle-van" style="color: orange"></i> {/if}
|
||||
{if $fc.typ==3} <i class="far fa-truck" style="color: deepskyblue"></i> {/if}
|
||||
{if $fc.typ==4} <i class="far fa-truck" style="color: cadetblue"></i> {/if}
|
||||
{if $fc.typ==5} <i class="far fa-truck-moving" style="color: darkgreen"></i> {/if}
|
||||
{if $fc.typ==98}<i class="far fa-truck-plow" style="color: red"></i> {/if}
|
||||
</td>
|
||||
<td style="width:200px;font-size:10pt;">
|
||||
<strong>{$fc.car}</strong></br>
|
||||
<span style="width:145px;font-size: 7pt;">{$fc.info}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
21
template/tpl/ajax/free_ma.tpl
Normal file
21
template/tpl/ajax/free_ma.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<div class="panel panel-tbox">
|
||||
<header class="panel-heading" style="font-size: 14pt">
|
||||
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
|
||||
<span style="font-size: 9pt"> verfügbare Mitarbeiter</span>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-9px;line-height:20px">
|
||||
{foreach from=$data item=fc }
|
||||
<tr>
|
||||
<td style="width:25px;font-size:12pt">
|
||||
{if $fc.icon==0} <i class="far fa-user-check" style="color: forestgreen"></i> {/if}
|
||||
{if $fc.icon==1} <i class="far fa-user-tag" style="color: orange"></i> {/if}
|
||||
{if $fc.icon==2} <i class="far fa-user-times" style="color: crimson"></i> {/if}
|
||||
</td>
|
||||
<td nowrap style="width:200px;font-size:10pt;"> <strong>{$fc.name}</strong></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
41
template/tpl/ajax/fstatus.tpl
Normal file
41
template/tpl/ajax/fstatus.tpl
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{if $anzeige>0}
|
||||
<div class="panel panel-danger">
|
||||
{else}
|
||||
<div class="panel panel-default">
|
||||
{/if}
|
||||
<div class="panel-heading" align="left">Fahrzeug-Termine</div>
|
||||
<div class="panel-body" style="min-height:220px;max-height:220px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$sanidata item=sanidata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:11pt">{$sanidata.kz}</td>
|
||||
<td nowrap style="width:120px;font-size:11pt">Sanikasten</td>
|
||||
{if $sanidata.typ==1}<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'>{$sanidata.sanidate|date_format:"%m / %Y"}</td>{/if}
|
||||
{if $sanidata.typ==2}<td nowrap style="width:100px;font-size:11pt"><span style='color:#FBAD06'>{$sanidata.sanidate|date_format:"%m / %Y"}</td>{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$hudata item=hudata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:11pt">{$hudata.kz}</td>
|
||||
<td nowrap style="width:120px;font-size:11pt">HU / AU</td>
|
||||
{if $hudata.typ==1}<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'>{$hudata.hudate|date_format:"%m / %Y"}</td>{/if}
|
||||
{if $hudata.typ==2}<td nowrap style="width:100px;font-size:11pt"><span style='color:#FBAD06'>{$hudata.hudate|date_format:"%m / %Y"}</td>{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
28
template/tpl/ajax/glrechner.tpl
Normal file
28
template/tpl/ajax/glrechner.tpl
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
|
||||
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody style="font-size:11pt">
|
||||
<tr>
|
||||
<td nowrap style="width:180px;color: cadetblue">Bruttosumme: </td>
|
||||
<td align="right" nowrap style="width:80px;color: cadetblue">{$ld.brutto} €</td>
|
||||
</tr><tr>
|
||||
|
||||
<td nowrap style="width:80px;color: darkorange">Lohnsteuer: </td>
|
||||
<td align="right" nowrap style="width:80px;color: darkorange">-{$ld.lsteuer} €</td>
|
||||
</tr><tr>
|
||||
<td nowrap style="width:80px;color: darkorange">Kirchensteuer: </td>
|
||||
<td align="right" nowrap style="width:80px;color: darkorange">-{$ld.ksteuer} €</td>
|
||||
</tr><tr>
|
||||
<td nowrap style="width:80px;color: cadetblue">Nettobetrag: </td>
|
||||
<td align="right" nowrap style="width:80px;color: cadetblue">{$ld.netto1} €</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
61
template/tpl/ajax/gpstag.tpl
Normal file
61
template/tpl/ajax/gpstag.tpl
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<!-- <div class="col-md-6"> -->
|
||||
<div class="col-sm-2">
|
||||
<table class="table-condensed">
|
||||
{foreach from=$gpsdata item=data}
|
||||
|
||||
<tr>
|
||||
{if $data.isIgnitionOn>0}
|
||||
<td style="background-color:#115270;color: white;font-size:16pt">
|
||||
{if $data.cartyp==2}
|
||||
<center><i class="fa fa-truck" style="color:#BEBEBE"></i></center>
|
||||
{else}
|
||||
<center><i class="fa fa-car" style="color:#BEBEBE"></i></center>
|
||||
{/if}
|
||||
</td>
|
||||
<td style="background-color:#115270;color: white;font-size:14pt;width:350px" rel="stylesheet" title="{$data.strasse} - {$data.plz} {$data.ort}" id="button1">
|
||||
<center>{$data.kz}
|
||||
<td style="background-color:#115270;color: white;font-size:14pt;width:40px"
|
||||
onClick="javascript:open('?s=g_map&longitude={$data.longitude}&latitude={$data.latitude}', '_map', 'height=625,width=730,resizable=no')"
|
||||
aria-label="Settings">
|
||||
<i class="fa fa-map-marker"</i>
|
||||
</td></span>
|
||||
{else}
|
||||
<td style="color: BEBEBE;font-size:16pt">
|
||||
{if $data.cartyp==2}
|
||||
<center><i class="fa fa-truck" style="color:#BEBEBE"></i></center>
|
||||
{else}
|
||||
<center><i class="fa fa-car" style="color:#BEBEBE"></i></center>
|
||||
{/if}
|
||||
</td>
|
||||
<td style="color:#BEBEBE;font-size:14pt" rel="stylesheet" title="{$data.strasse} - {$data.plz} {$data.ort}" id="button1"><center>{$data.kz}
|
||||
<td style="color:#BEBEBE;font-size:14pt"
|
||||
onClick="javascript:open('?s=g_map&longitude={$data.longitude}&latitude={$data.latitude}', '_map', 'height=625,width=730,resizable=no')"
|
||||
aria-label="Settings">
|
||||
<i class="fa fa-map-marker"</i>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- </div> -->
|
||||
{literal}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("[rel=popover]").popover({'trigger':'hover'});
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
[rel="popover"]{
|
||||
cursor: pointer;
|
||||
display:inline-block; /* chrome-fix */
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
{/literal}
|
||||
20
template/tpl/ajax/hkal_1.tpl
Normal file
20
template/tpl/ajax/hkal_1.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!-- <div class="col-md-6"> -->
|
||||
<div id="rightmenu" class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender Heute ({$datum})</div>
|
||||
<div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
|
||||
<td nowrap style="width:25px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<!-- <td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td> -->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
20
template/tpl/ajax/hkal_2.tpl
Normal file
20
template/tpl/ajax/hkal_2.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!-- <div class="col-md-6"> -->
|
||||
<div id="rightmenu" class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender morgen ({$datum})</div>
|
||||
<div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:25px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<!-- <td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td> -->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
20
template/tpl/ajax/hkal_3.tpl
Normal file
20
template/tpl/ajax/hkal_3.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!-- <div class="col-md-6"> -->
|
||||
<div id="rightmenu" class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender ({$datum})</div>
|
||||
<div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:25px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<!-- <td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td> -->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
18
template/tpl/ajax/huau.tpl
Normal file
18
template/tpl/ajax/huau.tpl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!-- *********** Fahrzeug HU-Überprüfung / sanikasten etc-->
|
||||
{if $anzeige>0}
|
||||
<div id="rightmenu" class="panel panel-danger">
|
||||
<section class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody> {foreach from=$hudata item=hudata}
|
||||
<tr>
|
||||
<td nowrap style="width:100px;font-size:11pt">{$hudata.kz}</td>
|
||||
<td nowrap style="width:120px;font-size:11pt">HU / AU</td>
|
||||
{if $hudata.typ==1}<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'>{$hudata.hudate|date_format:"%m / %Y"}</td>{/if}
|
||||
{if $hudata.typ==2}<td nowrap style="width:100px;font-size:11pt"><span style='color:#FBAD06'>{$hudata.hudate|date_format:"%m / %Y"}</td>{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
{/if}
|
||||
10
template/tpl/ajax/i_tour.tpl
Normal file
10
template/tpl/ajax/i_tour.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{if $menge==0}
|
||||
<td nowrap style="font-size:11pt" align="left"><span style='color:#009900'>{$menge}</td>
|
||||
{else}
|
||||
<td nowrap style="font-size:11pt" align="left"><span style='color:#009900'>{$menge}</td>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
7
template/tpl/ajax/i_tour_a.tpl
Normal file
7
template/tpl/ajax/i_tour_a.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{if $fehler==0}
|
||||
<span id="i_tour_a" style="font-size: 20px;color: darkred"> Es sind noch {$nochmenge} Tour(en) in der Warteschleife zum anlegen. !!!</span>
|
||||
</br>
|
||||
<span id="i_tour_a" style="font-size: 20px;color: darkred"> aktuell wird Tour <mark>{$aktuell} für {$zeitraum}</mark> angelegt.</span>
|
||||
{else}
|
||||
<span id="i_tour_a" style="font-size: 40px;color: darkred"> Bitte die Seite neu laden !!!</span>
|
||||
{/if}
|
||||
42
template/tpl/ajax/info_ex.tpl
Normal file
42
template/tpl/ajax/info_ex.tpl
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Exxtra-MPV</h2></div>
|
||||
<div class="panel-body">
|
||||
<div><canvas id="ctx2" height="200"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Chart JS
|
||||
<script src="https://oss.maxcdn.com/chart.js/1.0.1-beta.4/Chart.min.js "></script>
|
||||
-->
|
||||
<script src="lib/js/Chart.min.js "></script>
|
||||
|
||||
<!-- Main Script -->
|
||||
<script src="lib/js/jquery-ui.min.js"></script>
|
||||
<script src="lib/js/global.js"></script>
|
||||
{literal}
|
||||
<script>
|
||||
var data = {
|
||||
labels: {/literal}{$kws}{literal},
|
||||
datasets: [
|
||||
{
|
||||
label: 'kg ges. / KW.',
|
||||
fill: false,
|
||||
borderColor: "rgba(151,187,205,1)",
|
||||
borderCapStyle: 'butt',
|
||||
pointBorderColor:"rgba(240,6,6,1.00)",
|
||||
pointBackgroundColor: "#fff",
|
||||
data: {/literal}{$data}{literal}
|
||||
}
|
||||
]
|
||||
}
|
||||
var myNewChart = new Chart(ctx2 ,{
|
||||
type: "line",
|
||||
data: data,
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
41
template/tpl/ajax/info_rs.tpl
Normal file
41
template/tpl/ajax/info_rs.tpl
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Rundschau</h2></div>
|
||||
<div class="panel-body">
|
||||
<div><canvas id="ctx1" height="200"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Chart JS
|
||||
<script src="https://oss.maxcdn.com/chart.js/1.0.1-beta.4/Chart.min.js "></script>
|
||||
-->
|
||||
<script src="lib/js/Chart.min.js "></script>
|
||||
|
||||
<!-- Main Script -->
|
||||
<script src="lib/js/jquery-ui.min.js"></script>
|
||||
<script src="lib/js/global.js"></script>
|
||||
{literal}
|
||||
<script>
|
||||
var data = {
|
||||
labels: {/literal}{$kws}{literal},
|
||||
datasets: [
|
||||
{
|
||||
label: 'kg ges. / KW.',
|
||||
fill: false,
|
||||
borderColor: "rgba(151,187,205,1)",
|
||||
borderCapStyle: 'butt',
|
||||
pointBorderColor:"rgba(240,6,6,1.00)",
|
||||
pointBackgroundColor: "#fff",
|
||||
data: {/literal}{$data}{literal}
|
||||
}
|
||||
]
|
||||
}
|
||||
var myNewChart = new Chart(ctx1 ,{
|
||||
type: "line",
|
||||
data: data,
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
43
template/tpl/ajax/info_ss.tpl
Normal file
43
template/tpl/ajax/info_ss.tpl
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Sachsen-Sonntag</h2></div>
|
||||
<div class="panel-body">
|
||||
<div><canvas id="ctx3" height="200"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Chart JS
|
||||
<script src="https://oss.maxcdn.com/chart.js/1.0.1-beta.4/Chart.min.js "></script>
|
||||
-->
|
||||
<script src="lib/js/Chart.min.js "></script>
|
||||
|
||||
<!-- Main Script -->
|
||||
<script src="lib/js/jquery-ui.min.js"></script>
|
||||
<script src="lib/js/global.js"></script>
|
||||
{literal}
|
||||
<script>
|
||||
var data = {
|
||||
labels: {/literal}{$kws}{literal},
|
||||
datasets: [
|
||||
{
|
||||
label: 'kg ges. / KW.',
|
||||
fill: false,
|
||||
borderColor: "rgba(151,187,205,1)",
|
||||
borderCapStyle: 'butt',
|
||||
pointBorderColor:"rgba(240,6,6,1.00)",
|
||||
pointBackgroundColor: "#fff",
|
||||
data: {/literal}{$data}{literal}
|
||||
}
|
||||
]
|
||||
}
|
||||
var myNewChart = new Chart(ctx3 ,{
|
||||
type: "line",
|
||||
data: data,
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
34
template/tpl/ajax/infop.tpl
Normal file
34
template/tpl/ajax/infop.tpl
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<div class="panel panel-primary">
|
||||
<div class="panel-body" style="min-height:150px;max-height:150px;overflow-y: scroll;">
|
||||
{foreach from=$infop item=infop }
|
||||
<span style='color:#FF0000;width:20px;font-size:8pt'><mark>{$infop.von}: {$infop.zeit|date_format:"%d.%m.%Y - %H:%M"} Uhr: </mark></span>
|
||||
{if $infop.wichtig>0}
|
||||
<span style='color:#FF0000'> {$infop.info}</span>
|
||||
{else}
|
||||
<span style='color:#000000'> {$infop.info}</strong>
|
||||
{/if}
|
||||
<br>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
|
||||
|
||||
<div class="panel-body" style="min-height:250px;max-height:250px;overflow-y: scroll;">
|
||||
<table class="table table-dcondensed">
|
||||
<tbody>
|
||||
{foreach from=$infop item=infop }
|
||||
<tr><H6>{$infop.von|utf8_encode}: {$infop.zeit|date_format:"%d.%m.%Y - %H:%M"} Uhr</H6></tr>
|
||||
{if $infop.wichtig>0}
|
||||
<i class="fa fa-exclamation fa-border" style="color: red;" aria-hidden="true"></i>
|
||||
<tr><strong><span style='color:#FF0000'> {$infop.info|utf8_encode}</strong></H5></tr>
|
||||
{else}
|
||||
<i class="fa fa-info fa-border" aria-hidden="true"></i>
|
||||
<tr><strong> {$infop.info|utf8_encode}</strong></H5></tr>
|
||||
{/if}
|
||||
<hr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
-->
|
||||
9
template/tpl/ajax/infos.tpl
Normal file
9
template/tpl/ajax/infos.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<div class="panel panel-primary">
|
||||
<div class="panel-body" style="min-height:150px;max-height:150px;overflow-y: scroll;">
|
||||
{foreach from=$smsnotread item=smsnotread}
|
||||
<span style='color:#FF0000;width:20px;font-size:8pt'><mark>{$smsnotread.e_name}: {$smsnotread.senddate|date_format:"%d.%m.%Y - %H:%M"} Uhr: </mark></span>
|
||||
<span style='color:#000080'> {$smsnotread.text}</span>
|
||||
<br>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
37
template/tpl/ajax/ip_status.tpl
Normal file
37
template/tpl/ajax/ip_status.tpl
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="min-height:90px;max-height:90px;overflow-y: noscroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr>
|
||||
{if $so1.time>$zeit_live2}
|
||||
<td align="center" nowrap style="width:120px;font-size:11pt"><span style='color:#009900'>{$so1.name}</td>
|
||||
{elseif $so1.time>$zeit_so}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#FF9000'>{$so1.name}</td>
|
||||
{else}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#FF0000'>{$so1.name}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
{if $so2.time>$zeit_live2}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#009900'>{$so2.name}</td>
|
||||
{elseif $so2.time>$zeit_so}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#FF9000'>{$so2.name}</td>
|
||||
{else}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#FF0000'>{$so2.name}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
{if $so3.time>$zeit_live}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#009900'>{$so3.name}</td>
|
||||
{elseif $so3.time>$zeit_online}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#FF9000'>{$so3.name}</td>
|
||||
{else}
|
||||
<td nowrap style="width:120px;font-size:11pt" align="center"><span style='color:#FF0000'>{$so3.name}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
317
template/tpl/ajax/isaso.tpl
Normal file
317
template/tpl/ajax/isaso.tpl
Normal file
|
|
@ -0,0 +1,317 @@
|
|||
<div class="panel panel-default collapsible">
|
||||
<div class="panel-heading"><h2 class="panel-title">Sachsen-Sonntag {$kw}.KW / {$jahr}</h2></div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style">
|
||||
<thead>
|
||||
<th style="width:68px;font-size:8pt" align="left">Tour</th>
|
||||
<th style="width:80px;font-size:8pt" align="right">Tour_alt</th>
|
||||
<th style="width:80px;font-size:8pt" align="left">Zeit</th>
|
||||
<th style="width:65px;font-size:8pt" align="left">Exemplare</th>
|
||||
<th style="width:65px;font-size:8pt" align="right">Rampe kg</th>
|
||||
<th style="width:65px;font-size:8pt" align="right">Tour kg</th>
|
||||
<th style="width:38px;font-size:8pt" align="right">Norm</th>
|
||||
<th style="width:80px;font-size:8pt" align="left">Pakete</th>
|
||||
<th style="width:60px;font-size:8pt" align="right">Pak-Gew.</th>
|
||||
<th style="width:80px;font-size:8pt" align="right">Car-Gewicht</th>
|
||||
<th style="width:35px;font-size:8pt" align="left">Rampe</th>
|
||||
<th style="width:12px;font-size:8pt" align="left">aktion</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$saso_tour2 item=tour}
|
||||
<tr>
|
||||
<td nowrap style="width:68px;font-size:14pt" align="left">{$tour.tname}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="right">{$tour.tour} </td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">
|
||||
<input type="text" value="{$tour.zeit}" style="width:45px;text-align:right" id="time_{$tour.id}"
|
||||
style="width:45px;" name="list[{$tour.tid}][zeit]" onChange="save_time({$tour.id})"> Uhr
|
||||
</td>
|
||||
<td nowrap style="width:65px;font-size:10pt" align="left">
|
||||
<input type="text" value="{$tour.exemplare}" style="width:45px;text-align:right"
|
||||
id="exemplare_{$tour.id}" style="width:45px;" name="list[{$tour.tid}][exemplare]" onChange="save_exemplare({$tour.id})"> St.
|
||||
</td>
|
||||
<td nowrap style="width:65px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.gewicht}" style="width:40px;text-align:right"
|
||||
id="gewicht_{$tour.id}"name="list[{$tour.tid}][gewicht]" onChange="save_gewicht({$tour.id})"> kg
|
||||
</td>
|
||||
<td nowrap style="width:65px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.gewicht4}" style="width:40px;text-align:right"
|
||||
id="gewicht4_{$tour.id}" name="list[{$tour.tid}][gewicht4]" onChange="save_gewicht4({$tour.id})"> kg
|
||||
</td>
|
||||
{if $tour.utyp>2}
|
||||
<td nowrap style="width:38px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.norm}" style="width:33px;text-align:right"
|
||||
id="norm_{$tour.id}" name="list[{$tour.tid}][norm]" onChange="save_norm({$tour.id})"></td>
|
||||
{else}
|
||||
<td nowrap style="width:38px;font-size:10pt">{$tour.norm}</strong></td>
|
||||
{/if}
|
||||
{if $tour.tourid>1000}
|
||||
<td nowrap style="width:80px;font-size:10pt" align="right">
|
||||
<input type="int" value="{$tour.pakete2}" style="width:33px;"
|
||||
id="pakete2_{$tour.id}" name="list[{$tour.tid}][norm]" onChange="save_pakete2({$tour.id})">/ {$tour.pakete} </td>
|
||||
{else}
|
||||
<td nowrap style="width:80px;font-size:10pt" align="right">{$tour.pakete2} / {$tour.pakete} </strong></td>
|
||||
{/if}
|
||||
<td nowrap style="width:60px;font-size:10pt" align="right">{$tour.gewicht2|string_format:"%.2f"} kg</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="right">{$tour.gewicht3} kg</td>
|
||||
|
||||
<td nowrap style="width:35px;font-size:10pt"><input type="int" value="{$tour.rampe}" style="width:32px;"
|
||||
id="rampe_{$tour.id}" name="list[{$tour.tid}][rampe]" onChange="save_rampe({$tour.id})"> </td>
|
||||
|
||||
<input type="hidden" name="list[{$tour.tid}][tnr]" value="{$tour.tnr}"/>
|
||||
<input type="hidden" name="list[{$tour.tid}][kw]" value="{$kw}"/>
|
||||
<input type="hidden" name="list[{$tour.tid}][jahr]" value="{$jahr}"/>
|
||||
<td><input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/><input type="hidden" name="testsave" value="{$tour.id}" ></td>
|
||||
<td>{if $tour.tourid>8000}
|
||||
<input type="image" name="delete2" value="{$tour.id}" src="template/images/icon/cross.png" onclick="return confirm('Möchten sie wirklich {$tour.tour} löschen ?')" />
|
||||
{else}
|
||||
<td> </td>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<input type="submit" name="testsave" value="Speichern" >
|
||||
</form>
|
||||
<tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
function save_exemplare(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_exemplare",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&exemplare=" + $("#exemplare_"+tourID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_time(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=time_save",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&time=" + $("#time_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_gewicht(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_gewicht",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&gewicht=" + $("#gewicht_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_gewicht4(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_gewicht4",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&gewicht4=" + $("#gewicht4_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_rampe(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_rampe",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&rampe=" + $("#rampe_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_norm(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_norm",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&norm=" + $("#norm_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_pakete2(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_pakete2",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&pakete2=" + $("#pakete2_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
19
template/tpl/ajax/kal_1.tpl
Normal file
19
template/tpl/ajax/kal_1.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender Heute ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
19
template/tpl/ajax/kal_2.tpl
Normal file
19
template/tpl/ajax/kal_2.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender morgen ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
19
template/tpl/ajax/kal_3.tpl
Normal file
19
template/tpl/ajax/kal_3.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender für den ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
19
template/tpl/ajax/kal_4.tpl
Normal file
19
template/tpl/ajax/kal_4.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender für den ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
19
template/tpl/ajax/kal_5.tpl
Normal file
19
template/tpl/ajax/kal_5.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender für den ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
19
template/tpl/ajax/kal_6.tpl
Normal file
19
template/tpl/ajax/kal_6.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender für den ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
19
template/tpl/ajax/kal_7.tpl
Normal file
19
template/tpl/ajax/kal_7.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-heading" align="left">Kalender für den ({$datum})</div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
459
template/tpl/ajax/kal_load.tpl
Normal file
459
template/tpl/ajax/kal_load.tpl
Normal file
|
|
@ -0,0 +1,459 @@
|
|||
|
||||
<!-- MA auswahl -->
|
||||
<section class="col-md-12">
|
||||
<div class="row sortable">
|
||||
<!-- Januar -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==1} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading" padding-left: 0>Jan.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.1 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Dienstag -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==2} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Feb.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.2 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<!-- <div id="MyDiv"><nobr> -->
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- März -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">März</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.3 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- März -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">April</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.4 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mai -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Mai</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.5 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- März -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Juni</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.6 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Juli -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Juli</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.7 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 8 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Aug.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.8 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 9 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Sep.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.9 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 10 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Okt.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.10 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 11 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Nov.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.11 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Dezember -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Dez.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.12 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Main Section End -->
|
||||
|
||||
<!-- Sidebar -->
|
||||
|
||||
|
||||
|
||||
<!----------------------------------------------
|
||||
<script> var jahr = '{$jahr}';</script>
|
||||
<script> var mitarbeiter = '{$maID}';</script>
|
||||
{literal}
|
||||
|
||||
<script>
|
||||
|
||||
function save_date(time,maID) {
|
||||
var remember = document.getElementById('info_'+time);
|
||||
if (remember.checked){
|
||||
var istC = 1;
|
||||
}else{
|
||||
var istC = 0;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_save&a=date_save",
|
||||
dataType: 'json',
|
||||
data: 'time=' + time + "&maID="+mitarbeiter+"&istC="+istC,
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 200,
|
||||
newest_on_top: true,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});load_free_urlaub(mitarbeiter,jahr)
|
||||
}
|
||||
load_free_urlaub(mitarbeiter,jahr);
|
||||
function load_free_urlaub(maID,jahr) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_rest_u&tpl",
|
||||
dataType: 'html',
|
||||
data: "maID=" + maID + "&jahr="+jahr,
|
||||
success: function (data) {
|
||||
$("#urlaub").html(data);
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
-->
|
||||
77
template/tpl/ajax/kal_nw.tpl
Normal file
77
template/tpl/ajax/kal_nw.tpl
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<div class="panel panel-warning" style="background-color: gray; color:#dddddd">
|
||||
<div class="panel" align="left" style="background-color: #115270">Kalender Nächste Woche</div>
|
||||
<div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Montag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum1}</td></tr>
|
||||
{foreach from=$kal1 item=kal}
|
||||
<tr>
|
||||
<!-- <td nowrap style="width:20px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td> -->
|
||||
<td nowrap style="width:20px;font-size:11pt" align="left"><i class='{$kal.icon}'></td>
|
||||
<td nowrap style="width:120px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Dienstag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum2}</td></tr>
|
||||
{foreach from=$kal2 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:11pt" align="left"><i class='{$kal.icon}'></td>
|
||||
<td nowrap style="width:120px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:120px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Mittwoch:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum3}</td></tr>
|
||||
{foreach from=$kal3 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:11pt" align="left"><i class='{$kal.icon}'></td>
|
||||
<td nowrap style="width:160px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Donnerstag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum4}</td></tr>
|
||||
{foreach from=$kal4 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:11pt" align="left"><i class='{$kal.icon}'></td>
|
||||
<td nowrap style="width:120px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Freitag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum5}</td></tr>
|
||||
{foreach from=$kal5 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:11pt" align="left"><i class='{$kal.icon}'></td>
|
||||
<td nowrap style="width:120px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Sasmstag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum6}</td></tr>
|
||||
{foreach from=$kal6 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:11pt" align="left"><i class='{$kal.icon}'></td>
|
||||
<td nowrap style="width:120px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
12
template/tpl/ajax/kal_rest_u.tpl
Normal file
12
template/tpl/ajax/kal_rest_u.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
<span>Summe {$jahr}: ges: </span>
|
||||
<span style="color: #fff">{$u_gesa}</span> Tage genommen: <span style="color: #fff">{$u_geno}</span>
|
||||
|
||||
<span>Tage Rest: </span>
|
||||
{if $anz==0}
|
||||
<span style="color: #fff">{$u_rest}</span>
|
||||
{else}
|
||||
<span style="color: red">{$u_rest}</span>
|
||||
{/if}
|
||||
<span>Tage.</span>
|
||||
|
||||
20
template/tpl/ajax/kal_ue_1.tpl
Normal file
20
template/tpl/ajax/kal_ue_1.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<div class="panel">
|
||||
<!-- <div class="col-md-6"> -->
|
||||
<div class="panel-heading" style="background-color:yellow;"><h5 class="panel-title">Kalender ({$datum})</h5></div>
|
||||
|
||||
<div class="panel-body" style="min-height:170px;max-height:170px;overflow-y: auto;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<!--<td nowrap style="width:20px;font-size:10pt" align="left"><i class='{$kal.fa}' aria-hidden="true"></i></td> -->
|
||||
<td nowrap style="width:120px;font-size:9pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:9pt" align="right">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
20
template/tpl/ajax/kal_ue_2.tpl
Normal file
20
template/tpl/ajax/kal_ue_2.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!-- <div class="col-md-6"> -->
|
||||
<div id="rightmenu" class="panel panel-warning">
|
||||
<!-- <div class="panel-heading" align="left">Kalender morgen ({$datum})</div> -->
|
||||
<div class="panel-body" style="min-height:264px;max-height:264px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}"></i></td> -->
|
||||
<td nowrap style="width:25px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<!-- <td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td> -->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
76
template/tpl/ajax/kal_ue_nw.tpl
Normal file
76
template/tpl/ajax/kal_ue_nw.tpl
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<div class="panel">
|
||||
<div class="panel-heading" align="left">Kalender Nächste Woche</div>
|
||||
<div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Montag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum1}</td></tr>
|
||||
{foreach from=$kal1 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:120px;font-size:10pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Dienstag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum2}</td></tr>
|
||||
{foreach from=$kal2 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:120px;font-size:10pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Mittwoch:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum3}</td></tr>
|
||||
{foreach from=$kal3 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:120px;font-size:10pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Donnerstag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum4}</td></tr>
|
||||
{foreach from=$kal4 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:120px;font-size:10pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Freitag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum5}</td></tr>
|
||||
{foreach from=$kal5 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:120px;font-size:10pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr><td nowrap style="width:20px;font-size:9pt" align="left"></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><strong><span style='color:#af0000'>Nächster Sasmstag:</strong></td>
|
||||
<td nowrap style="width:35px;font-size:9pt" align="left"><mark><span style='color:#af0000'><span style='color:#104e8b'>{$datum6}</td></tr>
|
||||
{foreach from=$kal6 item=kal}
|
||||
<tr>
|
||||
<td nowrap style="width:20px;font-size:10pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:120px;font-size:10pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:80px;font-size:10pt" align="left">{$kal.bez}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
459
template/tpl/ajax/kal_urlaub.tpl
Normal file
459
template/tpl/ajax/kal_urlaub.tpl
Normal file
|
|
@ -0,0 +1,459 @@
|
|||
|
||||
<!-- MA auswahl -->
|
||||
<section class="col-md-12">
|
||||
<div class="row sortable">
|
||||
<!-- Januar -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==1} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading" padding-left: 0>Jan.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.1 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Dienstag -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==2} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Feb.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.2 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<!-- <div id="MyDiv"><nobr> -->
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- März -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">März</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.3 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- März -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">April</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.4 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mai -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Mai</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.5 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- März -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Juni</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.6 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Juli -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Juli</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.7 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 8 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Aug.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.8 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 9 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Sep.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.9 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 10 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Okt.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.10 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 11 -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Nov.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.11 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Dezember -->
|
||||
<div class="col-md-1">
|
||||
{if $heute==3} <div class="panel panel-warning"> {else} <div class="panel panel-primary"> {/if}
|
||||
<div class="panel-heading">Dez.</div>
|
||||
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
|
||||
<table class="no style">
|
||||
<tbody>
|
||||
<form action="" method="post">
|
||||
{foreach from=$kdata.12 item=test}
|
||||
<tr>
|
||||
<!-- ------------------ -->
|
||||
<td {if $test.ft==1}bgcolor="#AEAEAE" {/if}
|
||||
{if $test.ft==2}bgcolor="#F8BE7D" {/if}
|
||||
style="line-height:6px;font-size:10pt">
|
||||
<label>
|
||||
<input type="checkbox" value="{$test.time}" id="info_{$test.time}" onChange="save_date({$test.time},{$maid})"
|
||||
{if $test.ok!=0}checked="checked" {/if}
|
||||
{if $test.ft==1} disabled {/if}
|
||||
{if $test.ft==2} disabled {/if} >
|
||||
{$test.time|date_format:"%d"}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Main Section End -->
|
||||
|
||||
<!-- Sidebar -->
|
||||
|
||||
|
||||
|
||||
<!----------------------------------------------
|
||||
<script> var jahr = '{$jahr}';</script>
|
||||
<script> var mitarbeiter = '{$maID}';</script>
|
||||
{literal}
|
||||
|
||||
<script>
|
||||
|
||||
function save_date(time,maID) {
|
||||
var remember = document.getElementById('info_'+time);
|
||||
if (remember.checked){
|
||||
var istC = 1;
|
||||
}else{
|
||||
var istC = 0;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_save&a=date_save",
|
||||
dataType: 'json',
|
||||
data: 'time=' + time + "&maID="+mitarbeiter+"&istC="+istC,
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 200,
|
||||
newest_on_top: true,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log(data)
|
||||
}
|
||||
});load_free_urlaub(mitarbeiter,jahr)
|
||||
}
|
||||
load_free_urlaub(mitarbeiter,jahr);
|
||||
function load_free_urlaub(maID,jahr) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_rest_u&tpl",
|
||||
dataType: 'html',
|
||||
data: "maID=" + maID + "&jahr="+jahr,
|
||||
success: function (data) {
|
||||
$("#urlaub").html(data);
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
-->
|
||||
267
template/tpl/ajax/l_summe.tpl
Normal file
267
template/tpl/ajax/l_summe.tpl
Normal file
|
|
@ -0,0 +1,267 @@
|
|||
<div style="color: #fff" id="lgesamt">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3"><span style="color: #fff;font-size: 10px"><i class="fas fa-times fa-2x"></i></span></div>
|
||||
<div class="col-md-3"><span style="color: #fff;font-size: 10px"><i class="fas fa-clock fa-2x"></i></span></div>
|
||||
<div class="col-md-3"><span style="color: #fff;font-size: 10px"><i class="fas fa-moon fa-2x"></i> 25</span></div>
|
||||
<div class="col-md-3"><span style="color: #fff;font-size: 10px"><i class="fas fa-moon fa-2x"></i> 40</span></div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3" style="color: #fff;font-size: 14px">
|
||||
<p style="color:#fff;background-color:#115270"></p>
|
||||
<div class="col-md-3"><span>SOLL</span></div>
|
||||
<div class="col-md-3"><span>{$ld.soll_h}</span></div>
|
||||
<div class="col-md-3"><span>{$ld.soll_n1}</span></div>
|
||||
<div class="col-md-3"><span>{$ld.soll_n2}</span></div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3" style="color: #fff;font-size: 14px">
|
||||
<div class="col-md-3"><span>IST</span></div>
|
||||
<div class="col-md-3">{if $ld.w1==1}<span style="color: red">{$ld.ist_h} </span>{else}<span>{$ld.ist_h}</span>{/if}</div>
|
||||
<div class="col-md-3">{if $ld.w2==1}<span style="color: red">{$ld.ist_n1}</span>{else}<span>{$ld.ist_n1}</span>{/if}</div>
|
||||
<div class="col-md-3">{if $ld.w3==1}<span style="color: red">{$ld.ist_n2}</span>{else}<span>{$ld.ist_n2}</span>{/if}</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3" style="color: #fff;font-size: 14px">
|
||||
<div class="col-md-3"><span>CALC</span></div>
|
||||
<div class="col-md-3" style="color: #dcdcdc"><input type="text" value="{$ld.calc_h}" id="calc_h_{$ma_id}" onChange="save_calc_h({$ma_id})"
|
||||
style="width:40px;height:22px;background-color:#333333;border:none;border-bottom: 1px solid #000"></div>
|
||||
|
||||
<div class="col-md-3" style="color: #dcdcdc"><input type="text" value="{$ld.calc_n1}" id="calc_n1_{$ma_id}" onChange="save_calc_n1({$ma_id})"
|
||||
style="width:40px;height:22px;background-color:#333333;border:none;border-bottom: 1px solid #000"></div>
|
||||
|
||||
<div class="col-md-3" style="color: #dcdcdc"><input type="text" value="{$ld.calc_n2}" id="calc_n2_{$ma_id}" onChange="save_calc_n2({$ma_id})"
|
||||
style="width:40px;height:22px;background-color:#333333;border:none;border-bottom: 1px solid #000"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3" style="color: #fff;font-size: 14px">
|
||||
<div class="col-md-3"><span>Zusatz</i></span></div>
|
||||
<div class="col-md-3"><span style="color: orange">{$ld.zusatz_h}</span></div>
|
||||
<div class="col-md-3"><span style="color: orange">{$ld.zusatz_n1}</span></div>
|
||||
<div class="col-md-3"><span style="color: orange">{$ld.zusatz_n2}</span></div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3" style="color: #fff;font-size: 14px">
|
||||
<div class="col-md-3"><span>Summe</i></span></div>
|
||||
<div class="col-md-3"><span style="color: deepskyblue">{$ld.summe_h}</span></div>
|
||||
<div class="col-md-3"><span style="color: deepskyblue">{$ld.summe_n1}</span></div>
|
||||
<div class="col-md-3"><span style="color: deepskyblue">{$ld.summe_n2}</span></div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3" style="color: #fff;font-size: 14px">
|
||||
<p style="color:#fff;background-color:#115270">Steuerlich Berechnung</p>
|
||||
<div class="panel panel-tbox">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr style="border-bottom: 1px solid gray;">
|
||||
<td width="50%" align="left">Bruttolohn: </td>
|
||||
<td width="50%" align="right">{$ld.brutto} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">Kirchensteuer: </td>
|
||||
<td width="50%" align="right">-{$ld.ksteuer} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">Soli-Zuschlag: </td>
|
||||
<td width="50%" align="right">-0 €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">Lohnsteuer: </td>
|
||||
<td width="50%" align="right">-{$ld.lsteuer} €</td>
|
||||
</tr>
|
||||
<tr style="border-top: 1px solid gray;">
|
||||
<td width="50%" align="left">Zwichensumme: </td>
|
||||
<td width="50%" align="right">{$ld.netto_zs} €</td>
|
||||
</tr>
|
||||
<tr style="border-top: 1px solid gray;">
|
||||
<td width="50%" align="left">Rentenvers. : </td>
|
||||
<td width="50%" align="right">-{$ld.rv} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">Arbeitslosenvers.: </td>
|
||||
<td width="50%" align="right">-{$ld.al} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">Pflegeversicherung: </td>
|
||||
<td width="50%" align="right">-{$ld.pv} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">Kinderlos: </td>
|
||||
<td width="50%" align="right">-{$ld.kl} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">KV +{$ld.kz}%: </td>
|
||||
<td width="50%" align="right">-{$ld.kv} €</td>
|
||||
</tr>
|
||||
<tr style="border-top: 1px solid gray;color:cornflowerblue">
|
||||
<td width="50%" align="left">Nettobetrag: </td>
|
||||
<td width="50%" align="right">{$ld.netto} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">N.zuschläge 25%</td>
|
||||
<td width="50%" align="right">{$ld.nz1} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="left">N.zuschläge 40%</td>
|
||||
<td width="50%" align="right">{$ld.nz2} €</td>
|
||||
</tr>
|
||||
<tr style="border-top: 1px solid gray;color:green">
|
||||
<td width="50%" align="left">Nettobetrag: </td>
|
||||
<td width="50%" align="right">{$ld.netto_ges} €</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script> var maID = '{$ma_id}'; </script>
|
||||
<script> var monat = '{$monat}';</script>
|
||||
<script> var jahr = '{$jahr}';</script>
|
||||
{literal}
|
||||
<script>
|
||||
function save_calc_h(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohn_save&a=save_calc_h",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&calc_h=" + $("#calc_h_"+maID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
console.log(data)
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'success',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
lgesamt(maID,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function save_calc_n1(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohn_save&a=save_calc_n1",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&calc_n1=" + $("#calc_n1_"+maID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
console.log(data)
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'success',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
lgesamt(maID,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
function save_calc_n2(maID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=lohn_save&a=save_calc_n2",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + "&calc_n2=" + $("#calc_n2_"+maID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
console.log(data)
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'success',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
lgesamt(maID,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
7
template/tpl/ajax/last_week.tpl
Normal file
7
template/tpl/ajax/last_week.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<table class="no-style full">
|
||||
<tbody> {foreach from=$lw item=lw }
|
||||
<td nowrap style= "width:90px;height:10px;font-size:10pt"> {$lw.tour}</td>
|
||||
<td nowrap style="width:170px;height:10px;font-size:10pt"> {$lw.fahrer}</td>
|
||||
<td nowrap style="width:100px;height:10px;font-size:10pt"> {$lw.kennz}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
7
template/tpl/ajax/last_week_11.tpl
Normal file
7
template/tpl/ajax/last_week_11.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<table class="no-style full">
|
||||
<tbody> {foreach from=$lw item=lw}
|
||||
<td nowrap style= "width:90px;height:10px;font-size:10pt" align="left"> {$lw.tour}</td>
|
||||
<td nowrap style="width:170px;height:10px;font-size:10pt" align="left"> {$lw.fahrer}</td>
|
||||
<td nowrap style="width:100px;height:10px;font-size:10pt" align="left"> {$lw.kennz}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
7
template/tpl/ajax/last_week_7.tpl
Normal file
7
template/tpl/ajax/last_week_7.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<table class="no-style full">
|
||||
<tbody> {foreach from=$lw item=lw}
|
||||
<td nowrap style= "width:90px;height:10px;font-size:10pt" align="left"> {$lw.tour}</td>
|
||||
<td nowrap style="width:170px;height:10px;font-size:10pt" align="left"> {$lw.fahrer}</td>
|
||||
<td nowrap style="width:100px;height:10px;font-size:10pt" align="left"> {$lw.kennz}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
7
template/tpl/ajax/last_week_8.tpl
Normal file
7
template/tpl/ajax/last_week_8.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<table class="no-style full">
|
||||
<tbody> {foreach from=$lw item=lw}
|
||||
<td nowrap style= "width:90px;height:10px;font-size:10pt" align="left"> {$lw.tour}</td>
|
||||
<td nowrap style="width:170px;height:10px;font-size:10pt" align="left"> {$lw.fahrer}</td>
|
||||
<td nowrap style="width:100px;height:10px;font-size:10pt" align="left"> {$lw.kennz}</td>
|
||||
</tbody> {/foreach}
|
||||
</table>
|
||||
26
template/tpl/ajax/login_edv.tpl
Normal file
26
template/tpl/ajax/login_edv.tpl
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<div style="background-color: gray;color: #115270">
|
||||
<i class="fas fa-sign-in fa-7x fa-pull-left"></i>
|
||||
{if $mao.session_update>$zeit_live} <table class="no-style full" style="background-color: gray;color: #41c42b;font-size:11pt">
|
||||
{elseif $mao.session_update>$zeit_online} <table class="no-style full" style="background-color: gray;color: #FF9000;font-size:11pt">
|
||||
{else} <table class="no-style full" style="background-color: gray;color: #dddddd;font-size:11pt">
|
||||
{/if}
|
||||
<table class="no-style full" style="background-color: gray;color: #dddddd;font-size:11pt">
|
||||
{foreach from=$abfrage_monline item=mao }
|
||||
<tr>
|
||||
{if $mao.session_update>$zeit_live}
|
||||
<td nowrap style="width:160px;color: #41c42b">{$mao.name}</td>
|
||||
<td nowrap style="width:170px;color: #41c42b" align="right">{$mao.session_update|date_format:"%d.%m.%y - %H:%M Uhr"}</td>
|
||||
{elseif $mao.session_update>$zeit_online}
|
||||
<td nowrap style="width:160px;color: #FF9000">{$mao.name}</td>
|
||||
<td nowrap style="width:170px;color: #FF9000" align="right">{$mao.session_update|date_format:"%d.%m.%y - %H:%M Uhr"}</td>
|
||||
{else}
|
||||
|
||||
<td nowrap style="width:160px">{$mao.name}</td>
|
||||
<td nowrap style="width:170px" align="right">{$mao.session_update|date_format:"%d.%m.%y - %H:%M Uhr"}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
42
template/tpl/ajax/lohnausfall.tpl
Normal file
42
template/tpl/ajax/lohnausfall.tpl
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<div class="panel panel-warning">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">Grundlohn: </td>
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">{$grundlohn} €</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
{foreach from=$kal item=kal }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
|
||||
<td nowrap style="width:35px;font-size:11pt" align="left"><img src="/template/images/icon/{$kal.icon}" width="16" height="16"/></td>
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$kal.fahrer}</td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$kal.bez}</td>
|
||||
<td nowrap style="width:350px;font-size:11pt" align="left">{$kal.info}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
{foreach from=$temp8 item=temp8 }
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
|
||||
<td nowrap style="width:170px;font-size:11pt" align="left">{$temp8.a} </td>
|
||||
<td nowrap style="width:130px;font-size:11pt" align="left">{$temp8.b}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr>
|
||||
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">Grundlohn: </td>
|
||||
<td nowrap style="width:100px;font-size:11pt" align="left">{$grundlohn} €</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
21
template/tpl/ajax/m1.tpl
Normal file
21
template/tpl/ajax/m1.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-moon fa-2x"></i> <span></br>Nachts</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-moon fa-2x" style="color: red"></i> <span></br>Nachts</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-moon fa-2x" style="color: orange"></i> <span></br>Nachts</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-moon fa-2x" style="color:#41c42b"></i> <span></br>Nachts</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-moon fa-2x" style="color: cornflowerblue"></i> <span></br>Nachts</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
16
template/tpl/ajax/m16.tpl
Normal file
16
template/tpl/ajax/m16.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-envelope fa-2x"></i> <span></br>LVZ-P.RT</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-envelope fa-2x" style="color: red"></i> <span></br>LVZ-P.RT</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-envelope fa-2x" style="color: orange"></i> <span></br>LVZ-P.RT</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-envelope fa-2x" style="color:#41c42b"></i> <span></br>LVZ-P.RT</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-envelope fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ-P.RT</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
22
template/tpl/ajax/m17.tpl
Normal file
22
template/tpl/ajax/m17.tpl
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-newspaper fa-2x"></i> <span></br>LVZ-ZS</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: red"></i> <span></br>LVZ-ZS</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: orange"></i> <span></br>LVZ-ZS</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-newspaper fa-2x" style="color:#41c42b"></i> <span></br>LVZ-ZS</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ-ZS</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
21
template/tpl/ajax/m19.tpl
Normal file
21
template/tpl/ajax/m19.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fab fa-adversal fa-2x"> </i> <span></br>Werbung</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fab fa-adversal fa-2x" style="color: red"></i> <span></br>Werbung</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fab fa-adversal fa-2x" style="color: orange"></i> <span></br>Werbung</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fab fa-adversal fa-2x" style="color:#41c42b"></i> <span></br>Werbung</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fab fa-adversal fa-2x" style="color: cornflowerblue"></i> <span></br>Werbung</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
21
template/tpl/ajax/m1i.tpl
Normal file
21
template/tpl/ajax/m1i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-newspaper fa-2x"></i> <span></br>GV-Ost</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: red"></i> <span></br>GV-Ost</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: orange"></i> <span></br>GV-Ost</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: green"></i> <span></br>GV-Ost</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: cornflowerblue"></i> <span></br>GV-Ost</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
15
template/tpl/ajax/m2.tpl
Normal file
15
template/tpl/ajax/m2.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-sun fa-2x"></i> <span></br>Tag´s</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-sun fa-2x" style="color: red"></i> <span></br>Tag´s</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-sun fa-2x" style="color: orange"></i> <span></br>Tag´s</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-sun fa-2x" style="color:#41c42b"></i> <span></br>Tag´s</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-sun fa-2x" style="color: cornflowerblue"></i> <span></br>Tag´s</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
17
template/tpl/ajax/m22.tpl
Normal file
17
template/tpl/ajax/m22.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-toilet-paper fa-2x"></i> <span></br>CWS</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-toilet-paper fa-2x" style="color: red"></i> <span></br>CWS</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-toilet-paper fa-2x" style="color: orange"></i> <span></br>CWS</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-toilet-paper fa-2x" style="color:#41c42b"></i> <span></br>CWS</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-toilet-paper fa-2x" style="color: cornflowerblue"></i> <span></br>CWS</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
21
template/tpl/ajax/m2i.tpl
Normal file
21
template/tpl/ajax/m2i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-newspaper fa-2x"></i> <span></br>LVZ</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: red"></i> <span></br>LVZ</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: orange"></i> <span></br>LVZ</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: green"></i> <span></br>LVZ</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
15
template/tpl/ajax/m3.tpl
Normal file
15
template/tpl/ajax/m3.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-newspaper fa-2x"></i> <span></br>GV-Ost</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: red"></i> <span></br>GV-Ost</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: orange"></i> <span></br>GV-Ost</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-newspaper fa-2x" style="color:#41c42b"></i> <span></br>GV-Ost</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: cornflowerblue"></i> <span></br>GV-Ost</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
21
template/tpl/ajax/m3i.tpl
Normal file
21
template/tpl/ajax/m3i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-newspaper fa-2x"></i> <span></br>LVZ-ZS</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: red"></i> <span></br>LVZ-ZS</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: orange"></i> <span></br>LVZ-ZS</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: green"></i> <span></br>LVZ-ZS</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ-ZS</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
21
template/tpl/ajax/m4.tpl
Normal file
21
template/tpl/ajax/m4.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-newspaper fa-2x"></i> <span></br>LVZ</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: red"></i> <span></br>LVZ</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: orange"></i> <span></br>LVZ</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-newspaper fa-2x" style="color:#41c42b"></i> <span></br>LVZ</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-newspaper fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
21
template/tpl/ajax/m4i.tpl
Normal file
21
template/tpl/ajax/m4i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-envelope fa-2x"></i> <span></br>LVZ-Post</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-envelope fa-2x" style="color: red"></i> <span></br>LVZ-Post</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-envelope fa-2x" style="color: orange"></i> <span></br>LVZ-Post</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-envelope fa-2x" style="color: green"></i> <span></br>LVZ-Post</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-envelope fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ-Post</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
15
template/tpl/ajax/m5.tpl
Normal file
15
template/tpl/ajax/m5.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-envelope fa-2x"></i> <span></br>LVZ-Post</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-envelope fa-2x" style="color: red"></i> <span></br>LVZ-Post</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-envelope fa-2x" style="color: orange"></i> <span></br>LVZ-Post</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-envelope fa-2x" style="color:#41c42b"></i> <span></br>LVZ-Post</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-envelope fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ-Post</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
21
template/tpl/ajax/m5i.tpl
Normal file
21
template/tpl/ajax/m5i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-route fa-2x"> </i> <span></br>Sonder</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-route fa-2x" style="color: red"></i> <span></br>Sonder</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-route fa-2x" style="color: orange"></i> <span></br>Sonder</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-route fa-2x" style="color: green"></i> <span></br>Sonder</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-route fa-2x" style="color: cornflowerblue"></i> <span></br>Sonder</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
17
template/tpl/ajax/m6.tpl
Normal file
17
template/tpl/ajax/m6.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-envelope fa-2x"></i> <span></br>LVZ-P.RT</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-envelope fa-2x" style="color: red"></i> <span></br>LVZ-P.RT</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-envelope fa-2x" style="color: orange"></i> <span></br>LVZ-P.RT</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-envelope fa-2x" style="color:#41c42b"></i> <span></br>LVZ-P.RT</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-envelope fa-2x" style="color: cornflowerblue"></i> <span></br>LVZ-P.RT</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
21
template/tpl/ajax/m6i.tpl
Normal file
21
template/tpl/ajax/m6i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fab fa-adversal fa-2x"> </i> <span></br>Werbung</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fab fa-adversal fa-2x" style="color: red"></i> <span></br>Werbung</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fab fa-adversal fa-2x" style="color: orange"></i> <span></br>Werbung</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fab fa-adversal fa-2x" style="color: green"></i> <span></br>Werbung</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fab fa-adversal fa-2x" style="color: cornflowerblue"></i> <span></br>Werbung</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
21
template/tpl/ajax/m7i.tpl
Normal file
21
template/tpl/ajax/m7i.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fab fa-adversal fa-2x"> </i> <span></br>Werbung</span> <span class="label label-default">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fab fa-adversal fa-2x" style="color: red"></i> <span></br>Werbung</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fab fa-adversal fa-2x" style="color: orange"></i> <span></br>Werbung</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fab fa-adversal fa-2x" style="color: green"></i> <span></br>Werbung</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fab fa-adversal fa-2x" style="color: cornflowerblue"></i> <span></br>Werbung</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
21
template/tpl/ajax/m99.tpl
Normal file
21
template/tpl/ajax/m99.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{if $butten==0}
|
||||
<i class="fal fa-route fa-2x"> </i> <span></br>Sonder</span>
|
||||
{/if}
|
||||
{if $butten==1}
|
||||
<i class="fal fa-route fa-2x" style="color: red"></i> <span></br>Sonder</span> <span class="label label-danger">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==2}
|
||||
<i class="fal fa-route fa-2x" style="color: orange"></i> <span></br>Sonder</span> <span class="label label-warning">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==3}
|
||||
<i class="fal fa-route fa-2x" style="color:#41c42b"></i> <span></br>Sonder</span> <span class="label label-success">{$menge}</span>
|
||||
{/if}
|
||||
{if $butten==4}
|
||||
<i class="fal fa-route fa-2x" style="color: cornflowerblue"></i> <span></br>Sonder</span> <span class="label label-info">{$menge}</span>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
16
template/tpl/ajax/ma_auswahl.tpl
Normal file
16
template/tpl/ajax/ma_auswahl.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<td nowrap style="width:165px;font-size:10pt;">
|
||||
<select name="Fahrer[{$tour.id}]" id="user_{$tour.id}"
|
||||
{if $fahrer_id==0} style="width:155px;border:none;border-bottom: 4px solid #FF2222;"
|
||||
{elseif $fahrer_ok==0} style="width:155px;border:none;border-bottom: 4px solid #FF2222;"
|
||||
{elseif $fahrer_ok==2} style="width:155px;border:none;border-bottom: 4px solid #FF9900;"
|
||||
{elseif $fahrer_ok==3} style="width:155px;border:none;border-bottom: 4px solid #99FF00;"
|
||||
|
||||
{else} style="width:155px;border:none;border-bottom: 1px solid #dcdcdc;"
|
||||
{/if}
|
||||
onChange="save_user({$id})">
|
||||
{foreach from=$tempma item=allfahrer}
|
||||
{html_options values=$allfahrer.id output=$allfahrer.name selected=$fahrer_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
|
||||
400
template/tpl/ajax/ma_edit.tpl
Normal file
400
template/tpl/ajax/ma_edit.tpl
Normal file
|
|
@ -0,0 +1,400 @@
|
|||
<div class="name"> <span> {$ma.name} {$ma.name2} </span><span style="font-size: 12px"><i class="far fa-id-card-alt"></i> {$ma.id} </span></div>
|
||||
</br>
|
||||
|
||||
|
||||
<div class="ma1">
|
||||
<i class="fad fa-address-card fa-6x fa-pull-left" style="width:110px"></i>
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="130px" nowrap="nowrap">Name:</td>
|
||||
<td width="290px"><input type="text" id="data_1" value="{$ma.name}" style="width:290px" onChange="save_ma({$ma.id},1)"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Strasse:</td>
|
||||
<td><input type="text" name="strasse" id="data_2" value="{$ma.strasse}" style="width:290px" onChange="save_ma({$ma.id},2)"/></td></tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Zusatz:</td>
|
||||
<td><input type="text" name="azusatz" id="data_3" value="{$ma.azusatz}" style="width:290px" onChange="save_ma({$ma.id},3)"></td></tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">PLZ Ort:</td>
|
||||
<td><input type="text" name="plz" value="{$ma.plz}" id="data_4" style="width:55px" onChange="save_ma({$ma.id},4)">
|
||||
<input type="text" name="ort" value="{$ma.ort}" id="data_5" style="width:225px" onChange="save_ma({$ma.id},5)"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px" nowrap="nowrap">Geburtstag:</td>
|
||||
<td><input type="number" name="tag" id="data_6" value="{$ma.gebtag|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},6)">
|
||||
<input type="number" name="monat" id="data_7" value="{$ma.gebmonat|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},7)">
|
||||
<input type="number" name="jahr" id="data_8" value="{$ma.gebjahr}" style="width:80px" onChange="save_ma({$ma.id},8)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Geburtsort:</td>
|
||||
<td><input type="text" name="gebort" id="data_9" value="{$ma.gebort}" style="width:290px" onChange="save_ma({$ma.id},9)"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Geburtsname:</td>
|
||||
<td><input type="text" name="gebname" id="data_10" value="{$ma.gebname}" style="width:290px" onChange="save_ma({$ma.id},10)"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Nationalität:</td>
|
||||
<td><input type="text" name="staata" id="data_11" value="{$ma.staata}" style="width:290px" onChange="save_ma({$ma.id},11)"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">BPA-Nummer::</td>
|
||||
<td><input type="text" name="bpa" id="data_12" value="{$ma.bpa}" style="width:290px" onChange="save_ma({$ma.id},12)"></td>
|
||||
</tr>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
</br>
|
||||
<div class="ma1">
|
||||
<i class="fad fa-phone-office fa-6x fa-pull-left" style="width:110px"></i>
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Mail:</td>
|
||||
<td width="290px"><input type="text" name="mail" value="{$ma.mail}" style="width:220px" id="data_26" onChange="save_ma({$ma.id},26)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Handy:</td>
|
||||
<td width="290px"><input type="text" name="handy" value="{$ma.handy}" style="width:220px" id="data_27" onChange="save_ma({$ma.id},27)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Tel2:</td>
|
||||
<td width="290px"><input type="text" name="tel2" value="{$ma.tel2}" style="width:220px" id="data_28" onChange="save_ma({$ma.id},28)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Festnetz:</td>
|
||||
<td width="290px"><input type="text" name="festnetz" value="{$ma.festnetz}" style="width:220px" id="data_29" onChange="save_ma({$ma.id},29)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>No SMS</td><td>
|
||||
{if $ma.nosms==1}
|
||||
<input type="checkbox" name="nosms" id="nosms" checked="checked" onChange="save_ma({$ma.id},56)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="nosms" id="nosms" onChange="save_ma({$ma.id},57)"/>
|
||||
{/if}
|
||||
</tr>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
</br>
|
||||
<div class="ma1">
|
||||
<i class="fad fa-user-friends fa-6x fa-pull-left" style="width:110px"></i>
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tbody>
|
||||
<tr><td width="130px" nowrap="nowrap">Familienstand:</td>
|
||||
<td width="290px"><input type="text" name="famstand" id="data_13" value="{$ma.famstand}" style="width:290px" onChange="save_ma({$ma.id},13)"/></span>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap="nowrap">Kinder / Freibetrag:</td>
|
||||
<td><input type="text" name="kinder" value="{$ma.kinder}" style="width:55px" id="data_14" onChange="save_ma({$ma.id},14)"/>
|
||||
<input type="text" name="kinderfb" value="{$ma.kinderfb}" style="width:220px" id="data_15" onChange="save_ma({$ma.id},15)"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td>Steuer.ID-Nr.:</td>
|
||||
<td><input type="text" name="steuerid" value="{$ma.steuerid}" style="width:290px" id="data_16" onChange="save_ma({$ma.id},16)"/></td>
|
||||
</tr>
|
||||
<tr><td>Steuerklasse:</td>
|
||||
<td><input type="text" name="steuerkl" value="{$ma.steuerkl}" style="width:290px" id="data_17" onChange="save_ma({$ma.id},17)"/></td>
|
||||
</tr>
|
||||
<tr><td>Sozialvers.-Nr.</td>
|
||||
<td><input type="text" name="svnummer" value="{$ma.svnummer}" style="width:290px" id="data_18" onChange="save_ma({$ma.id},18)"/></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rentner</td>
|
||||
<td>
|
||||
{if $ma.rentner==1}
|
||||
<input type="checkbox" name="rentner" id="rentner" checked="checked" onChange="save_ma({$ma.id},30)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="rentner" id="rentner" onChange="save_ma({$ma.id},31)"/>
|
||||
{/if}
|
||||
<input type="text" name="rentnerinfo" value="{$ma.rentnerinfo}" style="width:220px" id="data_32" onChange="save_ma({$ma.id},32)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>schwerbehindert</td><td>
|
||||
{if $ma.sbehind==1}
|
||||
<input type="checkbox" name="sbehind" id="sbehind" checked="checked" onChange="save_ma({$ma.id},33)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="sbehind" id="sbehind" onChange="save_ma({$ma.id},34)"/>
|
||||
{/if}
|
||||
<input type="text" name="sbehind2" value="{$ma.sbehind2}" style="width:50px" id="data_19" onChange="save_ma({$ma.id},19)"/> %</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Student</td><td>
|
||||
{if $ma.student==1}
|
||||
<input type="checkbox" name="student" id="student" checked="checked" onChange="save_ma({$ma.id},35)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="student" id="student" onChange="save_ma({$ma.id},36)"/>
|
||||
{/if}
|
||||
<input type="text" name="studentinfo" value="{$ma.studentinfo}" style="width:120px" id="data_20" onChange="save_ma({$ma.id},20)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Selbständig</td><td>
|
||||
{if $ma.lohnabr==1}
|
||||
<input type="checkbox" name="lohnabr" id="lohnabr" checked="checked" onChange="save_ma({$ma.id},52)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="lohnabr" id="lohnabr" onChange="save_ma({$ma.id},53)"/>
|
||||
{/if}
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Zeitzugang</td><td>
|
||||
{if $ma.zeitzugang==1}
|
||||
<input type="checkbox" name="zeitzugang" id="zeitzugang" checked="checked" onChange="save_ma({$ma.id},58)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="zeitzugang" id="zeitzugang" onChange="save_ma({$ma.id},59)"/>
|
||||
{/if}
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Konfessionen:</td>
|
||||
<td width="250px">
|
||||
<select name="kotyp" id="data_51" onChange="save_ma({$ma.id},51)" style="width:50px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
|
||||
{foreach from=$kotyp item=ko_typ}
|
||||
{html_options values=$ko_typ.id output=$ko_typ.abk selected=$ma.konfessionen}
|
||||
{/foreach}
|
||||
</select> {$koinfo}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Mitarbeiter-Typ:</td>
|
||||
<td width="290px">
|
||||
<select name="typ" id="data_49" onChange="save_ma({$ma.id},49)" style="width:190px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
|
||||
{foreach from=$matyp item=ma_typ}
|
||||
{html_options values=$ma_typ.id output=$ma_typ.bezeichnung selected=$ma.typ}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Tarif-Typ:</td>
|
||||
<td width="290px">
|
||||
<select name="ttyp" id="data_60" onChange="save_ma({$ma.id},60)" style="width:190px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
|
||||
{foreach from=$mattyp item=t_typ}
|
||||
{html_options values=$t_typ.id output=$t_typ.bezeichnung selected=$t.typ}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Urlaubstage /Jahr:</td>
|
||||
<td width="290px"><input type="text" name="urlaubprojahr" value="{$ma.urlaubprojahr}" style="width:220px" id="data_50" onChange="save_ma({$ma.id},50)"/></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
</br>
|
||||
<div class="ma1">
|
||||
<i class="fad fa-money-check-edit-alt fa-6x fa-pull-left" style="width:110px"></i>
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Bankname:</td>
|
||||
<td width="290px"><input type="text" name="bankname" value="{$ma.bankname}" style="width:220px" id="data_21" onChange="save_ma({$ma.id},21)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Kontoinhaber:</td>
|
||||
<td><input type="text" name="kontoinh" value="{$ma.kontoinh}" style="width:220px" id="data_22" onChange="save_ma({$ma.id},22)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">IBAN:</td>
|
||||
<td><input type="text" name="iban" value="{$ma.iban}" style="width:220px" id="data_23" autocomplete onChange="save_ma({$ma.id},23)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">BIC:</td>
|
||||
<td><input type="text" name="BIC" value="{$ma.BIC}" style="width:220px" id="data_24" onChange="save_ma({$ma.id},24)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">Bankinfo:</td>
|
||||
<td><input type="text" name="bankinfo" value="{$ma.bankinfo}" style="width:220px" id="data_25" onChange="save_ma({$ma.id},25)"/></td>
|
||||
</tr>
|
||||
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</br>
|
||||
|
||||
<div class="ma1">
|
||||
<i class="fad fa-calendar-alt fa-6x fa-pull-left" style="width:110px"></i>
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Eintrittstag:</td>
|
||||
<td><input type="number" name="eintag" id="data_37" value="{$ma.eintag|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},37)">
|
||||
<input type="number" name="einmonat" id="data_38" value="{$ma.einmonat|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},38)">
|
||||
<input type="number" name="einjahr" id="data_39" value="{$ma.einjahr|string_format:"%04d"}" style="width:80px" onChange="save_ma({$ma.id},39)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Austrittstag:</td>
|
||||
<td><input type="number" name="austag" id="data_40" value="{$ma.austag|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},40)">
|
||||
<input type="number" name="ausmonat" id="data_41" value="{$ma.ausmonat|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},41)">
|
||||
<input type="number" name="ausjahr" id="data_42" value="{$ma.ausjahr|string_format:"%04d"}" style="width:80px" onChange="save_ma({$ma.id},42)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">befristet bis:</td>
|
||||
<td><input type="number" name="beftag" id="data_43" value="{$ma.beftag|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},43)">
|
||||
<input type="number" name="befmonat" id="data_44" value="{$ma.befmonat|string_format:"%02d"}" style="width:60px" onChange="save_ma({$ma.id},44)">
|
||||
<input type="number" name="befjahr" id="data_45" value="{$ma.befjahr|string_format:"%04d"}" style="width:80px" onChange="save_ma({$ma.id},45)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Aktiv</td><td>
|
||||
{if $ma.aktiv==1}
|
||||
<input type="checkbox" name="aktiv" id="aktiv" checked="checked" onChange="save_ma({$ma.id},54)"/>
|
||||
{else}
|
||||
<input type="checkbox" name="aktiv" id="aktiv" onChange="save_ma({$ma.id},55)"/>
|
||||
{/if}
|
||||
</tr>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</br>
|
||||
|
||||
|
||||
|
||||
</br>
|
||||
|
||||
<div class="ma1">
|
||||
<i class="fad fa-address-card fa-6x fa-pull-left" style="width:110px"></i>
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Krankenkasse:</td>
|
||||
<td width="290px"><input type="text" name="kkasse" value="{$ma.kkasse}" style="width:220px" id="data_46" onChange="save_ma({$ma.id},46)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Mitg.-Nr.:</td>
|
||||
<td width="290px"><input type="text" name="kkassennr" value="{$ma.kkassennr}" style="width:220px" id="data_47" onChange="save_ma({$ma.id},47)"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:130px" nowrap="nowrap">Beitrag in %:</td>
|
||||
<td width="290px"><input type="text" name="kkbeitrag" value="{$ma.kkbeitrag}" style="width:220px" id="data_48" onChange="save_ma({$ma.id},48)"/></td>
|
||||
</tr>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<style>
|
||||
|
||||
input[type=checkbox] {
|
||||
width: 20px;
|
||||
border:none;
|
||||
font-size: 16px;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #ff0000;
|
||||
background-color: #222222;
|
||||
}
|
||||
input[type=text] {
|
||||
width: 250px;
|
||||
border:none;
|
||||
font-size: 16px;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #dddddd;
|
||||
background-color: #222222;
|
||||
}
|
||||
input[type=text]:focus{
|
||||
border:none;
|
||||
outline:none;
|
||||
border-bottom:1px solid #ff0000;
|
||||
}
|
||||
input[type=number] {
|
||||
width: 250px;
|
||||
border:none;
|
||||
font-size: 16px;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #dddddd;
|
||||
background-color: #222222;
|
||||
}
|
||||
input[type=number]:focus{
|
||||
border:none;
|
||||
outline:none;
|
||||
border-bottom:1px solid #ff0000;
|
||||
}
|
||||
.name {
|
||||
align-content: center;
|
||||
background: #115270;
|
||||
color: #ccc;
|
||||
padding: 5px;
|
||||
border: 1px solid #115270;
|
||||
border-radius:6px;
|
||||
margin-left: -5px;
|
||||
margin-top: -12px;
|
||||
height: 50px;
|
||||
font-size: 24px;
|
||||
width: 570px;
|
||||
}
|
||||
.ma1 {
|
||||
background: #222222;
|
||||
color: #999;
|
||||
padding: 5px;
|
||||
font-size: 13px;
|
||||
min-height: 115px;
|
||||
max-height: 615px;
|
||||
border: 1px solid #115270;
|
||||
border-radius: 6px;
|
||||
margin-top: -12px;
|
||||
margin-left: -5px;
|
||||
width: 570px;
|
||||
display: -webkit-flex;
|
||||
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function save_ma(maID,feld) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=save_ma",
|
||||
dataType: 'json',
|
||||
data: 'maID=' + maID + '&feld='+feld + "&data=" +$("#data_"+feld).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
209
template/tpl/ajax/ma_edit_sb.tpl
Normal file
209
template/tpl/ajax/ma_edit_sb.tpl
Normal file
|
|
@ -0,0 +1,209 @@
|
|||
{include file='tpl/ajax/_ma_subm.tpl'}
|
||||
|
||||
{if $j1.s !=0}
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px;color: #115270"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px">{$j1.j}</p></br>
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody>
|
||||
{foreach from=$j1.a item=$x1}
|
||||
|
||||
{if $x1.grund==9 || $x1.grund==15 || $x1.grund==77}
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px">{$x1.name} </td>
|
||||
{elseif $x1.grund==26 || $x1.grund==27 || $x1.grund==31}
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px">{$x1.name} </td>
|
||||
{else} <tr style="line-height:18px"> <td width="160px">{$x1.name} </td>
|
||||
{/if}
|
||||
{if $x1.grund =4}
|
||||
{if $x1.menge > 24} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{elseif $x1.grund =15} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =26} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =27} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =31} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =77} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund = 9} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else}
|
||||
{if $x1.menge > 13} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.menge > 6} <td align="right" width="80px" style="color: #FF8000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{if $j2.s !=0}
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px">{$j2.j}</p></br>
|
||||
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody>
|
||||
{foreach from=$j2.a item=$x1}
|
||||
|
||||
{if $x1.grund==9 || $x1.grund==15 || $x1.grund==77}
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px">{$x1.name} </td>
|
||||
{elseif $x1.grund==26 || $x1.grund==27 || $x1.grund==31}
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px">{$x1.name} </td>
|
||||
{else} <tr style="line-height:18px"> <td width="160px">{$x1.name} </td>
|
||||
{/if}
|
||||
{if $x1.grund =4}
|
||||
{if $x1.menge > 24} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{elseif $x1.grund =15} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =26} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =27} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =31} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =77} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund = 9} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else}
|
||||
{if $x1.menge > 13} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.menge > 6} <td align="right" width="80px" style="color: #FF8000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{if $j3.s !=0}
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px">{$j3.j}</p></br>
|
||||
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody>
|
||||
{foreach from=$j3.a item=$x1}
|
||||
|
||||
{if $x1.grund==9 || $x1.grund==15 || $x1.grund==77}
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px">{$x1.name} </td>
|
||||
{elseif $x1.grund==26 || $x1.grund==27 || $x1.grund==31}
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px">{$x1.name} </td>
|
||||
{else} <tr style="line-height:18px"> <td width="160px">{$x1.name} </td>
|
||||
{/if}
|
||||
{if $x1.grund =4}
|
||||
{if $x1.menge > 24} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{elseif $x1.grund =15} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =26} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =27} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =31} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =77} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund = 9} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else}
|
||||
{if $x1.menge > 13} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.menge > 6} <td align="right" width="80px" style="color: #FF8000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{if $j4.s !=0}
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px">{$j4.j}</p></br>
|
||||
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody>
|
||||
{foreach from=$j4.a item=$x1}
|
||||
|
||||
{if $x1.grund==9 || $x1.grund==15 || $x1.grund==77}
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px">{$x1.name} </td>
|
||||
{elseif $x1.grund==26 || $x1.grund==27 || $x1.grund==31}
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px">{$x1.name} </td>
|
||||
{else} <tr style="line-height:18px"> <td width="160px">{$x1.name} </td>
|
||||
{/if}
|
||||
{if $x1.grund =4}
|
||||
{if $x1.menge > 24} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{elseif $x1.grund =15} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =26} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =27} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =31} <td align="right" width="80px" style="color: #00D841">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund =77} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.grund = 9} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{else}
|
||||
{if $x1.menge > 13} <td align="right" width="80px" style="color: #ff0000">{$x1.menge} Tage</td>
|
||||
{elseif $x1.menge > 6} <td align="right" width="80px" style="color: #FF8000">{$x1.menge} Tage</td>
|
||||
{else} <td align="right" width="80px" style="color: #aaaaaa">{$x1.menge} Tage</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
<div class="max">
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tbody>
|
||||
{foreach from=$klog item=$k}
|
||||
<tr style="line-height:18px;color: #aaa">
|
||||
<td width="160px">{$k.zeit} Uhr</td>
|
||||
<td align="right" width="80px" style="color: #808080">~{$k.diff}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</body>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{literal}
|
||||
<style>
|
||||
.max {
|
||||
background: #222;
|
||||
color: turquoise;
|
||||
padding: 3px;
|
||||
border: 1px solid turquoise;
|
||||
font-size: 14px;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 20px;
|
||||
min-height: 50px;
|
||||
}
|
||||
.masb {
|
||||
background: #222222;
|
||||
color: turquoise;
|
||||
padding: 5px;
|
||||
font-size: 13px;
|
||||
min-height: 115px;
|
||||
max-height: 615px;
|
||||
border: 1px solid turquoise;
|
||||
border-radius: 6px;
|
||||
margin-left: -5px;
|
||||
width: 100%;
|
||||
display: -webkit-flex;
|
||||
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
|
||||
{/literal}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue