Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

68
templates/forms/filtro-pago.tpl Executable file
View File

@@ -0,0 +1,68 @@
<form name="formPago" id="formPago" method="post" action="export/exportarexcel.php">
<input type="hidden" name="type" id="type" value="tipoPago" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center" colspan="2" width="50%"><div align="center">Periodo</div></th>
<th align="center" colspan="1" width="25%"><div align="center">Forma de Pago</div></th>
<th align="center" colspan="1" width="25%"><div align="center">Sucursal</div></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div style="float:left">
Inicial:<input style="text-align:center" type="text" name="fechaI" id="fechaI" class="smallInput" style="width:120px" maxlength="10" readonly="readonly" value="{$dateNow}"/>
</div>
<div style="float:left; padding-left:10px; 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 style="text-align:center" type="text" name="fechaF" id="fechaF" class="smallInput" style="width:120px" maxlength="10" readonly="readonly" value="{$dateNow}"/>
</div>
<div style="float:left; padding-left:10px; padding-top:5px">
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
</div>
</td>
<td>
<div style="text-align:center">
<select name="formaPago" id="formaPago" class="largeInput" style="width:200px">
<option selected="selected" value="">Todas</option>
{foreach from=$resFpago item=item key=key}
<option value="{$item.metodoPagoId}"> {$item.nombre|utf8_encode}</option>
{/foreach}
</select>
</div>
</td>
<td>
<div style="text-align:center">
{if $tipo == "admin"}
<select name="idSucursal" id="idSucursal" class="largeInput" style="width:200px">
<option selected="selected" value=""> Todas</option>
{foreach from=$resSuc item=item key=key}
<option value="{$item.sucursalId}"> {$item.nombre}</option>
{/foreach}
</select>
{elseif $tipo eq "gerente" || $tipo eq "vendedor"}
{foreach from=$resSuc item=item key=key}
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="{$item.nombre}"/>
<input type="hidden" name="idSucursal" id="idSucursal" value="{$item.sucursalId}"/>
{/foreach}
{/if}
</div>
</td>
</tr>
<tr>
<td align="center" colspan="4">
<input type="button" name="btnReporteTempo" id="btnReporteTempo" value="Generar" class="btnSearch" onclick="ReporteFpago()"/>
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportFpago(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
</td>
</tr>
</tbody>
</table>
</form>