95 lines
3.9 KiB
Smarty
Executable File
95 lines
3.9 KiB
Smarty
Executable File
<form name="formProdProv" id="formProdProv" method="post" action="export/prod-prov2.php">
|
|
<input type="hidden" name="type" id="type" value="tipoProdProv" />
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
|
<thead>
|
|
<tr>
|
|
<th align="center" width="200"><div align="center">Fecha Inicial</div></th>
|
|
<th align="center" width="200"><div align="center">Fecha Final</div></th>
|
|
<th align="center" width="220"><div align="center">Tipo</div></th>
|
|
<th align="center" width=""><div align="center">Sucursal</div></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<div style="float:left; padding-left:45px">
|
|
<input type="text" name="fechaI" id="fechaI" class="smallInput" style="width:70px" maxlength="10" value=""/>
|
|
</div>
|
|
<div style="float:left;padding-left:15px;padding-top:5px">
|
|
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
|
|
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div style="float:left; padding-left:45px">
|
|
<input type="text" name="fechaF" id="fechaF" class="smallInput" style="width:70px" maxlength="10" value=""/>
|
|
</div>
|
|
<div style="float:left;padding-left:15px;padding-top:5px">
|
|
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
|
|
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<select name="orden" id="orden" class="smallInput">
|
|
<option value="mayor">Más Vendidos</option>
|
|
<option value="menor">Menos Vendidos</option>
|
|
</select>
|
|
</td>
|
|
<td align="center">
|
|
<select name="idSucursal" id="idSucursal" class="smallInput" style="width:200px">
|
|
<option selected="selected" value=""> Todas</option>
|
|
{foreach from=$sucursales item=item key=key}
|
|
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
|
<thead>
|
|
<tr>
|
|
<th align="center" width="180"><div align="center">Código Barra</div></th>
|
|
<th align="center" width="220"><div align="center">Departamento</div></th>
|
|
<th align="center" width="220"><div align="center">Línea</div></th>
|
|
<th align="center"><div align="center">Proveedor</div></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center">
|
|
<input type="text" class="smallInput" name="codigoBarra" id="codigoBarra" />
|
|
</td>
|
|
<td>
|
|
<select name="prodCatId" id="prodCatId" class="smallInput" style="width:200px" onchange="LoadProdSubcats()">
|
|
<option value="">Todos</option>
|
|
{foreach from=$categorias item=item key=key}
|
|
<option value="{$item.prodCatId}">{$item.nombre}</option>
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
<td align="center"><div id="enumSubcats">{include file="{$DOC_ROOT}/templates/lists/enumProdSubcat3.tpl"}</div></td>
|
|
<td align="center">
|
|
<select name="idProveedor" id="idProveedor" class="smallInput" style="width:200px !important">
|
|
<option value="">Todos</option>
|
|
{foreach from=$proveedores item=item}
|
|
<option value="{$item.proveedorId}">{$item.proveedorId|str_pad:3:"0":$smarty.const.STR_PAD_LEFT} {$item.nombre}</option>
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" colspan="4">
|
|
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteProdProv2()"/>
|
|
<div style="float:right; padding-right:50px">
|
|
<a href="javascript:void(0)" onclick="ExportProdProv2()" title="Exportar Reporte">
|
|
<img src="{$WEB_ROOT}/images/icons/excel.png" border="0"/>
|
|
</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form> |