This commit is contained in:
steven 2025-08-11 22:23:30 +02:00
commit 72a26edcff
22092 changed files with 2101903 additions and 0 deletions

378
template/tpl/c_sonstige.tpl Normal file
View file

@ -0,0 +1,378 @@
<!-- ************************ PKW -->
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>sonstige PKW</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
{foreach from=$madata1 item=madata}
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_aktiv&id={$madata.id}" title="Kicke zum ausw&auml;len" class="name">{$madata.kz}</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- ************************ kleine Transporter / Hundefänger / Caddy -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>sonstige Caddy´s</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
{foreach from=$madata2 item=madata}
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_aktiv&id={$madata.id}" title="Kicke zum ausw&auml;len" class="name">{$madata.kz}</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- ************************ Transporter -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>sonstige Transporter</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
{foreach from=$madata3 item=madata}
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_aktiv&id={$madata.id}" title="Kicke zum ausw&auml;len" class="name">{$madata.kz}</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- ************************ neues Fahrzeug -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>Neues Fahrzeug anlegen</span></i></div>
<div class="panel-body">
<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>
</div>
</div>
<!-- -------------------------------- Spaltenwechsel -->
</div>
<!-- -------------------------------- Car uaswählen info -->
{if $anzeige==0}
<span style='font-size:14pt;line-height:115%; color:#4F81BD'>Bitte das Fahrzeug auw&auml;hlen den Sie bearbeiten m&ouml;chten.</span>
{/if}
{if $anzeige>0}
<!-- MA Info Anzeigen -->
<!-- ****************************************************************** zum Fahrzeug-->
<form action="" method="post"><input type="hidden" name="vid" value="{$fahrzeug.id}" />
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr><td nowrap="nowrap"style="width:120px;">Kennzeichen:</td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kz" value="{$fahrzeug.kz}" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hersteller:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="hersteller" value="{$fahrzeug.hersteller}" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>Bezeichnung:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="name" value="{$fahrzeug.name}" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>KBA zu2/3:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kba2" value="{$fahrzeug.kba2}" style="width:98px"/>
<input type="text" name="kba3" value="{$fahrzeug.kba3}" style="width:98px"/>
</td>
</tr>
<tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Kommunikation -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"style="width:120px;">FahrgestellNr.:</td>
<td><input type="text" name="fin" value="{$fahrzeug.fin}" style="width:200px"/></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>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>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Ölsorte:</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:200px"/>
</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"/> KW
<input type="text" name="ps" value="{$fahrzeug.ps}" style="width:80px"/> PS
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="{$mitarbeiter.id}" />
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Z.Info:</td>
<td><input type="text" name="zfeld1" value="{$fahrzeug.zfeld1}" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld2" value="{$fahrzeug.zfeld2}" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld3" value="{$fahrzeug.zfeld3}" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld4" value="{$fahrzeug.zfeld4}" style="width:200px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- ****************************************************************** Sozialangaben -->
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">aktiv:</td>
<td><input type="text" name="aktiv" value="{$fahrzeug.aktiv}" style="width:30px"/> 1-aktiv / 0-inaktiv
</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>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">LVZ-Karte:</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>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="no-style sortable full">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap"><strong>HU / AU:</strong></td>
<td nowrap="nowrap">
<input type="text" name="humonat" value="{$fahrzeug.hudate|date_format:"%m"}" style="width:40px"/> /
<input type="text" name="hujahr" value="{$fahrzeug.hudate|date_format:"%Y"}" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">SFK:</td>
<td><input type="text" name="sfk" value="{$fahrzeug.sfk}" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">letze Kontrolle</h2></div>
<div class="panel-body">
<table class="table-hover">
<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>&Ouml;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>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<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>
<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>
<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>
</div>
</div>
<!-- ****************************************************************** Einstellungsart -->
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><input style="margin-right: "type="submit" name="save" value="Fahrzeugdaten Speichern" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
</div>
</form>
{/if}