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

79 lines
3.1 KiB
Smarty

<form action="" method="post">
Marktplatz-Norm: <input type="text" style="width:30px;"name="mpnorm" /> <input type="submit" name="speichern" value="speichern" />
</form>
<form action="" method="post">
Paketgewicht je.: <input type="text" style="width:30px;" name="gewicht" /> <input type="submit" name="speichern" value="speichern" />
</form>
</p>
{foreach from=$datum item=datum}
<b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Marktplatz f&uuml;r {$datum}</span></i></b></p>
{/foreach}
<table class="datatable full" width="100%" >
<thead>
<tr>
<th style="width:100px">Tour</th>
<th >Zeit</th>
<th style="width:20px">Stueck</th>
<th style="width:40px">Norm</th>
<th style="width:40px">Pak.</th>
<th style="width:40px">Gewicht</th>
<th style="width:180px">Fahrer</th>
<th style="width:100px">Fahrzeug</th>
<th style="width:130px">Bemerkung</th>
<th style="width:5px">Save</th>
<th style="width:5px">SMS</th>
<th style="width:5px">SMSid</th>
</tr>
</thead>
<tbody>
{foreach from=$mp_tour2 item=tour}
<tr>
<form action="" method="post">
<td><b>{$tour.tour}</td>
<td><input type="text" value="{$tour.zeit}" style="width:50px;" name="szeit[{$tour.id}]" placeholder="12:00"></td>
<td><input type="int" value="{$tour.exemplare}" style="width:40px;" name="exemplare[{$tour.id}]" placeholder="0" ></td>
<td><b>{$tour.norm}</td>
<td><b>{$tour.pakete}</td>
<td><b>{$tour.gewicht} kg</td>
<!-- --------------------------- fahrer -->
<td><center>
<select name="Fahrer[{$tour.id}]" style="width:180px;" >
{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="text" value="{$tour.infotext}" style="width:150px;" name="infotext[{$tour.id}]"></center></td>
<td><center>
<input type="hidden" name="savetour" value="{$tour.id}"/>
<input type="image" name="savetoursubmit" value="{$tour.id}" src="template/images/icon/save.png" />
</center></td>
<td><center> <input type="image" name="smssenden" value="{$tour.id}" src="template/images/icon/sms2.png" /> </center></td>
<td><center> {$tour.smsid}</center></td>
</form>
</tr>
{/foreach}
</tbody>
</table>