<form action="{$LINK}&is_insert=1&rm_ids={$rm_ids}" method="post" >
|
<table summary="T" style="border:1px #666 solid;" width="70%" cellpadding="0" cellspacing="3">
|
<tr><td width="60%" valign="top">
|
|
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
|
|
<tr><td class="fixed" align="center" colspan="7"><b>{$NameTable}</b></td></tr>
|
|
<tr class="fixed" align="center">
|
{section name=sec loop=$ASU_CAB_NAMES}
|
{if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
|
<td style="text-size:small;FONT-WEIGHT: normal;">
|
{if $ASU_CAB_IS_COMMON[sec]}
|
{$ASU_CAB_IS_COMMON[sec][1]}
|
{else}
|
{$ASU_CAB_NAMES[sec]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
</tr>
|
|
{section name=sec loop=$GRID_RESULTS}
|
<tr>
|
{section name=sec2 loop=$GRID_RESULTS[sec]}
|
{if $smarty.section.sec2.rownum<10}
|
<td {if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
|
{if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}
|
{$smarty.section.sec.rownum}
|
{else}
|
{$GRID_RESULTS[sec][sec2]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
|
</tr>
|
{/section}
|
|
</table>
|
|
{if $NameTable3}
|
<table summary="T" style="border:1px #666 solid;margin-top:10px;" width="100%" cellpadding="0" cellspacing="1">
|
<tr><td class="fixed" align="center" colspan="7"><b>{$NameTable3}</b></td></tr>
|
|
<tr class="fixed" align="center">
|
{section name=sec loop=$ASU_CAB_NAMES3}
|
{if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
|
<td style="text-size:small;FONT-WEIGHT: normal;">
|
{if $ASU_CAB_IS_COMMON[sec]}
|
{$ASU_CAB_IS_COMMON[sec][1]}
|
{else}
|
{$ASU_CAB_NAMES3[sec]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
</tr>
|
|
{section name=sec loop=$GRID_RESULTS3}
|
<tr>
|
{section name=sec2 loop=$GRID_RESULTS3[sec]}
|
{if $smarty.section.sec2.rownum<10}
|
<td {if $ASU_CAB_RESULTS_NUMIRATION3 && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS3[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
|
{if $ASU_CAB_RESULTS_NUMIRATION3 && $smarty.section.sec2.rownum==1}
|
{$smarty.section.sec.rownum}
|
{else}
|
{$GRID_RESULTS3[sec][sec2]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
</tr>
|
{/section}
|
|
</table>
|
{/if}
|
|
</td>
|
|
{if $NameTable2}
|
<!-- отображение существующих на складах -->
|
<td valign="top">
|
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
|
<tr><td class="fixed" align="center" colspan="6"><b>{$NameTable2}</b></td></tr>
|
|
<tr class="fixed" align="center">
|
{section name=sec loop=$ASU_CAB_NAMES2}
|
{if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
|
<td style="text-size:small;FONT-WEIGHT: normal;">
|
{if $ASU_CAB_IS_COMMON[sec]}
|
{$ASU_CAB_IS_COMMON[sec][1]}
|
{else}
|
{$ASU_CAB_NAMES2[sec]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
</tr>
|
|
{section name=sec loop=$GRID_RESULTS2}
|
<tr>
|
{section name=sec2 loop=$GRID_RESULTS2[sec]}
|
{if $smarty.section.sec2.rownum<10}
|
<td {if $ASU_CAB_RESULTS_NUMIRATION2 && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS2[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
|
{if $ASU_CAB_RESULTS_NUMIRATION2 && $smarty.section.sec2.rownum==1}
|
{$smarty.section.sec.rownum}
|
{else}
|
{$GRID_RESULTS2[sec][sec2]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
|
</tr>
|
{/section}
|
|
</table>
|
</td></tr>
|
{/if}
|
|
<tr><td align="left" colspan="2">
|
<input type="hidden" name="OK" value="1" />
|
<input type="hidden" name="Lager" value="{$Lager}" />
|
<input type="hidden" name="mat_id" value="{$mat_id}" />
|
<input type="hidden" name="count" value="{$count}" />
|
<input type="hidden" name="SNold" value="{$SNold}" />
|
<input type="hidden" name="SNnew" value="{$SNnew}" />
|
|
<input type="submit" class="btn btn-info" name="MoveTo" onclick="if (window.isOKPress) this.disabled = true; else window.isOKPress = true;" value="{$btn_Close}" />
|
<input type="button" class="btn btn-info" name="back" onclick="history.go(-1);" value="{$btn_Back}" />
|
<input type="submit" class="btn btn-info" name="next" onclick="if (window.isOKPress) this.disabled = true; else window.isOKPress = true;" value="{$btn_Next}" />
|
</td></tr>
|
|
</table>
|
</form>
|