Primer commit del sistema avantika sin cambios
This commit is contained in:
88
templates/lists/pedidos-proporciones.tpl
Executable file
88
templates/lists/pedidos-proporciones.tpl
Executable file
@@ -0,0 +1,88 @@
|
||||
<table width="" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="120" align="center" height="30"><b>Color / Talla</b></td>
|
||||
<td width="80" align="center"><b>Prop. Color</b></td>
|
||||
{foreach from=$tallas item=item key=key}
|
||||
<td align="left" width="90">
|
||||
{if $item.id > 0}
|
||||
<div align="center"><b>{$item.nombre}</b></div>
|
||||
<input type="hidden" name="proporcionNT[{$key}]" id="proporcionNT_{$key}" value="{$item.nombre}" />
|
||||
{else}
|
||||
<input type="text" class="smallInput" name="proporcionNT[{$key}]" id="proporcionNT_{$key}" value="{$item.nombre}" style="width:60px" />
|
||||
<a href="javascript:void(0)" onclick="DelTalla({$key})">
|
||||
<img src="{$WEB_ROOT}/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
{/if}
|
||||
<input type="hidden" name="proporcionIT[{$key}]" id="proporcionIT_{$key}" value="{$item.id}" />
|
||||
</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" height="30"><b>Prop. Talla</b></td>
|
||||
<td align="center"></td>
|
||||
{foreach from=$tallas item=item key=key}
|
||||
<td align="left">
|
||||
<input type="text" class="smallInput" name="proporcionT[{$key}]" id="proporcionT_{$key}" value="{$item.cantidad}" style="width:60px" />
|
||||
</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{foreach from=$colores item=c key=idC}
|
||||
<tr>
|
||||
<td align="center" height="30">
|
||||
{if $c.id > 0}
|
||||
<div align="center"><b>{$c.nombre}</b></div>
|
||||
<input type="hidden" name="proporcionNC[{$idC}]" id="proporcionNC_{$idC}" value="{$c.nombre}" />
|
||||
{else}
|
||||
<input type="text" class="smallInput" name="proporcionNC[{$idC}]" id="proporcionNC_{$idC}" value="{$c.nombre}" style="width:60px" />
|
||||
<a href="javascript:void(0)" onclick="DelColor({$idC})">
|
||||
<img src="{$WEB_ROOT}/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
{/if}
|
||||
<input type="hidden" name="proporcionIC[{$idC}]" id="proporcionIC_{$idC}" value="{$c.id}" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" class="smallInput" name="proporcionC[{$idC}]" id="proporcionC_{$idC}" value="{$c.cantidad}" style="width:60px" />
|
||||
</td>
|
||||
{foreach from=$tallas item=t key=idT}
|
||||
<td align="center">{$subtotales[{$idT}][{$idC}]}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr>
|
||||
<td align="center" height="30"><b>Total</b></td>
|
||||
<td align="center"></td>
|
||||
{foreach from=$tallas item=item key=idT}
|
||||
<td align="center">{$totales[{$idT}]}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="tblLoader"></div>
|
||||
|
||||
{if $productoId}
|
||||
|
||||
<div align="center">
|
||||
<input type="button" name="btnUpdate" onclick="UpdateProporcion()" value="Actualizar Proporciones" style="padding:10px" />
|
||||
</div>
|
||||
<br />
|
||||
<table width="300" cellpadding="0" cellspacing="0" border="0">
|
||||
{*}
|
||||
<tr>
|
||||
<td align="left" height="40">Tamaño del Lote:</td>
|
||||
<td align="left">
|
||||
<div class="txtFrm" style="width:80px">{$totalLote}</div>
|
||||
<input type="hidden" name="totalLote" id="totalLote" value="{$totalLote}" />
|
||||
</td>
|
||||
</tr>
|
||||
{*}
|
||||
<tr>
|
||||
<td align="left">Cant. de Prendas a adquirir:</td>
|
||||
<td align="left">
|
||||
<input name="cantPrendas" id="cantPrendas" type="text" class="largeInput" style="width:80px" value="" />
|
||||
<input type="hidden" name="cantLotes" id="cantLotes" value="1" />
|
||||
<input type="hidden" name="totalLote" id="totalLote" value="{$totalLote}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
Reference in New Issue
Block a user