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

290 lines
13 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-info collapsible">
<div class="panel-heading"><h2 class="panel-title">Kaufland-Werbung {$kw_aktuell}.KW / {$jahr_aktuell}</h2></div>
<div class="panel-body">
<table class="table nostyle">
<thead>
<tr>
<th style="width:30px;font-size:10pt" align="left">Tour</th>
<th style="width:40px;font-size:10pt" align="left">Typ</th>
<th style="width:50px;font-size:10pt" align="left">Datum</th>
<th style="width:100px;font-size:10pt" >Zeit</th>
<th style="width:80px;font-size:10pt" align="left">Exemplare</th>
<th style="width:100px;font-size:10pt" align="left">Kaufland</th>
<th style="width:80px;font-size:10pt" align="left">ges.Gewicht</th>
<th style="width:40px;font-size:10pt" >Norm</th>
<th style="width:40px;font-size:10pt" align="left">Pakete</th>
</tr>
</thead>
<tbody>
{foreach from=$rs_tour2 item=tour}
<form action="" method="post">
<tr>
<td nowrap style="width:30px;font-size:10pt">
<b>{$tour.tour}
</td>
<td nowrap style="width:40px;font-size:8pt">
{if $tour.utyp==0}unbekannt{/if}
{if $tour.utyp==1}L-Land{/if}
{if $tour.utyp==2}Paunsdorf{/if}
{if $tour.utyp==3}Grünau{/if}
{if $tour.utyp==4}Sonder{/if}
</td>
<td nowrap style="width:50px;font-size:10pt">
<b>{$tour.datum}
</td>
<td nowrap style="width:100px;font-size:10pt">
<input type="text" value="{$tour.zeit}" style="width:50px;" name="list[{$tour.tid}][szeit]" placeholder="12:00"> Uhr
</td>
<td nowrap style="width:80px;font-size:10pt">
<input type="int" value="{$tour.exemplare}" style="width:45px;text-align:right;" name="list[{$tour.tid}][exemplare]" placeholder="0">&nbsp;St.
</td>
<td nowrap style="width:100px;font-size:10pt">
<input type="int" value="{$tour.gewicht4}" style="width:45px;text-align:right;" name="list[{$tour.tid}][gewicht4]" placeholder="0" > kg
</td>
<td nowrap style="width:100px;font-size:10pt">
<input type="int" value="{$tour.gewicht}" style="width:45px;text-align:right;" name="list[{$tour.tid}][gewicht]" placeholder="0" > kg
</td>
<td nowrap style="width:40px;font-size:10pt">
<b>{$tour.norm}
</td>
<td nowrap style="width:40px;font-size:10pt">
<b>{$tour.pakete}
</td>
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
<input type="hidden" name="list[{$tour.tid}][pakete]" value="{$tour.pakete}"/>
<!--
<td nowrap style="width:25px;font-size:10pt">
<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>14000}<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-warning">
<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'>Kaufland-Werbung 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=itip&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=itip&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 style="width:130px;">L-Land:</td><td>{$datumland}</td><td><input type="text" value="{$datumland}" style="width:150px;" name="datumland"></td></tbody>
<tbody></tbody>
<td>L.-City:</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 2018</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="up_rs.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">Upload Round Data 2020</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="https://edv.jb-transport.de/up_round.php" method="post" enctype="multipart/form-data">
<h5><input type="file" name="datei"> </h5>
<input type="hidden" name="sasojahr" value="{$jahr}"/>
<input type="hidden" name="sasokw" value="{$kw}"/>
<input type="submit" value="Hochladen"> <br>
</form>
</table>
</section>
</div>
-->
<div id="rightmenu" class="panel panel-warning">
<div class="panel-heading"><h2 class="panel-title">Kaufland Paketnorm</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="" method="post">
<tbody>
<tr>
<td style="width:130px">KL-Land:</td>
<td><input type="number" value="{$rsnorm1}" style="width:50px;text-align:right;" name="rsnorm1" placeholder="100"> Exemplare</td>
</tr>
<tr>
<td>KL-Paunsdorf:</td>
<td><input type="number" value="{$rsnorm2}" style="width:50px;text-align:right;" name="rsnorm2" placeholder="100"> Exemplare</td>
</tr>
<tr>
<td>KL-Grünau:</td>
<td><input type="number" value="{$rsnorm3}" style="width:50px;text-align:right;" name="rsnorm3" placeholder="100"> Exemplare</td>
</tr>
<tr>
</tr>
<tr>
<td><input type="submit" name="npsave" value="Speichern" ></tr>
</tr>
</tbody>
</form>
</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 -->