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

75 lines
No EOL
2.8 KiB
Smarty

{foreach from=$datum item=datum}
<b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Rundschau f&uuml;r {$datum}</span></i></b></p>
{/foreach}
<table class="datatable full" width="100%" >
<thead>
<tr>
<th style="width:40px">Tour</th>
<th style="width:36px">Zeit</th>
<th style="width:20px">St.</th>
<th style="width:40px">Norm</th>
<th style="width:40px">Pak.</th>
<th style="width:50px">Gewicht</th>
<th style="width:150px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:5px">Speichern</th>
<th style="width:5px">SMS</th>
<th style="width:5px">OK</th>
</tr>
</thead>
<tbody>
{foreach from=$rs_tour2 item=tour}
<tr>
<form action="" method="post">
<td><b>{$tour.tour}</td>
<td><input type="text" value="{$tour.zeit}" style="width:36px;" name="szeit[{$tour.id}]" placeholder="12:00"></td>
<td><input type="int" value="{$tour.exemplare}" style="width:30px;" name="exemplare[{$tour.id}]" placeholder="0" ></td>
<td><input type="int" value="{$tour.norm}" style="width:28px;" name="norm[{$tour.id}]" placeholder="0" ></td>
<td><input type="int" value="{$tour.pakete}" style="width:28px;" name="pakete[{$tour.id}]" placeholder="0" > </td>
<td><input type="int" value="{$tour.gewicht}" style="width:34px;" name="gewicht[{$tour.id}]" placeholder="0" >kg</td>
<!-- --------------------------- fahrer -->
<td><center>
<select name="Fahrer[{$tour.id}]" style="width:150px;" >
{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="Fahrzeug[{$tour.id}]" 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><center>
<input type="hidden" name="savetour" value="{$tour.id}"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
<td><center>
<input type="submit" name="smssenden" value="SMS" >
</center></td>
<td><b>{$tour.smsid}</td>
</tr>
</form>
{/foreach}
</tbody>
</table>