Primer commit del sistema avantika sin cambios
This commit is contained in:
68
templates/forms/filtro-reporte-ventasProveedor.tpl
Executable file
68
templates/forms/filtro-reporte-ventasProveedor.tpl
Executable file
@@ -0,0 +1,68 @@
|
||||
<form name="formVendProv" id="formVendProv" method="post" action="export/ventas-proveedor.php">
|
||||
<input type="hidden" name="type" id="type" value="tipoVentasProv" />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="480" align="center" colspan="2"><div align="center">Periodo</div></th>
|
||||
<th width="200" align="center"><div align="center">Proveedor</div></th>
|
||||
<th width="200" align="center"><div align="center">Sucursal</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="float:left">
|
||||
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</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">
|
||||
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
|
||||
</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="idProveedor" id="idProveedor" class="largeInput" style="width:200px !important">
|
||||
<option value="">Todos</option>
|
||||
{foreach from=$resProveedor item=item}
|
||||
<option value="{$item.proveedorId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
|
||||
{if $tipo eq "admin"}
|
||||
<td align="center">
|
||||
<select name="idSucursal" id="idSucursal" class="largeInput">
|
||||
<option selected="selected" value="">Todas</option>
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<option value="{$item.sucursalId}"> {$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
{elseif $tipo eq "gerente"}
|
||||
<td align="center">
|
||||
{foreach from=$resSuc item=item key=key}
|
||||
<input type="text" disabled="disabled" style="text-align:center" name="nomSuc" id="nomSuc" class="smallInput" value="{$item.nombre}"/>
|
||||
<input type="hidden" name="idSucursal" id="idSucursal" value="{$item.sucursalId}"/>
|
||||
{/foreach}
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="ReporteVentasProv();"/>
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportVentasProv(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
Reference in New Issue
Block a user