418 lines
20 KiB
Smarty
418 lines
20 KiB
Smarty
|
|
|
|
|
|
<section class="grid_8 first top">
|
|
<!-- <div class="columns">-->
|
|
<div class="column grid_2 first">
|
|
<!-- neuer MA -->
|
|
<div class="widget">
|
|
<header class="current"><h2>Neues Fahrzeug</h2></header>
|
|
<section>
|
|
<form action="" method="post">
|
|
<table class="no-style full">
|
|
<tr><td nowrap="nowrap"style="width:70px;"><strong>neu: </strong></td> <td><input type="text" name="kz" style="width:150px;" placeholder="Kennzeichen" /> </td></tr>
|
|
<tr>
|
|
<td nowrap="nowrap"style="width:70px;"><strong>KBA zu2: </strong></td> <td><input type="text" name="kb2" style="width:70px;" placeholder="0000" /> </td></tr>
|
|
<td nowrap="nowrap"style="width:70px;"><strong>KBA zu3: </strong></td> <td><input type="text" name="kb3" style="width:70px;" placeholder="000" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="submit" name="neu" value="neu anlegen" />
|
|
</form>
|
|
</section>
|
|
</div>
|
|
<!-- Auswahl MA -->
|
|
<div class="widget">
|
|
<header class="current"><h2><h2>aktive Fahrzeuge</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:10px" align="left">Nr.</th>
|
|
<th style="width:99px" align="left">Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$fahrzeuge_a item=fahrzeuge}
|
|
<tr>
|
|
<td nowrap="nowrap">{$fahrzeuge.id}</td>
|
|
<td nowrap="nowrap"><strong><a href="?s=v_fahrzeuge&id={$fahrzeuge.id}" title="Kicke zum auswälen" >{$fahrzeuge.kz}</strong></td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<!-- ///////////////// rechte seite verfügbare Fahrzeuge -->
|
|
<div class="widget">
|
|
<header class="current"><h2><h2>Fremde Fahrzeuge</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:10px" align="left">Nr.</th>
|
|
<th style="width:99px" align="left">Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$fahrzeuge_f item=fahrzeuge}
|
|
<tr>
|
|
<td nowrap="nowrap">{$fahrzeuge.id}</td>
|
|
<td nowrap="nowrap"><strong><a href="?s=v_fahrzeuge&id={$fahrzeuge.id}" title="Kicke zum auswälen" >{$fahrzeuge.kz}</strong></td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<!-- ///////////////// rechte seite --------- anmietbare Fahrzeuge-->
|
|
<div class="widget">
|
|
<header class="current"><h2><h2>inaktive Fahrzeuge</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:10px" align="left">Nr.</th>
|
|
<th style="width:99px" align="left">Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$fahrzeuge_d item=fahrzeuge}
|
|
<tr>
|
|
<td nowrap="nowrap">{$fahrzeuge.id}</td>
|
|
<td nowrap="nowrap"><strong><a href="?s=v_fahrzeuge&id={$fahrzeuge.id}" title="Kicke zum auswälen" >{$fahrzeuge.kz}</strong></td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<!-- ///////////////// rechte seite --------- inaktive Fahrzeuge -->
|
|
{if $anzeige==0}
|
|
<div class="column grid_6 last">
|
|
<div class="widget">
|
|
<header class="current"><h2>Info </h2></header>
|
|
<section>
|
|
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>Bitte das Fahrzeug auwählen, dass Sie bearbeiten möchten.</span>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<!-- /// rechte seite MA anzeigen-->
|
|
{else}
|
|
<div class="column grid_3 last">
|
|
<div class="widget">
|
|
<header class="current"><h2 style='font-size:12pt; color:#4F81BD'>{$fahrzeug.kz}</strong></h2></header>
|
|
<section>
|
|
<form action="" method="post">
|
|
<table class="no-style sortable full">
|
|
<input type="hidden" name="vid" value="{$fahrzeug.id}" />
|
|
<tbody>
|
|
<tr><td nowrap="nowrap"><strong>Kennzeichen:</strong></td>
|
|
<td><input type="text" name="kz" value="{$fahrzeug.kz}" style="width:220px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Hersteller:</strong></td>
|
|
<td><input type="text" name="hersteller" value="{$fahrzeug.hersteller}" style="width:220px"/></td></tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Bezeichnung:</strong></td>
|
|
<td><input type="text" name="name" value="{$fahrzeug.name}" style="width:220px"/></td></tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>KBA zu2/3:</strong></td>
|
|
<td><input type="text" name="kba2" value="{$fahrzeug.kba2}" style="width:100px"/>
|
|
<input type="text" name="kba3" value="{$fahrzeug.kba3}" style="width:100px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>FahrgestellNr.:</strong></td>
|
|
<td><input type="text" name="fin" value="{$fahrzeug.fin}" style="width:220px"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Erstzulassung:</strong></td>
|
|
<td><input type="text" name="ezltag" value="{$fahrzeug.ezltag|string_format:"%02d"}" style="width:30px"/>
|
|
<input type="text" name="ezlmonat" value="{$fahrzeug.ezlmonat|string_format:"%02d"}" style="width:30px"/>
|
|
<input type="text" name="ezljahr" value="{$fahrzeug.ezljahr}" style="width:60px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>JB- Zulassung:</strong></td>
|
|
<td><input type="text" name="jbtag" value="{$fahrzeug.jbtag|string_format:"%02d"}" style="width:30px"/>
|
|
<input type="text" name="jbmonat" value="{$fahrzeug.jbmonat|string_format:"%02d"}" style="width:30px"/>
|
|
<input type="text" name="jbjahr" value="{$fahrzeug.jbjahr}" style="width:60px"/>
|
|
</td>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>aktiv:</strong></td>
|
|
<td><input type="text" name="aktiv" value="{$fahrzeug.aktiv}" style="width:30px"/> 1-aktiv / 0-inaktiv
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>KFZ-Typ:</strong></td>
|
|
<td>
|
|
<select name="typ">
|
|
{foreach from=$typ item=typ}
|
|
{html_options values=$typ.id output=$typ.bezeichnung selected=$fahrzeug.typ}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Besitzer:</strong></td>
|
|
<td>
|
|
<select name="besitz">
|
|
{foreach from=$besitzer item=besitzer}
|
|
{html_options values=$besitzer.id output=$besitzer.bezeichnung selected=$fahrzeug.besitz}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Ölsorte:</strong></td>
|
|
<td>
|
|
<select name="osorte">
|
|
{foreach from=$oel item=oel}
|
|
{html_options values=$oel.id output=$oel.bezeichnung selected=$fahrzeug.osorte}
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
<!--<td><input type="text" name="osorte" value="{$fahrzeug.osorte}" style="width:30px"/> 1-5w30 2-10w30 3-10w40 </td> -->
|
|
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Reifen:</strong></td>
|
|
<td><input type="text" name="reifen" value="{$fahrzeug.reifen}" style="width:220px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Hubraum:</strong></td>
|
|
<td><input type="text" name="ccm" value="{$fahrzeug.ccm}" style="width:80"/> ccm
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>KW/PS</strong></td>
|
|
<td><input type="text" name="kw" value="{$fahrzeug.kw}" style="width:80px"/><strong> KW</strong> oder
|
|
<input type="text" name="ps" value="{$fahrzeug.ps}" style="width:80px"/><strong> PS</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
|
|
<td><input type="text" name="zfeld1" value="{$fahrzeug.zfeld1}" style="width:220px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
|
|
<td><input type="text" name="zfeld2" value="{$fahrzeug.zfeld2}" style="width:220px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
|
|
<td><input type="text" name="zfeld3" value="{$fahrzeug.zfeld3}" style="width:220px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
|
|
<td><input type="text" name="zfeld4" value="{$fahrzeug.zfeld4}" style="width:220px"/>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>--------------</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>LVZ-Karte:</strong></td>
|
|
<td><input type="text" name="lvzkarte" value="{$fahrzeug.lvzkarte}" style="width:100px"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Tank-PIN:</strong></td>
|
|
<td><input type="text" name="tankpin" value="{$fahrzeug.tankpin}" style="width:100px"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<input style="margin-right: "type="submit" name="save" value="Fahrzeugdaten Speichern" />
|
|
</form>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<!--</div>-->
|
|
<div class="column grid_3 last">
|
|
<div class="widget">
|
|
<header class="current"><h2>Fahrzeugtermine</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<tbody>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Hauptuntersuchung:</strong></td>
|
|
<td><strong>{$fahrzeug.humonat|string_format:"%02d"}.{$fahrzeug.hujahr}</strong></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>Termin: Zahnriemen/Kette:</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>01.{$fahrzeug.zrmonat|string_format:"%02d"}.{$fahrzeug.zrjahr}</strong></td>
|
|
<td><strong>oder</strong></td>
|
|
<td><strong>{$fahrzeug.zrkm|string_format:"%06d"} km</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>Termin: Ölwechsel:</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>01.{$fahrzeug.owmonat|string_format:"%02d"}.{$fahrzeug.owjahr}</strong></td>
|
|
<td><strong>oder</strong></td>
|
|
<td><strong>{$fahrzeug.owkm|string_format:"%06d"} km</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
|
|
<div class="widget">
|
|
<header class="current"><h2>letzte Fahrzeugkontrollen</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<tbody>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Schadenkontrolle:</strong></td>
|
|
<td><strong>{$fahrzeug.tag_kon_s|string_format:"%02d"}.{$fahrzeug.monat_kon_s|string_format:"%02d"}.{$fahrzeug.jahr_kon_s}</strong></td>
|
|
<td><strong>{$fahrzeug.kon_skm|string_format:"%06d"} km</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Ölkontrolle:</strong></td>
|
|
<td><strong>{$fahrzeug.tag_kon_o|string_format:"%02d"}.{$fahrzeug.monat_kon_o|string_format:"%02d"}.{$fahrzeug.jahr_kon_o}</strong></td>
|
|
<td><strong>{$fahrzeug.kon_okm|string_format:"%06d"} km</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Bremsanlage:</strong></td>
|
|
<td><strong>{$fahrzeug.tag_kon_b|string_format:"%02d"}.{$fahrzeug.monat_kon_b|string_format:"%02d"}.{$fahrzeug.jahr_kon_b}</strong></td>
|
|
<td><strong>{$fahrzeug.kon_bkm|string_format:"%06d"} km</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap"><strong>Reifen:</strong></td>
|
|
<td><strong>{$fahrzeug.tag_kon_r|string_format:"%02d"}.{$fahrzeug.monat_kon_r|string_format:"%02d"}.{$fahrzeug.jahr_kon_r}</strong></td>
|
|
<td><strong>{$fahrzeug.kon_rkm|string_format:"%06d"} km</strong></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>Fahrzeugtermine Fremd</h2></header>
|
|
<section>
|
|
<table class="no-style sortable full">
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>{$fahrzeug.tag_kon_o|string_format:"%02d"}.{$fahrzeug.humonat|string_format:"%02d"}.{$fahrzeug.hujahr}</strong></td>
|
|
<td><strong>{$fahrzeug.humonat|string_format:"%06d"} Uhr</strong></td>
|
|
<td><strong>{$fahrzeug.humonat}</strong></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<!--</div>-->
|
|
</section>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|