Files
ventas_php/templates/lists/envios-recibir-mercancia.tpl

36 lines
2.0 KiB
Smarty
Executable File

<form name="frmRecibir" id="frmRecibir">
<input type="hidden" name="type" id="type" value="recibirMercancia" />
<input type="hidden" name="envioId" id="envioId" value="{$info.envioId}" />
<table width="850" cellpadding="0" cellspacing="0" border="1">
<tr>
<td width="100" align="center" height="30"><b>No. Orden de Compra</b></td>
<td width="150" align="center" height="30"><b>C&oacute;digo Barra</b></td>
<td width="" align="center"><b>Modelo</b></td>
<td width="60" align="center"><b>No. <br /> Cajas</b></td>
<td width="100" align="center"><b>No. Prendas Enviadas</b></td>
<td width="100" align="center"><b>No. de Prendas Recibidas</b></td>
<td width="100" align="center"><b>Faltantes</b></td>
</tr>
{foreach from=$productos item=item key=key}
<tr>
<td align="center" height="30">{$item.noPedido}</td>
<td align="center" height="30">{$item.codigoBarra}</td>
<td align="center">{$item.modelo}</td>
<td align="center">{$item.cajas}</td>
<td align="center">{$item.cantPrendas}</td>
<td align="center">
<input type="text" name="cantPrendas_{$item.pedidoId}_{$item.productoId}" id="cantPrendas_{$item.pedidoId}_{$item.productoId}" class="smallInput" style="width:80px" onblur="UpdateFaltantes({$item.pedidoId},{$item.productoId})" value="{$item.cantPrendas}" readonly="readonly" />
<input type="hidden" name="noPrendasEnv_{$item.pedidoId}_{$item.productoId}" id="noPrendasEnv_{$item.pedidoId}_{$item.productoId}" value="{$item.cantPrendas}" />
</td>
<td align="center">
<input type="text" name="faltantes_{$item.pedidoId}_{$item.productoId}" id="faltantes_{$item.pedidoId}_{$item.productoId}" class="smallInput" style="width:80px;background-color:#DBDBDB" readonly="readonly" value="0" />
<input type="hidden" name="idProds[]" value="{$item.pedidoId}_{$item.productoId}" />
</td>
</tr>
{foreachelse}
<tr>
<td colspan="7" align="center" height="30">Ning&uacute;n registro encontrado.</td>
</tr>
{/foreach}
</table>
</form>