Files
ventas_php/templates_c/a3dbefc02f3f9363cd61ea8ed29895f257c2dda2.file.search-facturas-mens.tpl.php

95 lines
4.3 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
compiled from "./templates/forms/search-facturas-mens.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12032801415411bfd81632c9-11600139%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a3dbefc02f3f9363cd61ea8ed29895f257c2dda2' =>
array (
0 => './templates/forms/search-facturas-mens.tpl',
1 => 1410130452,
),
),
'nocache_hash' => '12032801415411bfd81632c9-11600139',
'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="buscarMens" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="150" scope="col"></th>
<th width="129" scope="col"><div align="center">Mes</div></th>
<th width="79" scope="col"><div align="center">A&ntilde;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="" scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"></td>
<td align="center">
<select name="mes" id="mes" class="largeInput">
<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="largeInput" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="status" id="status" class="largeInput">
<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="largeInput">
<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"></td>
</tr>
<tr>
<td colspan="6" align="center" style="border-top:none">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Buscar()" />
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>