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

278 lines
11 KiB
Smarty

<section id="content0">
<div class="wrapper"> <!-- list Section -- linke Spalte -->
<section class="grid_8 first top">
<!-- <div class="columns">-->
<div class="column grid_1 first">
<div class="widget">
<header class="current"><h2><h2>Fahrzeuge</h2></header>
<section>
<table class="no-style sortable full">
<tbody>
{foreach from=$fahrzeuge_a item=fahrzeuge}
<tr>
<td nowrap="nowrap"><strong><a href="?s=w_wartung&id={$fahrzeuge.id}" title="Kicke zum ausw&auml;len" >{$fahrzeuge.kz}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
<!-- ///////////////// rechte seite --------- anmietbare Fahrzeuge-->
<div class="widget">
<header class="current"><h2><h2>alt/Schrott</h2></header>
<section>
<table class="no-style sortable full">
<tbody>
{foreach from=$fahrzeuge_d item=fahrzeuge}
<tr>
<td nowrap="nowrap"><strong><a href="?s=v_fahrzeuge&id={$fahrzeuge.id}" title="Kicke zum ausw&auml;len" >{$fahrzeuge.kz}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
</div>
<!-- ///////////////// rechte seite --------- inaktive Fahrzeuge -->
{if $anzeige==0}
<div class="column grid_7 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&auml;hlen, dass Sie bearbeiten m&ouml;chten.</span>
</section>
</div>
</div>
<!-- /// rechte seite MA anzeigen-->
{else}
<div class="column grid_7 last">
<div class="widget">
<header class="current"><h2 style='font-size:14pt; color:#4F81BD'>{$fahrzeug.kz} -----
Oel: {$oel} ------ HU: {$fahrzeug.humonat|string_format:"%02d"}.{$fahrzeug.hujahr}</strong></h2></header>
</div>
</div>
<div class="column grid_3 middle">
<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}" />
<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><input type="text" name="typ" value="{$fahrzeug.typ}" style="width:30px"/> 1-PKW 2-kl.TRP 3-gr.TRP 4-LKW
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Besitzer:</strong></td>
<td><input type="text" name="besitz" value="{$fahrzeug.besitz}" style="width:30px"/> 1-JB 2-IS 3-WT 4-AH
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lsorte:</strong></td>
<td><input type="text" name="besitz" value="{$fahrzeug.osorte}" style="width:30px"/> 1-5w30 2-10w30 3-10w40
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Platzhalter:</strong></td>
<td><input type="text" name="besitz" value="{$fahrzeug.osorte}" style="width:30px"/> Platzhalter
</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>Fahrzeugwartung</h2></header>
<section>
<table class="no-style sortable full">
<tbody>
<tr>
<td nowrap="nowrap"><strong>Zahnriemen/Kette:</strong></td>
<td><strong>{$fahrzeug.humonat|string_format:"%02d"}.{$fahrzeug.hujahr}</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Zahnriemen/Kette:</strong></td>
<td><strong>{$fahrzeug.humonat|string_format:"%06d"} km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lwechsel:</strong></td>
<td><strong>{$fahrzeug.humonat|string_format:"%02d"}.{$fahrzeug.hujahr}</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lwechsel:</strong></td>
<td><strong>{$fahrzeug.humonat|string_format:"%06d"} km</strong></td>
</tr>
</tbody>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2>Fahrzeugkontrolle</h2></header>
<section>
<table class="no-style sortable full">
<tbody>
<tr>
<td nowrap="nowrap"><strong>Schadenkontrolle:</strong></td>
<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"} km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lkontrolle:</strong></td>
<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"} km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Bremsanlage:</strong></td>
<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"} km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<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"} 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>