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

384 lines
16 KiB
Smarty

{literal}
<script>
$(function() {
$( "#s_date" ).datepicker();
});
$(function() {
$( "#o_date" ).datepicker();
});
$(function() {
$( "#b_date" ).datepicker();
});
$(function() {
$( "#r_date" ).datepicker();
});
</script>
{/literal}
<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=f_kontrolle&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_4 middle">
<div class="widget">
<header class="current"><h2>Schaden.- / Sichtkontrolle {$fahrzeug.kz}</strong></h2></header>
<section>
<span style='font-size:12pt;line-height:115%; color:#4F81BD'><strong>Schadenkontrolle:</strong></span>
<table class="no-style full">
<form action="" method="post">
<input type="hidden" name="vid" value="{$fahrzeug.id}" />
<thead>
<tr>
<th style="width:99px" align="left">Datum</th>
<th style="width:80px" align="left">km</th>
<th style="width:80px" align="left">neue Sch&auml;den</th>
<th style="width:10px" align="left"> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" name="s_datum" id="s_date" value="{$realtime|date_format:"%d.%m.%Y"}" style="width:80px"/></td>
<td><input type="text" name="s_km" value="{$fahrzeug.kon_skm}" style="width:80px"/><strong> km</strong></td>
<td><input type="text" name="s_km" value="0" style="width:80px"/><strong> x </strong></td>
<td><input type="image" name="savetoursubmit" value="{$tour.id}" src="template/images/icon/save.png"/></td>
</td>
<tr>
</tbody>
</form>
</table>
<br></br>
<span style='font-size:12pt;line-height:115%; color:#4F81BD'><strong>&Ouml;lstandskontrolle:</strong></span>
<table class="no-style full">
<form action="" method="post">
<input type="hidden" name="vid" value="{$fahrzeug.id}" />
<thead>
<tr>
<th style="width:99px" align="left">Datum</th>
<th style="width:80px" align="left">km</th>
<th style="width:80px" align="left">&Ouml;l aufgef&uuml;llt</th>
<th style="width:10px" align="left"> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" name="s_datum" id="o_date" value="{$realtime|date_format:"%d.%m.%Y"}" style="width:80px"/></td>
<td><input type="text" name="s_km" value="{$fahrzeug.kon_skm}" style="width:80px"/><strong> km</strong></td>
<td><input type="text" name="s_km" value="0,00" style="width:80px"/><strong> ltr. </strong></td>
<td><input type="image" name="s_kontrolle" value="{$fahrzeug.id}" src="template/images/icon/save.png"/></td>
</td>
<tr>
</tbody>
</form>
</table>
<br></br>
<span style='font-size:12pt;line-height:115%; color:#4F81BD'><strong>Bremsbelege:</strong></span>
<table class="no-style full">
<form action="" method="post">
<input type="hidden" name="vid" value="{$fahrzeug.id}" />
<thead>
<tr>
<th style="width:99px" align="left">Datum</th>
<th style="width:80px" align="left">km</th>
<th style="width:80px" align="left">OK=1 * schlecht=0</th>
<th style="width:10px" align="left"> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" name="s_datum" id="b_date" value="{$realtime|date_format:"%d.%m.%Y"}" style="width:80px"/></td>
<td><input type="text" name="s_km" value="{$fahrzeug.kon_skm}" style="width:80px"/><strong> km</strong></td>
<td><input type="text" name="s_km" value="0" style="width:80px"/><strong> x </strong></td>
<td><input type="image" name="savetoursubmit" value="{$tour.id}" src="template/images/icon/save.png"/></td>
</td>
<tr>
</tbody>
</form>
</table>
<br></br>
<span style='font-size:12pt;line-height:115%; color:#4F81BD'><strong>Reifen/Profiltiefe:</strong></span>
<table class="no-style full">
<form action="" method="post">
<input type="hidden" name="vid" value="{$fahrzeug.id}" />
<thead>
<tr>
<th style="width:99px" align="left">Datum</th>
<th style="width:80px" align="left">km</th>
<th style="width:80px" align="left">OK=1 * schlecht=0</th>
<th style="width:10px" align="left"> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" name="s_datum" id="r_date" value="{$realtime|date_format:"%d.%m.%Y"}" style="width:80px"/></td>
<td><input type="text" name="s_km" value="{$fahrzeug.kon_skm}" style="width:80px"/><strong> km</strong></td>
<td><input type="text" name="s_km" value="1" style="width:80px"/><strong> x </strong></td>
<td><input type="image" name="savetoursubmit" value="{$tour.id}" src="template/images/icon/save.png"/></td>
</td>
<tr>
</tbody>
</form>
</table>
</section>
</div>
</div>
<!--</div>-->
<div class="column grid_3 last">
<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: &Ouml;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>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>