69 lines
2.4 KiB
Smarty
69 lines
2.4 KiB
Smarty
{literal}
|
|
<script>
|
|
$(function() {
|
|
$( "#pp_tag" ).datepicker({ autoOpen: false });
|
|
|
|
});
|
|
</script>
|
|
{/literal}
|
|
|
|
<form action="" method="post">
|
|
</select>
|
|
<input type="text" name="dasdatum" id="pp_tag" value="{$smarty.now|date_format:"%d.%m.%Y"}" style="width:90px"/>
|
|
<input type="submit" name="datesubmit" value="Datum wechseln" >
|
|
|
|
{foreach from=$datum item=datum}
|
|
<b><i><span style='font-size:16pt;line-height:115%;
|
|
color:#4F81BD'> Tagestouren für: {$datum}</span></i></b></p>{/foreach}
|
|
</form>
|
|
|
|
<table class="datatable full" >
|
|
<thead>
|
|
<tr>
|
|
<th style="width:100px">PIN-Tour</th>
|
|
<th style="width:180px">Fahrer</th>
|
|
<th style="width:100px">Fahrzeug</th>
|
|
<th style="width:380px">Bemerkung</th>
|
|
<th style="width:5px">Speichern</th>
|
|
<th style="width:5px">SMS</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$pin_tour2 item=ptour}
|
|
<tr>
|
|
<form action="" method="post">
|
|
<td><b> {$ptour.tour}</td>
|
|
<!-- --------------------------- fahrer -->
|
|
<td><center>
|
|
<select name="Fahrer[{$ptour.id}]" style="width:180px;" >
|
|
{foreach from=$ptour.fahrer_array item=allfahrer}
|
|
{html_options values=$allfahrer.id output=$allfahrer.name selected=$ptour.fahrer_id}
|
|
{/foreach}
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<!-- --------------------------- Fahrzeug -->
|
|
<td><center>
|
|
<select name="Fahrzeug[{$ptour.id}]" style="width:100px;" >
|
|
|
|
{foreach from=$ptour.auto_array item=allauto}
|
|
{html_options values=$allauto.id output=$allauto.kz selected=$ptour.auto_id}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
<td><input type="text" value="{$ptour.infotext}" style="width:450px;" name="infotext[{$ptour.id}]"></center></td>
|
|
<td><center>
|
|
<input type="hidden" name="savetour" value="{$ptour.id}"/>
|
|
<input type="submit" name="savetoursubmit" value="Speichern" >
|
|
</center></td>
|
|
<td><center>
|
|
<input type="hidden" name="sendtour" value="{$ptour.id}"/>
|
|
<input type="submit" name="smssenden" value="SMS" >
|
|
</center></td>
|
|
</form>
|
|
</tr>
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
</table>
|