Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:58:14
|
||||
compiled from "./templates/forms/search-ventas-central.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1368902320540f5bd6b32576-18599699%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b223a194f682f48b97a17ba5db422ee24a390bdb' =>
|
||||
array (
|
||||
0 => './templates/forms/search-ventas-central.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1368902320540f5bd6b32576-18599699',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<form name="frmSearch" id="frmSearch">
|
||||
<input type="hidden" name="action" id="action" value="searchVentas" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"><div align="center">Sucursal</div></th>
|
||||
<th align="center"><div align="center">Usuario</div></th>
|
||||
<th align="center"><div align="center">Fecha Inicial</div></th>
|
||||
<th align="center"><div align="center">Fecha Final</div></th>
|
||||
<th align="center"><div align="center"></div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<select name="sucursalId2" id="sucursalId2" class="smallInput" style="width:200px" onchange="LoadUsers()">
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="cajero"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>
|
||||
<option value="">Seleccione</option>
|
||||
<?php }?>
|
||||
<?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 if ($_smarty_tpl->getVariable('post')->value['sucursalId']==$_smarty_tpl->getVariable('item')->value['sucursalId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div id="enumUsr">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumUsers.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div style="float:left; padding-left:60px">
|
||||
<input type="text" name="fechaIni2" id="fechaIni2" class="smallInput" style="width:100px" value="<?php echo $_smarty_tpl->getVariable('fechaHoy')->value;?>
|
||||
" />
|
||||
</div>
|
||||
<div style="float:left; padding-left:5px; padding-top:10px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaIni2','ddmmyyyy')">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div style="float:left; padding-left:60px">
|
||||
<input type="text" name="fechaFin2" id="fechaFin2" class="smallInput" style="width:100px" value="<?php echo $_smarty_tpl->getVariable('fechaHoy')->value;?>
|
||||
" />
|
||||
</div>
|
||||
<div style="float:left; padding-left:5px; padding-top:10px">
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaFin2','ddmmyyyy')">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/calendar.gif" /></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="SearchCentral()" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
Reference in New Issue
Block a user