116 lines
5.6 KiB
PHP
Executable File
116 lines
5.6 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:26
|
|
compiled from "./templates/forms/search-facturas-gral.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:706842315540e3db62de355-73033881%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'0bb4af7b6a08bf0bd100990686f32ace0626f12c' =>
|
|
array (
|
|
0 => './templates/forms/search-facturas-gral.tpl',
|
|
1 => 1410130452,
|
|
),
|
|
),
|
|
'nocache_hash' => '706842315540e3db62de355-73033881',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
|
|
<div class="clear"></div>
|
|
<div id="portlets">
|
|
<!--THIS IS A WIDE PORTLET-->
|
|
<div class="portlet">
|
|
|
|
<div class="portlet-content nopadding">
|
|
<form name="frmBusqueda" id="frmBusqueda" method="post" action="">
|
|
<input type="hidden" name="type" id="type" value="buscar" />
|
|
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
|
|
<thead>
|
|
<tr>
|
|
<th width="76" scope="col"><div align="center">RFC</div></th>
|
|
<th width="" scope="col"><div align="center">Nombre</div></th>
|
|
<th width="129" scope="col"><div align="center">Mes</div></th>
|
|
<th width="79" scope="col"><div align="center">Año</div></th>
|
|
<th width="123" scope="col"><div align="center">Status</div></th>
|
|
<th width="90" scope="col"><div align="center">Comprobante</div></th>
|
|
<th width="90" scope="col"><div align="center">Sucursal</div></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center">
|
|
<input type="text" size="12" name="rfc" id="rfc" class="smallInput" maxlength="12" onkeyup="CheckKey(event)" />
|
|
</td>
|
|
<td align="center">
|
|
<input type="text" size="15" name="nombre" id="nombre" class="smallInput" maxlength="30" onkeyup="CheckKey(event)" />
|
|
</td>
|
|
<td align="center">
|
|
<select name="mes" id="mes" class="smallInput">
|
|
<option value="0">Todos</option>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('meses')->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['id'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</option>
|
|
<?php }} ?>
|
|
</select>
|
|
</td>
|
|
<td align="center">
|
|
<input type="text" size="4" name="anio" id="anio" maxlength="4" class="smallInput" onkeyup="CheckKey(event)" />
|
|
</td>
|
|
<td align="center">
|
|
<select name="status" id="status" class="smallInput">
|
|
<option value="">Todos</option>
|
|
<option value="1">Activos</option>
|
|
<option value="0">Cancelados</option>
|
|
</select>
|
|
</td>
|
|
<td align="center">
|
|
<select name="tiposComprobanteId" id="tiposComprobanteId" class="smallInput">
|
|
<option value="0">Todos</option>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('tiposComprobantes')->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['tiposComprobanteId'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</option>
|
|
<?php }} ?>
|
|
</select>
|
|
</td>
|
|
<td align="center">
|
|
<select name="idSucursal" id="idSucursal" class="smallInput">
|
|
<option value="">Seleccione</option>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('sucursales')->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>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="7" align="center" style="border-top:none">
|
|
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Buscar()" />
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|