97 lines
No EOL
5.3 KiB
Smarty
97 lines
No EOL
5.3 KiB
Smarty
{foreach from=$saso_norm item=snorm}{/foreach}
|
|
{foreach from=$sasodatum item=sdate}{/foreach}
|
|
<form action="" method="post">
|
|
<b> Sachsen-Sonntag: {$sdate} --- Norm: aktuell: {$snorm}er Norm <input type="text" style="width:30px;"name="sasonorm" /> <input type="submit" name="speichern" value="Norm speichern" />
|
|
</form> </br>
|
|
|
|
|
|
<table class="datatable full" width="100%" >
|
|
<thead>
|
|
<tr>
|
|
<th>Tour</th>
|
|
<th>Stellzeit</th>
|
|
<th>R.-Gewicht</th>
|
|
<th>Gewicht</th>
|
|
<th>Fahrer</th>
|
|
<th>Fahrzeug</th>
|
|
<th>Pakete</th>
|
|
<th>Autogew.</th>
|
|
<th>Rampe</th>
|
|
<th> </th>
|
|
<th>SMS</th>
|
|
<th>SID</th>
|
|
<!-- <th>Del</th> -->
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
{foreach from=$saso_tour2 item=tour}
|
|
<tr>
|
|
<form action="" method="post">
|
|
<td><b>{$tour.tour}</td>
|
|
{if ($tour.tourid)>900}
|
|
<td></td> <td></td><td></td>
|
|
{else}
|
|
<td><input type="text" value="{$tour.zeit}" style="width:32px;" name="list[{$tour.tid}][zeit]" placeholder="12:00"> Uhr</td>
|
|
<td><input type="int" value="{$tour.gewicht4}" style="width:32px;" name="list[{$tour.tid}][gewicht4]" placeholder="0" > kg</td>
|
|
<td><input type="int" value="{$tour.gewicht}" style="width:32px;" name="list[{$tour.tid}][gewicht]" placeholder="0" > kg</td>
|
|
{/if}
|
|
<!-- --------------------------- fahrer -->
|
|
<td><center>
|
|
<select name="list[{$tour.tid}][Fahrer]" style="width:140px;" >
|
|
{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>
|
|
{if ($tour.tourid)>900}
|
|
<td><input type="int" value="{$tour.pakete2}" style="width:32px;" name="list[{$tour.tid}][pakete2]" placeholder="0" ></td>
|
|
{else}
|
|
<td>{$tour.pakete2} </b>({$tour.pakete})<b></td>
|
|
{/if}
|
|
<td>{$tour.gewicht3} kg</td>
|
|
|
|
<td><input type="text" value="{$tour.rampe}" style="width:20px;" name="list[{$tour.tid}][rampe]" /></td>
|
|
<td><center> <input type="image" name="savetour" value="{$tour.id}" src="template/images/icon/l.png" /> </center></td>
|
|
|
|
<td> <center>
|
|
{if $tour.smsid==0 && $tour.fahrer_id>0}<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}<input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/nosms.png"/>{/if}
|
|
</center></td>
|
|
<td><b>{$tour.smsid}</td>
|
|
</tr>
|
|
<input type="hidden" name="list[{$tour.tid}][tid]" value="{$tour.id}"/>
|
|
<input type="hidden" name="list[{$tour.tid}][tourid]" value="{$tour.tourid}"/>
|
|
<input type="hidden" name="list[{$tour.tid}][exemplare]" value="{$tour.exemplare}"/>
|
|
{/foreach}
|
|
<input type="submit" name="testsave" value="kompl. Liste Speichern" >
|
|
<input type="submit" name="smspower" value="kompl. Liste per SMS senden" >
|
|
</form>
|
|
</tbody>
|
|
</table>
|
|
|
|
<form action="" method="post">
|
|
</br><b>Abnahme hinzu:</b>
|
|
<select name="plus" style="width:120px;" >
|
|
{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ügen" >
|
|
</select>
|
|
</form>
|
|
|
|
|
|
|