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

View File

@@ -0,0 +1,115 @@
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:55:28
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/filtro-pago.tpl" */ ?>
<?php /*%%SmartyHeaderCode:106670341536100d0e41113-09200615%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fd2f6de4be1a0d4ca97915bee3b268e77dce8985' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/filtro-pago.tpl',
1 => 1385483423,
),
),
'nocache_hash' => '106670341536100d0e41113-09200615',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<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="<?php echo $_smarty_tpl->getVariable('dateNow')->value;?>
"/>
</div>
<div style="float:left; padding-left:10px; padding-top:5px">
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/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="<?php echo $_smarty_tpl->getVariable('dateNow')->value;?>
"/>
</div>
<div style="float:left; padding-left:10px; padding-top:5px">
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/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>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('resFpago')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['metodoPagoId'];?>
"> <?php echo utf8_encode($_smarty_tpl->getVariable('item')->value['nombre']);?>
</option>
<?php }} ?>
</select>
</div>
</td>
<td>
<div style="text-align:center">
<?php if ($_smarty_tpl->getVariable('tipo')->value=="admin"){?>
<select name="idSucursal" id="idSucursal" class="largeInput" style="width:200px">
<option selected="selected" value=""> Todas</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('resSuc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
"> <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="gerente"||$_smarty_tpl->getVariable('tipo')->value=="vendedor"){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('resSuc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
"/>
<input type="hidden" name="idSucursal" id="idSucursal" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
"/>
<?php }} ?>
<?php }?>
</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="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
</td>
</tr>
</tbody>
</table>
</form>