<table summary="Table" style="margin-top:3px;border:1px #666 solid;" width="100%">
|
<tr><td class="fixed" style="color:green;" align="center" colspan="{if $is_edit}{$ZUGE_NUM}{else}{$ZUGE_NUM}{/if}">{$ZUGE_N_TN}:</td></tr>
|
|
{if $is_edit}
|
<tr>
|
<td class="fixed" align="center" colspan="4"> </td>
|
<td class="fixed" align="center" colspan="2">{$ZUGE_N_ADD[0]}</td>
|
<td class="fixed" align="center" colspan="2">{$ZUGE_N_ADD[1]}</td>
|
<td class="fixed" align="center" colspan="1"> </td>
|
<!--td class="fixed" align="center" colspan="2">{$ZUGE_N_ADD[1]} (<input type="checkbox" id="cascad" checked /> {$cascad})</td-->
|
</tr>
|
{/if}
|
|
<tr>
|
{section name=sec loop=$ZUGE_N}
|
{if $smarty.section.sec.rownum==$smarty.section.sec.total && $is_edit}
|
<td class="fixed" align="center">{$ZUGE_N[4]}</td>
|
<td class="fixed" align="center">{$ZUGE_N[5]}</td>
|
<td class="fixed" align="center">{$ZUGE_N[sec]}</td>
|
{else}<td class="fixed" align="center">{$ZUGE_N[sec]}</td>{/if}
|
{/section}
|
</tr>
|
|
{section name=sec loop=$ZUGE}
|
<tr style="text-size:small;background-color:#{if $smarty.section.sec.rownum%2==1}AADDFF{else}BFF7FF{/if};" align="center">
|
{section name=sec2 loop=$ZUGE[sec]}
|
{if $smarty.section.sec2.rownum<=8}
|
{if $smarty.section.sec2.rownum!=1}
|
<td>
|
{if $smarty.section.sec2.rownum==8 && $is_edit}
|
<a href="#"id="fcalt{$ZUGE[sec][0]}"><img onclick='Calendar.setup({literal}{{/literal}"ifFormat":"%d.%m.%Y %H:%M:%S","daFormat":"%d.%m.%Y","firstDay":1,"showsTime":true,"showOthers":true,"timeFormat":24,"inputField":"date_{$ZUGE[sec][0]}","button":"fcalt{$ZUGE[sec][0]}"{literal}}{/literal});' src="scripts/jscalendar/img.gif" alt="" /></a>
|
<input type="text" size="16" style="border:2px green solid;" onchange="GID('date_{$ZUGE[sec][0]}').style.border='2px solid red';" name="date_{$ZUGE[sec][0]}" maxlength="19" id="date_{$ZUGE[sec][0]}" value="{$ZUGE[sec][7]}" onkeypress="if (event.keyCode==13) {literal}{{/literal}xajax_EditDateKilo('date_{$ZUGE[sec][0]}', 'kilo_{$ZUGE[sec][0]}', {$ZUGE[sec][0]}, GID('date_{$ZUGE[sec][0]}').value, GID('kilo_{$ZUGE[sec][0]}').value, /*(GID('cascad').checked)?1:0*/0, {$FM_ID});{literal}}{/literal}" /></td><td>
|
<input type="text" size="8" style="border:2px green solid;" onchange="GID('kilo_{$ZUGE[sec][0]}').style.border='2px solid red';" name="kilo_{$ZUGE[sec][0]}" maxlength="9" id="kilo_{$ZUGE[sec][0]}" value="{$ZUGE[sec][6]}" onkeypress="if (event.keyCode==13) {literal}{{/literal}xajax_EditDateKilo('date_{$ZUGE[sec][0]}', 'kilo_{$ZUGE[sec][0]}', {$ZUGE[sec][0]}, GID('date_{$ZUGE[sec][0]}').value, GID('kilo_{$ZUGE[sec][0]}').value, /*(GID('cascad').checked)?1:0*/0, {$FM_ID});{literal}}{/literal}" />
|
<button class="btn btn-info" onclick="GID('kilo_{$ZUGE[sec][0]}').onkeypress({literal}{keyCode:13}{/literal});return false;" title="{$apply}"><span class="glyphicon glyphicon-edit"></span></button>
|
</td><td>{$ZUGE[sec][12]}
|
{elseif $smarty.section.sec2.rownum==$smarty.section.sec2.total}
|
{else}{$ZUGE[sec][sec2]}{/if}
|
</td>
|
{/if}
|
{/if}
|
{/section}
|
</tr>
|
{/section}
|
|
</table>
|
|
|
<table summary="Table" style="margin-top:3px;border:1px #666 solid;" width="100%">
|
<tr><td class="fixed" style="color:green;" align="center" colspan="{if $is_edit}{$WH_ZUGE_NUM}{else}{$WH_ZUGE_NUM}{/if}">{$WH_ZUGE_N_TN}:</td></tr>
|
|
{if $is_edit}
|
<tr>
|
<td class="fixed" align="center" colspan="5"> </td>
|
<td class="fixed" align="center" colspan="2">{$WH_ZUGE_N_ADD[0]}</td>
|
<td class="fixed" align="center" colspan="2">{$ZUGE_N_ADD[1]}</td>
|
<td class="fixed" align="center" colspan="1"> </td>
|
<!--td class="fixed" align="center" colspan="2">{$WH_ZUGE_N_ADD[1]} (<input type="checkbox" id="cascad" checked /> {$cascad})</td-->
|
</tr>
|
{/if}
|
|
<tr>
|
{section name=sec loop=$WH_ZUGE_N}
|
{if $smarty.section.sec.rownum==$smarty.section.sec.total && $is_edit}
|
<td class="fixed" align="center">{$WH_ZUGE_N[5]}</td>
|
<td class="fixed" align="center">{$WH_ZUGE_N[6]}</td>
|
<td class="fixed" align="center">{$WH_ZUGE_N[sec]}</td>
|
{else}<td class="fixed" align="center">{$WH_ZUGE_N[sec]}</td>{/if}
|
{/section}
|
</tr>
|
|
{section name=sec loop=$WH_ZUGE}
|
<tr style="text-size:small;background-color:#{if $smarty.section.sec.rownum%2==1}AADDFF{else}BFF7FF{/if};" align="center">
|
{section name=sec2 loop=$WH_ZUGE[sec]}
|
{if $smarty.section.sec2.rownum<=9}
|
{if $smarty.section.sec2.rownum!=1}
|
<td>
|
{if $smarty.section.sec2.rownum==9 && $is_edit}
|
<a href="#"id="fcalt{$WH_ZUGE[sec][0]}"><img onclick='Calendar.setup({literal}{{/literal}"ifFormat":"%d.%m.%Y %H:%M:%S","daFormat":"%d.%m.%Y","firstDay":1,"showsTime":true,"showOthers":true,"timeFormat":24,"inputField":"wh_date_{$WH_ZUGE[sec][0]}","button":"fcalt{$WH_ZUGE[sec][0]}"{literal}}{/literal});' src="scripts/jscalendar/img.gif" alt="" /></a>
|
<input type="text" size="16" style="border:2px green solid;" onchange="GID('wh_date_{$WH_ZUGE[sec][0]}').style.border='2px solid red';" name="wh_date_{$WH_ZUGE[sec][0]}" maxlength="19" id="wh_date_{$WH_ZUGE[sec][0]}" value="{$WH_ZUGE[sec][8]}" onkeypress="if (event.keyCode==13) {literal}{{/literal}xajax_EditWH('wh_date_{$WH_ZUGE[sec][0]}', 'wh_kilo_{$WH_ZUGE[sec][0]}', {$WH_ZUGE[sec][0]}, GID('wh_date_{$WH_ZUGE[sec][0]}').value, GID('wh_kilo_{$WH_ZUGE[sec][0]}').value, /*(GID('cascad').checked)?1:0*/0, {$FM_ID});{literal}}{/literal}" /></td><td>
|
<input type="text" size="8" style="border:2px green solid;" onchange="GID('wh_kilo_{$WH_ZUGE[sec][0]}').style.border='2px solid red';" name="wh_kilo_{$WH_ZUGE[sec][0]}" maxlength="9" id="wh_kilo_{$WH_ZUGE[sec][0]}" value="{$WH_ZUGE[sec][9]}" onkeypress="if (event.keyCode==13) {literal}{{/literal}xajax_EditWH('wh_date_{$WH_ZUGE[sec][0]}', 'wh_kilo_{$WH_ZUGE[sec][0]}', {$WH_ZUGE[sec][0]}, GID('wh_date_{$WH_ZUGE[sec][0]}').value, GID('wh_kilo_{$WH_ZUGE[sec][0]}').value, /*(GID('cascad').checked)?1:0*/0, {$FM_ID});{literal}}{/literal}" />
|
<button class="btn btn-info" onclick="GID('wh_kilo_{$WH_ZUGE[sec][0]}').onkeypress({literal}{keyCode:13}{/literal});return false;" title="{$apply}"><span class="glyphicon glyphicon-edit"></span></button>
|
</td><td>{$WH_ZUGE[sec][10]}
|
{elseif $smarty.section.sec2.rownum==$smarty.section.sec2.total}
|
{else}{$WH_ZUGE[sec][sec2]}{/if}
|
</td>
|
{/if}
|
{/if}
|
{/section}
|
</tr>
|
{/section}
|
|
</table>
|
|
|
{if $ZUGE_kilo}
|
<table summary="Table" style="margin-top:5px;border:1px #666 solid;" width="{$VAGS_NUM*10}%" cellpadding="0" cellspacing="0">
|
<tr style="border-bottom:1px #666 solid;">
|
<td class="fixed" align="center" width="100%" colspan="{$VAGS_NUM}">{$VAGS_N_TN}:</td>
|
</tr>
|
|
<tr align="center">
|
<td style="border-top:1px #666 solid;" width="40px"> </td>
|
{section name=sec loop=$ZUGE_ALL}
|
<td style="border-left:1px #666 solid;border-top:1px #666 solid;">
|
{if $ZUGE_ALL[sec][10]}<img src="{$HOST}/download/Materials/small/{$ZUGE_ALL[sec][10]}" alt="" height="30" />{else} {/if}
|
</td>
|
{/section}
|
</tr>
|
<tr align="center">
|
<td style="border-top:1px #666 solid;" align="center">Fzg.Nr.:</td>
|
{section name=sec loop=$ZUGE_n}
|
<td style="border-left:1px #666 solid;border-top:1px #666 solid;">
|
{$ZUGE_n[sec]}
|
</td>
|
{/section}
|
</tr>
|
<tr align="center">
|
<td style="border-top:1px #666 solid;" align="center">km-Stand:</td>
|
{section name=sec loop=$ZUGE_kilo}
|
<td style="border-left:1px #666 solid;border-top:1px #666 solid;">
|
{$ZUGE_kilo[sec]}
|
</td>
|
{/section}
|
</tr>
|
|
</table>
|
{else}Error view{/if}
|
|
<div id="div_grid_foot"></div>
|