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

297 lines
16 KiB
Smarty

{literal}
<script>
$(function() {
$( "#datumstadtd" ).datepicker();
});
</script>
{/literal}
<section id="content">
<div class="container">
<div class="row">
<section class="col-md-8">
{if $normtest==1}
<div class="panel panel-danger">
<div class="panel-heading"><h2 class="panel-title">Fehler in der Datenprüfung</h2></div>
<table class="table no-margin">
<tr><td><span style='color:#FF0000'><strong>Paketnorm nicht gesetzt !!!</strong></td></tr>
<tr><td>Pakete können nicht berechnet werden.</td></tr>
</table>
</div>
{/if}
<div class="panel panel-default collapsible">
<div class="panel-heading"><h2 class="panel-title">Exxtra Land {$kw_aktuell}.KW / {$jahr_aktuell}</h2></div>
<div class="panel-body">
<table class="table nostyle">
<thead>
<tr>
<th style="width:60px" align="left">Tour</th>
<th style="width:100px" >Zeit</th>
<th style="width:80px" align="left">Exemplare</th>
<th style="width:100px" align="left">Rampe</th>
<th style="width:80px" align="left">Gewicht</th>
<th style="width:40px" >Norm</th>
<th style="width:40px" align="left">Pakete</th>
<th style="width:40px" align="left">---</th>
<th style="width:100px" align="left"> </th>
</tr>
</thead>
<tbody>
{foreach from=$e_land item=tour}
<form action="" method="post">
<tr>
<td style="width:60px"><b>{$tour.tour}</td>
<td style="width:100px;"><input type="text" value="{$tour.zeit}" style="width:50px;" name="list[{$tour.tid}][szeit]" placeholder="12:00"> Uhr</td>
<td style="width:80px;"> <input type="int" value="{$tour.exemplare}" style="width:45px;text-align:right;" name="list[{$tour.tid}][exemplare]" placeholder="0">&nbsp;St.
</td>
<td><input type="int" value="{$tour.gewicht4}" style="width:45px;text-align:right;" name="list[{$tour.tid}][gewicht4]" placeholder="0" > kg</td>
<td><input type="int" value="{$tour.gewicht}" style="width:45px;text-align:right;" name="list[{$tour.tid}][gewicht]" placeholder="0" > kg</td>
<td><b>{$tour.norm}</td>
<td><b>{$tour.pakete}</td>
<td>
<input type="hidden" name="list[{$tour.tid}][pakete]" value="{$tour.pakete}"/>
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
{if $tour.abn>7000}<input type="image" name="delete2" value="{$tour.id}" src="template/images/icon/cross.png" onclick="return confirm('M&ouml;chten sie wirklich {$tour.tour} löschen ?')" />
{else}<td> </td>
{/if}
</td>
</tr>
{/foreach}
<td>
<input type="submit" name="datasave" value="Speichern" >
</td>
</tbody>
</table>
</div>
</div>
</section>
<section class="col-md-8">
{if $normtest==1}
<div class="panel panel-danger">
<div class="panel-heading"><h2 class="panel-title">Fehler in der Datenprüfung</h2></div>
<table class="table no-margin">
<tr><td><span style='color:#FF0000'><strong>Paketnorm nicht gesetzt !!!</strong></td></tr>
<tr><td>Pakete können nicht berechnet werden.</td></tr>
</table>
</div>
{/if}
<div class="panel panel-default collapsible">
<div class="panel-heading"><h2 class="panel-title">Exxtra City {$kw_aktuell}.KW / {$jahr_aktuell}</h2></div>
<div class="panel-body">
<table class="table nostyle">
<thead>
<tr>
<th style="width:60px" align="left">Tour</th>
<th style="width:100px" >Zeit</th>
<th style="width:80px" align="left">Exemplare</th>
<th style="width:100px" align="left">Rampe</th>
<th style="width:80px" align="left">Gewicht</th>
<th style="width:40px" >Norm</th>
<th style="width:40px" align="left">Pakete</th>
<th style="width:40px" align="left">---</th>
<th style="width:100px" align="left"> </th>
</tr>
</thead>
<tbody>
{foreach from=$e_city item=tour}
<form action="" method="post">
<tr>
<td style="width:60px"><b>{$tour.tour}</td>
<td style="width:100px;"><input type="text" value="{$tour.zeit}" style="width:50px;" name="list[{$tour.tid}][szeit]" placeholder="12:00"> Uhr</td>
<td style="width:80px;"> <input type="int" value="{$tour.exemplare}" style="width:45px;text-align:right;" name="list[{$tour.tid}][exemplare]" placeholder="0">&nbsp;St.
</td>
<td><input type="int" value="{$tour.gewicht4}" style="width:45px;text-align:right;" name="list[{$tour.tid}][gewicht4]" placeholder="0" > kg</td>
<td><input type="int" value="{$tour.gewicht}" style="width:45px;text-align:right;" name="list[{$tour.tid}][gewicht]" placeholder="0" > kg</td>
<td><b>{$tour.norm}</td>
<td><b>{$tour.pakete}</td>
<td>
<input type="hidden" name="list[{$tour.tid}][pakete]" value="{$tour.pakete}"/>
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
{if $tour.abn>7000}<input type="image" name="delete2" value="{$tour.id}" src="template/images/icon/cross.png" onclick="return confirm('M&ouml;chten sie wirklich {$tour.tour} löschen ?')" />
{else}<td> </td>
{/if}
</td>
</tr>
{/foreach}
<td>
<input type="submit" name="datasave" value="Speichern" >
</td>
</tbody>
</table>
</div>
</div>
</section>
<aside class="col-md-4">
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Datum wechseln</h2></div>
<section class="panel-body">
<table class="table-condensed">
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'>Exxtra f&uuml;r </span></i></b>&#160;&#160;&#160;
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'><a class="button-blue" href="?s=iexxtra&wahl=1&jahr={$jahr_aktuell}&kw={$kw_aktuell}">&laquo;</a>
&#160;&#160;{$kw_aktuell}.KW / {$jahr_aktuell}&#160;&#160;
<a class="button-blue" href="?s=iexxtra&wahl=2&jahr={$jahr_aktuell}&kw={$kw_aktuell}">&raquo;</a></span></i></b>
</p>
</table>
<form action="" method="post">
<table class="no-style full">
<tbody><td>Leipzig-Land:</td><td>{$datumland}</td><td><input type="text" value="{$datumland}" style="width:150px;" name="datumland"></td></tbody>
<tbody></tbody>
<tbody><td>Leipzig-Stadt:</td><td>{$datumstadt}</td><td><input type="text" value="{$datumstadt}" id="datumstadtd" style="width:150px;" name="datumstadt"></td></tbody>
</tbody>
<tbody><td></td><td><input type="submit" name="datesave" value="Speichern" ></tbody>
</table>
</form>
</section>
</div>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Upload XLS Data</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="up_werb.php" method="post" enctype="multipart/form-data">
<tr><td nowrap="nowrap"><input type="file" name="datei"></td></tr>
<tr><td nowrap="nowrap" align="right"><input type="submit" value="Hochladen"> <br></td> </tr>
</form>
</table>
</section>
</div>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Exxtra Paketnorm</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="" method="post">
<tbody>
<tr>
<form action="" method="post">
<td style="width:100px">Leipzig-Land:</td>
<td style="width:200px">
<input type="number" value="{$norm_land}" style="width:45px;text-align:right;" name="norm_land}" placeholder="21"> Exemplare /Paket
</td>
<td style="width:10px">
<button type='submit' name="norm_land_save" value="{$norm_land}"><i class='fa fa-save'></i></button>
</td>
</form>
</tr>
<tr>
<form action="" method="post">
<td style="width:100px">Leipzig-Stadt:</td>
<td style="width:200px">
<input type="number" value="{$norm_city}" style="width:45px;text-align:right;" name="norm_city}" placeholder="21"> Exemplare /Paket
</td>
<td style="width:10px">
<button type='submit' name="norm_city_save" value="{$norm_city}"><i class='fa fa-save'></i></button>
</td>
</form>
</tr>
</tbody>
</table>
</section>
</div>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Abnahme Tour</h2></div>
<section class="panel-body">
<form action="" method="post">
</br><b>Abnahme hinzu:</b>
<select name="plus" style="width:140px;" >
{foreach from=$tourplus item=tourplus}
{html_options values=$tourplus.id output=$tourplus.tour}
{/foreach}
<input type="hidden" name="dazu" value="{$tourplus.id}"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</section>
</div>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">RS Stellzeiten</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="" method="post">
{foreach from=$ssz item=ssz}
<tr>
<td nowrap="nowrap" style="width:90px"><strong>{$ssz.tour}</strong></td>
<td nowrap="nowrap" style="width:90px"><strong>{$ssz.zeit} Uhr</strong></td>
<td nowrap="nowrap" style="width:90px"><strong>{$ssz.gewicht} kg</strong></td>
<input type="hidden" name="list[{$ssz.tid}][tid]" value="{$ssz.id}"/>
<input type="hidden" name="programm" value="{$ssz.tdb}"/>
{if $ssz.tdb==0}
<td><img src="template/images/icon/lock.png" /></td>
{elseif $ssz.tdb==2}
<td><center> <input type="image" name="managetour" value="{$ssz.tour}" src="template/images/icon/accept.png" /> </center></td>
{else}
<td><center> <input type="image" name="tourminus" value="{$ssz.tour}" src="template/images/icon/cross.png" /> </center></td>
{/if}
</tr>
{/foreach}
</form>
<div id="ntour" style="text-align:center;"></div>
</table>
</section>
</div>
</aside>
<!-- Sidebar End -->