Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:26:06
|
||||
compiled from "/var/www/html/templates/items/comisiones-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:132567159654205bae392d60-95478180%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'02c72624c6cca2be291ce069e2043ec1a4eed44c' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/comisiones-header.tpl',
|
||||
1 => 1410130453,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '132567159654205bae392d60-95478180',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<br />
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div align="center">ID</div></th>
|
||||
<th scope="col">Tipo de Usuario</th>
|
||||
<th scope="col"><div align="center">% Comision Rango Bajo</div></th>
|
||||
<th scope="col"><div align="center">% Comision Rango Alto</div></th>
|
||||
<th scope="col"><div align="center">Rango</div></th>
|
||||
<th scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
52
templates_c/0390f83576cc40b989c12a7362afcba143967e43.file.login.tpl.php
Executable file
52
templates_c/0390f83576cc40b989c12a7362afcba143967e43.file.login.tpl.php
Executable file
@@ -0,0 +1,52 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:46
|
||||
compiled from ".\templates\login.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2553540776b6564287-98705832%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0390f83576cc40b989c12a7362afcba143967e43' =>
|
||||
array (
|
||||
0 => '.\\templates\\login.tpl',
|
||||
1 => 1408525950,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2553540776b6564287-98705832',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="container_16">
|
||||
<div class="grid_6 prefix_5 suffix_5">
|
||||
|
||||
<div align="center" style="float:left; margin-left:20px; margin-top:10px; margin-bottom:5px">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/logo.png" width="300" height="66" />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<h1>Iniciar Sesión</h1>
|
||||
|
||||
<div id="login">
|
||||
<p class="error" id="errorLoginDiv"></p>
|
||||
<form id="loginForm" name="loginForm" method="post" action="">
|
||||
<p>
|
||||
<label><strong>Email</strong>
|
||||
<input type="text" name="email" class="inputText" id="email" value="@novomoda.com.mx" autofocus="autofocus" />
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
<label><strong>Password</strong>
|
||||
<input type="password" name="password" class="inputText" id="password" />
|
||||
</label>
|
||||
</p>
|
||||
<a class="black_button" style="width:51px;"><span id="login_0">Entrar </span></a>
|
||||
<label></label>
|
||||
</form>
|
||||
<br clear="all" />
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
47
templates_c/03b809a20f078d04868260eb319d8e3d1ce86a31.file.politicas.tpl.php
Executable file
47
templates_c/03b809a20f078d04868260eb319d8e3d1ce86a31.file.politicas.tpl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:00:59
|
||||
compiled from "./templates/lists/politicas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:614841871540f5c7b6677c8-24410747%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'03b809a20f078d04868260eb319d8e3d1ce86a31' =>
|
||||
array (
|
||||
0 => './templates/lists/politicas.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '614841871540f5c7b6677c8-24410747',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/politicas-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('politicas')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('politicas')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/politicas-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/politicas-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="5" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('atributos')->value['pages']);$_template->assign('colspan',5); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
|
||||
compiled from "./templates/lists/facturacion-mensual.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1336881245411bfd81cb287-27086654%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'03d6723c5f03d1329526234c7b218ae26c660410' =>
|
||||
array (
|
||||
0 => './templates/lists/facturacion-mensual.tpl',
|
||||
1 => 1410130459,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1336881245411bfd81cb287-27086654',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturacion-mensual-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('comprobantes')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['fact'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('comprobantes')->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['fact']->key => $_smarty_tpl->tpl_vars['fact']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['fact']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturacion-mensual-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturacion-mensual-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('comprobantes')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
51
templates_c/065d741cd487d5f79febb3b456a6bf7a4322aa36.file.submenu2.tpl.php
Executable file
51
templates_c/065d741cd487d5f79febb3b456a6bf7a4322aa36.file.submenu2.tpl.php
Executable file
@@ -0,0 +1,51 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
|
||||
compiled from "/var/www/html/templates/menus/submenu2.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1386752571540a15c1c1f202-27343885%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'065d741cd487d5f79febb3b456a6bf7a4322aa36' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/menus/submenu2.tpl',
|
||||
1 => 1410130461,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1386752571540a15c1c1f202-27343885',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/motivos" <?php if ($_smarty_tpl->getVariable('page')->value=="motivos"){?> class="current"<?php }?>>
|
||||
<span>Motivos Rechazo</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/promociones" <?php if ($_smarty_tpl->getVariable('page')->value=="promociones"){?> class="current"<?php }?>>
|
||||
<span>Promociones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/bonificacion-devolucion" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"){?> class="current"<?php }?>>
|
||||
<span>Politicas B/D</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/comisiones" <?php if ($_smarty_tpl->getVariable('page')->value=="comisiones"){?> class="current"<?php }?>>
|
||||
<span>Comisiones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?> class="current"<?php }?>>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -0,0 +1,140 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:42
|
||||
compiled from "./templates/forms/filtro-reporte-inventario.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1551088126540a16217354e5-32385621%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'06cd491f79c6e7fdb203e3ec24ab2c071c52d0b3' =>
|
||||
array (
|
||||
0 => './templates/forms/filtro-reporte-inventario.tpl',
|
||||
1 => 1410130451,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1551088126540a16217354e5-32385621',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
|
||||
?><form name="formInven" id="formInven" method="post" action="export/reporte-inventario.php">
|
||||
<input type="hidden" name="type" value="rInventario" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="200"><div align="center">Sucursal</div></th>
|
||||
<th align="center" width="250"><div align="center">Proveedor</div></th>
|
||||
<th align="center" width="200"><div align="center">Departamento</div></th>
|
||||
<th align="center" width="200"><div align="center">Línea</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<div style="text-align:center">
|
||||
<?php if ($_smarty_tpl->getVariable('tipo')->value=="admin"||$_smarty_tpl->getVariable('tipo')->value=="centralizador"||$_smarty_tpl->getVariable('tipo')->value=="compras"||$_smarty_tpl->getVariable('tipo')->value=="direccion"||$_smarty_tpl->getVariable('tipo')->value=="supervisor"){?>
|
||||
<select name="sucursal" id="sucursal" 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 utf8_decode($_smarty_tpl->getVariable('item')->value['nombre']);?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="gerente"){?>
|
||||
<?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="sucursal" id="sucursal" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
||||
"/>
|
||||
<?php }} ?>
|
||||
<?php }?>
|
||||
</div>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="proveedorId" id="proveedorId" class="largeInput" style="width:250px;">
|
||||
<option value="">Todos</option>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('proveedores')->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['proveedorId'];?>
|
||||
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="prodCatId" id="prodCatId" class="largeInput" style="width:200px;" onchange="LoadSubcats()">
|
||||
<option value="">Todos</option>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('departamentos')->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['prodCatId'];?>
|
||||
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div id="enumSubcats">
|
||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:200px;">
|
||||
<option value="">Todos</option>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('lineas')->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['prodSubcatId'];?>
|
||||
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center" colspan="2">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Rinventario()" />
|
||||
</td>
|
||||
<td align="center" colspan="1">
|
||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportInv(); return false;"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</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>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
|
||||
compiled from "/var/www/html/templates/items/usuarios-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:209720742954075a92225a08-72339617%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'07fcfd9716a3d57f77cbbca50b9d1ce20155dc05' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/usuarios-header.tpl',
|
||||
1 => 1410130456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '209720742954075a92225a08-72339617',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="" scope="col">Nombre</th>
|
||||
<th width="180" scope="col"><div align="center">Email</div></th>
|
||||
<th width="150" scope="col"><div align="center">Tipo</div></th>
|
||||
<th width="170" scope="col"><div align="center">Sucursal</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:21:51
|
||||
compiled from "./templates/forms/search-productos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:168687578540de5af7b1c00-51360221%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'096745835816b3347d2f63ea5f51eac923fa7de3' =>
|
||||
array (
|
||||
0 => './templates/forms/search-productos.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '168687578540de5af7b1c00-51360221',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
|
||||
?><table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="10%"></th>
|
||||
<th align="center" width="250"><div align="center">No. Prov.</div></th>
|
||||
<th align="center"><div align="center">Proveedor</div></th>
|
||||
<th align="center"><div align="center">Departamento</div></th>
|
||||
<th align="center"><div align="center">Modelo</div></th>
|
||||
<th align="center"><div align="center">Codigo de Barra</div></th>
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="text" class="largeInput" name="noProv" id="noProv" style="width:30px" maxlength="3" onkeyup="CheckKey(event)" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="proveedorId2" id="proveedorId2" class="largeInput">
|
||||
<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('proveedores')->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['proveedorId'];?>
|
||||
" <?php if ($_smarty_tpl->getVariable('info')->value['proveedorId']==$_smarty_tpl->getVariable('item')->value['proveedorId']){?>selected<?php }?>><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],25,"...");?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdCatSearch.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);?>
|
||||
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" size="35" name="word" id="word" class="largeInput" onkeyup="CheckKey(event)" style="width:180px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" size="35" name="codigoBarra" id="codigoBarra" class="largeInput" onkeyup="CheckKey(event)" style="width:100px" />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" align="center">
|
||||
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<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>
|
||||
483
templates_c/0a89338c0a1f2be78d247ab30e01d22deaafebde.file.submenu.tpl.php
Executable file
483
templates_c/0a89338c0a1f2be78d247ab30e01d22deaafebde.file.submenu.tpl.php
Executable file
@@ -0,0 +1,483 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
|
||||
compiled from "/var/www/html/templates/menus/submenu.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2191149145409fd009f6816-85522901%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0a89338c0a1f2be78d247ab30e01d22deaafebde' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/menus/submenu.tpl',
|
||||
1 => 1410130461,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2191149145409fd009f6816-85522901',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
" <?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?> class="current"<?php }?>>
|
||||
<span>Principal</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<?php if (($_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados")&&$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios" <?php if ($_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>class="current"<?php }?>>
|
||||
<span>Usuarios</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?>class="current"<?php }?>>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<?php }elseif($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
|
||||
<ul>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios" <?php if ($_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>class="current"<?php }?>>
|
||||
<span>Usuarios</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/metodos-pago" <?php if ($_smarty_tpl->getVariable('page')->value=="metodos-pago"){?>class="current"<?php }?>>
|
||||
<span>Métodos de Pago</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/clientes" <?php if ($_smarty_tpl->getVariable('page')->value=="clientes"){?>class="current"<?php }?>>
|
||||
<span>Clientes</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/proveedores" <?php if ($_smarty_tpl->getVariable('page')->value=="proveedores"){?>class="current"<?php }?>>
|
||||
<span>Proveedores</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos" <?php if ($_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"){?>class="current"<?php }?>>
|
||||
<span>Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/temporadas" <?php if ($_smarty_tpl->getVariable('page')->value=="temporadas"){?>class="current"<?php }?>>
|
||||
<span>Temporadas</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/materiales" <?php if ($_smarty_tpl->getVariable('page')->value=="materiales"){?>class="current"<?php }?>>
|
||||
<span>Materiales</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/cuentas-bancarias" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"){?>class="current"<?php }?>>
|
||||
<span>Cuentas Bancarias</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/atributos" <?php if ($_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="atributos-valores"){?> class="current"<?php }?>>
|
||||
<span>Atributos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/datos-generales" <?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"){?> class="current"<?php }?>>
|
||||
<span>Mi Empresa</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?> class="current"<?php }?>>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"||$_smarty_tpl->getVariable('page')->value=="pedidos-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-distribucion"||$_smarty_tpl->getVariable('page')->value=="pedidos-revivir"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"||$_smarty_tpl->getVariable('page')->value=="evaluar-pedidos"||$_smarty_tpl->getVariable('page')->value=="conciliaciones"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-pendientes"||$_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"){?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/pedidos" <?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"){?> class="current"<?php }?>>
|
||||
<span>Pedidos</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/cuentas-pagar" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-pagar"){?> class="current"<?php }?>>
|
||||
<span>Cuentas por Pagar</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/bonificaciones" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"){?> class="current"<?php }?>>
|
||||
<span>Bonificaciones/Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="direccion"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/bonificaciones" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"){?> class="current"<?php }?>>
|
||||
<span>Bonificaciones/Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/devoluciones-cedis" <?php if ($_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"){?> class="current"<?php }?>>
|
||||
<span>Devoluciones a CEDIS</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="direccion"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/cuentas-pagar" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-pagar"){?> class="current"<?php }?>>
|
||||
<span>Cuentas por Pagar</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/cuentas-pagar-saldos" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"){?> class="current"<?php }?>>
|
||||
<span>Cuentas por Pagar Saldos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"||$_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-traspasos"||$_smarty_tpl->getVariable('page')->value=="envios-transito"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-cedis"){?>
|
||||
<ul>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios" <?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"){?>class="current"<?php }?>>
|
||||
<span>CEDIS - Tienda</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios-tienda" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"){?> class="current"<?php }?>>
|
||||
<span>Tienda - Tienda</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios-tienda-cedis" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-tienda-cedis"){?> class="current"<?php }?>>
|
||||
<span>Tienda - CEDIS</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios-reporte" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-reporte"){?> class="current"<?php }?>>
|
||||
<span>Reporte de Envíos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios-traspasos" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-traspasos"){?> class="current"<?php }?>>
|
||||
<span>Relación de Traspasos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios-recibir-reporte" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"){?> class="current"<?php }?>>
|
||||
<span>Rep. Merc. Faltante y Sobrante</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios-transito" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-transito"){?> class="current"<?php }?>>
|
||||
<span>Productos en Tránsito</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-compras"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentaspagar"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentascobrar"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"||$_smarty_tpl->getVariable('page')->value=="analisis-venta"||$_smarty_tpl->getVariable('page')->value=="reportes-devcedis"||$_smarty_tpl->getVariable('page')->value=="reportes-tickets"||$_smarty_tpl->getVariable('page')->value=="reportes-faltantes"){?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-ventas" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"){?>class="current"<?php }?>>
|
||||
<span>Ventas</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-tickets" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-tickets"){?>class="current"<?php }?>>
|
||||
<span>Tickets</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-inventario" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-inventario"){?>class="current"<?php }?>>
|
||||
<span>Inventario</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-faltantes" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-faltantes"){?>class="current"<?php }?>>
|
||||
<span>Faltantes</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-invparcial" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"){?>class="current"<?php }?>>
|
||||
<span>Inventario Total/Parcial</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-devcedis" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-devcedis"){?>class="current"<?php }?>>
|
||||
<span>Devoluciones a CEDIS</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/analisis-venta" <?php if ($_smarty_tpl->getVariable('page')->value=="analisis-venta"){?>class="current"<?php }?>>
|
||||
<span>Análisis de Venta</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-liberar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles-bloqueados"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?>
|
||||
<ul>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard-list" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"){?> class="current"<?php }?>>
|
||||
<span>Ajustar Inv. con Excel.</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard-list2" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"){?> class="current"<?php }?>>
|
||||
<span>Ajustar Inv. PARCIAL con Excel</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-bloqueados" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?> class="current"<?php }?>>
|
||||
<span>Productos Bloqueados</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario"){?>class="current"<?php }?>>
|
||||
<span>Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php }elseif($_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-fisico" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"){?>class="current"<?php }?>>
|
||||
<span>Inventario Físico</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }elseif($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-solicitar" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"){?> class="current"<?php }?>>
|
||||
<span>Solicitar Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }else{ ?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario"){?>class="current"<?php }?>>
|
||||
<span>Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="centralizador"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-bloqueados" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?> class="current"<?php }?>>
|
||||
<span>Productos Bloqueados</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard-list" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"){?> class="current"<?php }?>>
|
||||
<span>Ajustar Inv. con Excel.</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard-list2" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"){?> class="current"<?php }?>>
|
||||
<span>Ajustar Inv. PARCIAL con Excel</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-liberar" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-liberar"){?> class="current"<?php }?>>
|
||||
<span>Liberar Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-solicitar" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"){?> class="current"<?php }?>>
|
||||
<span>Solicitar Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-ajustar-list" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"){?> class="current"<?php }?>>
|
||||
<span>Ajustar Inv. por Prod.</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-fisico" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"){?>class="current"<?php }?>>
|
||||
<span>Inventario Físico</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="ventas"||$_smarty_tpl->getVariable('page')->value=="ventas-nueva"||$_smarty_tpl->getVariable('page')->value=="ventas-espera"||$_smarty_tpl->getVariable('page')->value=="devoluciones"||$_smarty_tpl->getVariable('page')->value=="descuentos"||$_smarty_tpl->getVariable('page')->value=="ventas-bloqueados"){?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/ventas" <?php if ($_smarty_tpl->getVariable('page')->value=="ventas"){?>class="current"<?php }?>>
|
||||
<span>Listado</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/devoluciones" <?php if ($_smarty_tpl->getVariable('page')->value=="devoluciones"){?>class="current"<?php }?>>
|
||||
<span>Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="facturacion"&&$_smarty_tpl->getVariable('Usr')->value['type']!="centralizador"&&$_smarty_tpl->getVariable('Usr')->value['type']!="admin"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/devoluciones" <?php if ($_smarty_tpl->getVariable('page')->value=="devoluciones"){?>class="current"<?php }?>>
|
||||
<span>Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/descuentos" <?php if ($_smarty_tpl->getVariable('page')->value=="descuentos"){?>class="current"<?php }?>>
|
||||
<span>Descuentos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/ventas-espera" <?php if ($_smarty_tpl->getVariable('page')->value=="ventas-espera"){?>class="current"<?php }?>>
|
||||
<span>En Espera</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion-mensual"||$_smarty_tpl->getVariable('page')->value=="facturacion-folios"||$_smarty_tpl->getVariable('page')->value=="facturacion-certificado"||$_smarty_tpl->getVariable('page')->value=="facturacion-nueva"){?>
|
||||
<ul>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturacion" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"){?>class="current"<?php }?>>
|
||||
<span>Listado</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturacion-mensual" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion-mensual"){?>class="current"<?php }?>>
|
||||
<span>Facturación Mensual</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"){?>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturacion-folios" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion-folios"){?>class="current"<?php }?>>
|
||||
<span>Folios</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturacion-certificado" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion-certificado"){?>class="current"<?php }?>>
|
||||
<span>Actualizar Certificado</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
|
||||
compiled from "./templates/forms/search-usuarios.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:485989838540ce29670c488-24522810%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0ae37f77c12bd986738c21ce7a18bbfba65b767c' =>
|
||||
array (
|
||||
0 => './templates/forms/search-usuarios.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '485989838540ce29670c488-24522810',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<form name="frmSearch" id="frmSearch">
|
||||
<input type="hidden" name="action" id="action" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="25%"></th>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Nombre</div>
|
||||
</th>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Tipo</div>
|
||||
</th>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Sucursal</div>
|
||||
</th>
|
||||
<th width="25%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="text" size="35" name="nombre2" id="nombre2" class="largeInput" style="width:130px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div class="txtFrm" style="width:200px">Vendedor</div>
|
||||
<input type="hidden" name="tipo2" id="tipo2" value="vendedor" />
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumUserTypes2.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);?>
|
||||
|
||||
<?php }?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div class="txtFrm" style="width:250px"><?php echo $_smarty_tpl->getVariable('nomSuc')->value;?>
|
||||
</div>
|
||||
<input type="hidden" name="sucursalId2" id="sucursalId2" value="<?php echo $_smarty_tpl->getVariable('Usr')->value['sucursalId'];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:200px">
|
||||
<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 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>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,116 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:31:44
|
||||
compiled from "./templates/facturacion-folios.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:579904711542079200f0220-57546068%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0c93cf362c4a95d07bda47ca337c7d91a31a23fd' =>
|
||||
array (
|
||||
0 => './templates/facturacion-folios.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '579904711542079200f0220-57546068',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Folios</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('cmpMsg')->value){?>
|
||||
<div align="center" style="color:#009900"><?php echo $_smarty_tpl->getVariable('cmpMsg')->value;?>
|
||||
<br /><br /></div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('errMsg')->value){?>
|
||||
<div align="center" style="color:#FF0000"><?php echo $_smarty_tpl->getVariable('errMsg')->value;?>
|
||||
<br /><br /></div>
|
||||
<?php }?>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/facturacion-folios.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:40
|
||||
compiled from "./templates/devoluciones-cedis.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:950417109540de13037b976-67028210%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0d07fc31aba016901cb4cb158ef9d8b28eddf4a7' =>
|
||||
array (
|
||||
0 => './templates/devoluciones-cedis.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '950417109540de13037b976-67028210',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="compras">Devoluciones a CEDIS</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center" class="btnAddGral">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/devoluciones-cedis-agregar" class="inline_add">Nueva Devolución</a>
|
||||
</div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('msg')->value!=''){?>
|
||||
<div align="center" style="color:#009900; font-size:14px; padding-top:15px">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/ok2.png" /><br /><b>
|
||||
<?php if ($_smarty_tpl->getVariable('msg')->value=="Saved"){?>
|
||||
La devolución fue agregada correctamente.
|
||||
<?php }?>
|
||||
</b></div>
|
||||
<?php }?>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/devoluciones-cedis.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:50
|
||||
compiled from "/var/www/html/templates/lists/analisis-sucursal.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1664699089540a203a3ffeb4-08495157%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0df98406c6b3dfe01787fbec01cc4c2ebd78c449' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/analisis-sucursal.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1664699089540a203a3ffeb4-08495157',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTable">
|
||||
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['kS'] = 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['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
|
||||
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
|
||||
?>
|
||||
<tr>
|
||||
<td width="40" height="35"></td>
|
||||
<td align="center" width="40">
|
||||
<a href="javascript:void(0)" onclick="ShowProveedores(<?php echo $_smarty_tpl->getVariable('kS')->value;?>
|
||||
)"><div id="iconSuc_<?php echo $_smarty_tpl->getVariable('kS')->value;?>
|
||||
">[+]</div></a>
|
||||
</td>
|
||||
<td align="left"><?php echo $_smarty_tpl->getVariable('iS')->value['nombre'];?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="prov_<?php echo $_smarty_tpl->getVariable('kS')->value;?>
|
||||
" style="display:none">
|
||||
<td colspan="3" align="left">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/analisis-proveedor.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);?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:03
|
||||
compiled from "/var/www/html/templates/items/materiales-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:619443718540f5c7ff0bc07-79391519%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0e2da2677e0b5c567fb35e1c07a3f8236c1a0a27' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/materiales-header.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '619443718540f5c7ff0bc07-79391519',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
|
||||
<div align="center" class="btnAddGral">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addMaterial">Agregar Material</a>
|
||||
</div>
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="100" scope="col"><div align="center">ID</div></th>
|
||||
<th width="" scope="col">Nombre</th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:11
|
||||
compiled from "/var/www/html/templates/items/metodos-pago-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:674878622540ce303cfa2d6-68395713%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1060e014e2d7b400078657c7e296c11890a386c5' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/metodos-pago-base.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '674878622540ce303cfa2d6-68395713',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['metodoPagoId'];?>
|
||||
</div></td>
|
||||
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['metodoPagoId'];?>
|
||||
" title="Editar"/>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['metodoPagoId'];?>
|
||||
" title="Eliminar"/>
|
||||
</td>
|
||||
</tr>
|
||||
86
templates_c/10e0737838b4a574ef135d0c601e7b602cfaf37a.file.header.tpl.php
Executable file
86
templates_c/10e0737838b4a574ef135d0c601e7b602cfaf37a.file.header.tpl.php
Executable file
@@ -0,0 +1,86 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:58
|
||||
compiled from ".\templates\header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:20718540776c2e5ec01-70174475%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'10e0737838b4a574ef135d0c601e7b602cfaf37a' =>
|
||||
array (
|
||||
0 => '.\\templates\\header.tpl',
|
||||
1 => 1408525934,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '20718540776c2e5ec01-70174475',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="fview" style="display:none;">
|
||||
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/load.gif" border="0" /></div>
|
||||
<div id="fviewcontent" style="display:none"></div>
|
||||
</div>
|
||||
|
||||
<div id="fviewVta" style="display:none;">
|
||||
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/load.gif" border="0" /></div>
|
||||
<div id="fviewcontent" style="display:none"></div>
|
||||
</div>
|
||||
|
||||
<div class="grid_8" id="logo" style="height:69px; padding:0px 0px 0px 10px; width:500px">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/logo.png" width="286" height="63" align="left" />
|
||||
<div style="float:left; padding-top:0px; padding-left:5px">Sistema de Admón.</div>
|
||||
</div>
|
||||
|
||||
<!-- USER TOOLS START -->
|
||||
<div class="grid_8" style="width:320px; float:right">
|
||||
<div id="user_tools">
|
||||
<span>
|
||||
Bienvenido <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['nombre'];?>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
|
||||
| <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['sucursal'];?>
|
||||
</a>
|
||||
<?php }?>
|
||||
| <a id="logoutDiv" style="cursor:pointer">Salir</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- USER TOOLS END -->
|
||||
|
||||
<div class="grid_16" id="header">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/main.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>
|
||||
|
||||
<div class="grid_16">
|
||||
<!-- TABS START -->
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
|
||||
|
||||
<div id="tabs" <?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>style="height:63px"<?php }?>>
|
||||
<div class="container">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.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);?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>
|
||||
<div style="height:30px"></div>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu2.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);?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }else{ ?>
|
||||
<div id="tabs">
|
||||
<div class="container">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.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>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- TABS END -->
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:28
|
||||
compiled from "./templates/usuarios-agregar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:125658460354075a9ba5ea53-25879978%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'116348da10699d786c728a5cf99d6652cf52af0f' =>
|
||||
array (
|
||||
0 => './templates/usuarios-agregar.tpl',
|
||||
1 => 1410130447,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '125658460354075a9ba5ea53-25879978',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Usuarios :: Agregar</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("forms/agregar-usuario.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
48
templates_c/118112af7dbebdae36f8fd2647d6373aca4e6a21.file.clientes.tpl.php
Executable file
48
templates_c/118112af7dbebdae36f8fd2647d6373aca4e6a21.file.clientes.tpl.php
Executable file
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:17
|
||||
compiled from "./templates/clientes.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1681353286540ce306df4229-11210961%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'118112af7dbebdae36f8fd2647d6373aca4e6a21' =>
|
||||
array (
|
||||
0 => './templates/clientes.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1681353286540ce306df4229-11210961',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Clientes</h1>
|
||||
</div>
|
||||
|
||||
<div class="grid_6" id="eventbox" style="display:none">
|
||||
<a href="#" class="inline_tip"></a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center" class="btnAddGral">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addCliente">Agregar Cliente</a>
|
||||
</div>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-clientes.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 class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/clientes.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:02:27
|
||||
compiled from "./templates/forms/filtro-cuentas-pagar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:669042488540f5cd3954719-25379859%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'126e116d5a8274c61bdb8cd82aaeb7c97e867af2' =>
|
||||
array (
|
||||
0 => './templates/forms/filtro-cuentas-pagar.tpl',
|
||||
1 => 1410130451,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '669042488540f5cd3954719-25379859',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<form name="frmSaldos" id="frmSaldos" method="post" action="export/cuentas-pagar.php">
|
||||
<input type="hidden" name="action" id="action" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="280"></th>
|
||||
<th align="center" width="200"><div align="center">Proveedor</div></th>
|
||||
<th align="center" width="30"><div align="center">Global</div></th>
|
||||
<th align="center"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"></td>
|
||||
<td align="center">
|
||||
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:250px;">
|
||||
<option value="">Todos</option>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('proveedores')->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['proveedorId'];?>
|
||||
"><?php echo str_pad($_smarty_tpl->getVariable('item')->value['noProv'],3,"0",@STR_PAD_LEFT);?>
|
||||
<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</td>
|
||||
<td><input type="checkbox" name="global" id="global" value="1" /></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Buscar()" />
|
||||
</td>
|
||||
<td align="center" colspan="2">
|
||||
<div style="float:right; padding-right:50px"><a href="javascript:void(0)" onclick="ExportReport()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
|
||||
compiled from "/var/www/html/templates/items/atributos-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:192373117354205b9c3c5763-76477312%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'139f55c851863623285d7490b266f430851ba816' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/atributos-header.tpl',
|
||||
1 => 1410130453,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '192373117354205b9c3c5763-76477312',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<br />
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="100" scope="col"><div align="center">ID</div></th>
|
||||
<th width="" scope="col">Nombre</th>
|
||||
<th width="100" scope="col"><div align="center">Valores</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:00:59
|
||||
compiled from "/var/www/html/templates/items/politicas-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2091521337540f5c7b69b864-07521439%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'156a9c1fe3ce5cdcaa5a5e87ab433013936e4195' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/politicas-base.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2091521337540f5c7b69b864-07521439',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['idPoliticaBD'];?>
|
||||
</td>
|
||||
<td><?php echo $_smarty_tpl->getVariable('item')->value['porcentajeEvaluacion'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['tipo'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['porcentajeBonificacion'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['idPoliticaBD'];?>
|
||||
" title="Eliminar"/>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,137 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:43
|
||||
compiled from "./templates/forms/agregar-devolucion-cedis.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1543270432540de132ec0750-54917913%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'17806a96b7123e5591e8a135728c71a2537ab90b' =>
|
||||
array (
|
||||
0 => './templates/forms/agregar-devolucion-cedis.tpl',
|
||||
1 => 1410130449,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1543270432540de132ec0750-54917913',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="divForm">
|
||||
<form id="frmDevolucion" name="frmDevolucion" method="post" onsubmit="return false">
|
||||
<input type="hidden" id="type" name="type" value="saveDevolucion" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">No. de Devolución</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['noDevolucion'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Fecha</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['fecha'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Sucursal:</td>
|
||||
<td>
|
||||
<select name="sucursalId" id="sucursalId" class="largeInput" style="width:290px" onchange="SearchProducto()">
|
||||
<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 utf8_decode($_smarty_tpl->getVariable('item')->value['nombre']);?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Código Barra:</td>
|
||||
<td>
|
||||
<input name="codigoBarra" id="codigoBarra" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<input type="hidden" name="productoId" id="productoId" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Cantidad a Dev:</td>
|
||||
<td>
|
||||
<input name="cantidad" id="cantidad" type="text" class="largeInput" style="width:290px" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Descripción:</td>
|
||||
<td><div id="enumAtributos" class="txtFrm"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Proveedor:</td>
|
||||
<td><div id="txtProveedor" class="txtFrm"></div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Disponible:</td>
|
||||
<td><div id="txtDisponible" class="txtFrm"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddProducto()">
|
||||
+ Agregar Producto
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-productos.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>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center" style="display:none" id="loader">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif">
|
||||
<br>
|
||||
Guardando Información...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="margin-left:300px">
|
||||
<a class="button" name="btnSave" onclick="AddPedido()" style="margin-right:20px">
|
||||
<span>Guardar Devolución</span>
|
||||
</a>
|
||||
<a class="button" href="javascript:void(0)" onclick="CancelDevolucion()">
|
||||
<span>Cancelar Devolución</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:01
|
||||
compiled from "./templates/lists/productos-duplicados.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1390246319540f5c7dc7eeb3-00751658%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1896e00fa2782da6bfdf6a5844a4c8b052bdf94a' =>
|
||||
array (
|
||||
0 => './templates/lists/productos-duplicados.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1390246319540f5c7dc7eeb3-00751658',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/productos-duplicados-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('productos')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('productos')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('item')->value['baja']==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/productos-duplicados-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('status',"Activo"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/productos-duplicados-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('status',"Baja"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="9" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('productos')->value['pages']);$_template->assign('colspan',9); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:14
|
||||
compiled from "/var/www/html/templates/items/clientes-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2044614934540ce306eee452-88128321%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'19803a7560e36fcaf0099fadfe55cbcae690ed03' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/clientes-header.tpl',
|
||||
1 => 1410130453,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2044614934540ce306eee452-88128321',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="180" scope="col"><div align="center">RFC</div></th>
|
||||
<th width="" scope="col"><div align="center">Razón Social</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:42
|
||||
compiled from "/var/www/html/templates/lists/envios-ordenes-comp.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:11424747415411babe8bc301-12191458%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1b8d6421c20c921bdd4257df8398518ad1209943' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/envios-ordenes-comp.tpl',
|
||||
1 => 1410130459,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '11424747415411babe8bc301-12191458',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<div align="center"><b><?php echo $_smarty_tpl->getVariable('nomSuc')->value;?>
|
||||
</b></div>
|
||||
<br />
|
||||
<table width="850" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="100" align="center" height="30"><b>No. de Proveedor</b></td>
|
||||
<td width="" align="center"><b>Nombre del Proveedor</b></td>
|
||||
<td width="110" align="center"><b>No. Orden de Compra</b></td>
|
||||
<td width="110" align="center"><b>Cantidad de Prendas/Paq.</b></td>
|
||||
<td width="110" align="center"><b>Valor</b></td>
|
||||
<td width="110" align="center"><b>No. de Cajas</b></td>
|
||||
<td width="50" align="center"></td>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('ordenes')->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;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center" height="30"><?php echo $_smarty_tpl->getVariable('item')->value['noProv'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['proveedor'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['noPedido'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['prendas'];?>
|
||||
</td>
|
||||
<td align="center">$<?php echo $_smarty_tpl->getVariable('item')->value['total'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="noCajas_<?php echo $_smarty_tpl->getVariable('item')->value['pedidoId'];?>
|
||||
" id="noCajas_<?php echo $_smarty_tpl->getVariable('item')->value['pedidoId'];?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['cajas'];?>
|
||||
" class="smallInput" style="width:90px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="idPedido[]" id="" value="<?php echo $_smarty_tpl->getVariable('item')->value['pedidoId'];?>
|
||||
" checked="checked" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="7">
|
||||
<br />
|
||||
<div align="center"><b>Total de Cajas: <?php echo $_smarty_tpl->getVariable('item')->value['cajas'];?>
|
||||
</b></div>
|
||||
<br />
|
||||
<table width="90%" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#CCCCCC" width="150"><b>Código Barra</b></td>
|
||||
<td align="center" bgcolor="#CCCCCC"><b>Modelo</b></td>
|
||||
<td align="center" bgcolor="#CCCCCC" width="120"><b>Cantidad</b></td>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('item')->value['productos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
|
||||
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['it']->key;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['codigoBarra'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['modelo'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['cantidad'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr><td colspan="3" align="center">Ningún producto encontrado.</td></tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td colspan="7" align="center" height="30">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
26
templates_c/1be7ff7fdee636597edd726ee98dfef4bfd55d1f.file.footer.tpl.php
Executable file
26
templates_c/1be7ff7fdee636597edd726ee98dfef4bfd55d1f.file.footer.tpl.php
Executable file
@@ -0,0 +1,26 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:15:00
|
||||
compiled from ".\templates\footer.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:3578540776c4233a99-14809906%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1be7ff7fdee636597edd726ee98dfef4bfd55d1f' =>
|
||||
array (
|
||||
0 => '.\\templates\\footer.tpl',
|
||||
1 => 1408525934,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '3578540776c4233a99-14809906',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"> </div>
|
||||
|
||||
</div>
|
||||
<!-- WRAPPER END -->
|
||||
<!-- FOOTER START -->
|
||||
<div class="container_16" id="footer">
|
||||
</div>
|
||||
<!-- FOOTER END -->
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:33:42
|
||||
compiled from "/var/www/html/templates/lists/pedidos-cajas2.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1462402371540e3cd6953ad5-40081165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1c5d4f9240b3e654ba77c65e93b4f49330a2f274' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/pedidos-cajas2.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1462402371540e3cd6953ad5-40081165',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<b>DISTRIBUCION No. DE CAJAS POR SUCURSAL</b>
|
||||
<br /><br />
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['kS'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('sucCajas')->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['kS']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<div class="boxDist">
|
||||
<b>Suc. <?php echo $_smarty_tpl->getVariable('item')->value['noSuc'];?>
|
||||
</b> <br />
|
||||
<?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
||||
|
||||
</div>
|
||||
<?php }} else { ?>
|
||||
Ningún registro encontrado.
|
||||
<?php } ?>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:26
|
||||
compiled from "./templates/facturacion.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:475553017540e3db62aff61-39041254%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1c99fad1b1e0aa75807d7fa1d607c41d1df5117c' =>
|
||||
array (
|
||||
0 => './templates/facturacion.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '475553017540e3db62aff61-39041254',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Facturación</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-facturas.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);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-facturas-gral.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);?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/facturacion.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
|
||||
compiled from "/var/www/html/templates/items/facturacion-mensual-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2150529955411bfd825cb23-77076663%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1d3694f89f33d3ca2bf762aab7e774722b11dbb3' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/facturacion-mensual-base.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2150529955411bfd825cb23-77076663',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['rfc'];?>
|
||||
</td>
|
||||
<td align="left"><?php echo $_smarty_tpl->getVariable('fact')->value['nombre'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['fecha'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['total'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['serie'];?>
|
||||
<?php echo $_smarty_tpl->getVariable('fact')->value['folio'];?>
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->getVariable('version')->value=="construc"||$_smarty_tpl->getVariable('version')->value=="v3"){?>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['uuid'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['fechaIni'];?>
|
||||
- <?php echo $_smarty_tpl->getVariable('fact')->value['fechaFin'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<td align="center">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" class="spanDetails" id="<?php echo $_smarty_tpl->getVariable('fact')->value['comprobanteId'];?>
|
||||
" border="0" alt="Ver Detalles" />
|
||||
<?php if ($_smarty_tpl->getVariable('fact')->value['status']==1){?>
|
||||
<a href="javascript:void(0)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/cancel.png" class="spanCancel" id="<?php echo $_smarty_tpl->getVariable('fact')->value['comprobanteId'];?>
|
||||
" border="0" alt="Cancelar"/></a>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
40
templates_c/1f6759fffd1be3ebc55107e1978c5ecad2f1df02.file.materiales.tpl.php
Executable file
40
templates_c/1f6759fffd1be3ebc55107e1978c5ecad2f1df02.file.materiales.tpl.php
Executable file
@@ -0,0 +1,40 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:03
|
||||
compiled from "./templates/materiales.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2139153958540f5c7fe72e56-74317009%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1f6759fffd1be3ebc55107e1978c5ecad2f1df02' =>
|
||||
array (
|
||||
0 => './templates/materiales.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2139153958540f5c7fe72e56-74317009',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Materiales</h1>
|
||||
</div>
|
||||
|
||||
<div class="grid_6" id="eventbox" style="display:none">
|
||||
<a href="#" class="inline_tip"></a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/materiales.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:16:59
|
||||
compiled from "./templates/reportes-devcedis.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1387828350540a203738f5d5-52381047%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'20b3fff29e732b1e4acd5f26afcec019cc3f4705' =>
|
||||
array (
|
||||
0 => './templates/reportes-devcedis.tpl',
|
||||
1 => 1410130447,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1387828350540a203738f5d5-52381047',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?><div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="reportes">Devoluciones a CEDIS</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<br />
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-reportes-devcedis.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 id="loader" style="padding-top:20px"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/reportes-devcedis.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
|
||||
compiled from "./templates/facturacion-mensual.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:4777478815411bfd811cad0-68639125%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2402f17c1e6e588d29786f6257de6e049fc23977' =>
|
||||
array (
|
||||
0 => './templates/facturacion-mensual.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4777478815411bfd811cad0-68639125',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Facturación Mensual</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" onclick="FacturaMensual()" class="inline_add">Agregar Factura Mensual</a>
|
||||
</div>
|
||||
<br />
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-facturas-mens.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);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-facturas-mens-gral.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);?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/facturacion-mensual.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:44:05
|
||||
compiled from "/var/www/html/templates/lists/pedidos-cajas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10620969205411b5353ca0f9-45898358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'24188d1312ff546e03adc769f5a94a75dfe60424' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/pedidos-cajas.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10620969205411b5353ca0f9-45898358',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<b>DISTRIBUCION No. DE CAJAS POR SUCURSAL</b>
|
||||
<br /><br />
|
||||
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['kS'] = 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['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
|
||||
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
|
||||
?>
|
||||
<div class="boxDist">
|
||||
<b>Suc. <?php echo $_smarty_tpl->getVariable('iS')->value['noSuc'];?>
|
||||
</b> <br />
|
||||
<input type="text" size="2" name="numCajas_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
|
||||
" id="numCajas_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('iS')->value['noCajas'];?>
|
||||
" />
|
||||
</div>
|
||||
<?php }} ?>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
@@ -0,0 +1,164 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:51:34
|
||||
compiled from "/var/www/html/templates/lists/pedidos-proporciones.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:77909499540a160f864b05-37138906%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2546d9c710de13c9516219cb22a1e93d3bfccfdc' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/pedidos-proporciones.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '77909499540a160f864b05-37138906',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td width="120" align="center" height="30"><b>Color / Talla</b></td>
|
||||
<td width="80" align="center"><b>Prop. Color</b></td>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('tallas')->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;
|
||||
?>
|
||||
<td align="left" width="90">
|
||||
<?php if ($_smarty_tpl->getVariable('item')->value['id']>0){?>
|
||||
<div align="center"><b><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</b></div>
|
||||
<input type="hidden" name="proporcionNT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
]" id="proporcionNT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<input type="text" class="smallInput" name="proporcionNT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
]" id="proporcionNT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
" style="width:60px" />
|
||||
<a href="javascript:void(0)" onclick="DelTalla(<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
<?php }?>
|
||||
<input type="hidden" name="proporcionIT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
]" id="proporcionIT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['id'];?>
|
||||
" />
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" height="30"><b>Prop. Talla</b></td>
|
||||
<td align="center"></td>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('tallas')->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;
|
||||
?>
|
||||
<td align="left">
|
||||
<input type="text" class="smallInput" name="proporcionT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
]" id="proporcionT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
||||
" style="width:60px" />
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['idC'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('colores')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value){
|
||||
$_smarty_tpl->tpl_vars['idC']->value = $_smarty_tpl->tpl_vars['c']->key;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center" height="30">
|
||||
<?php if ($_smarty_tpl->getVariable('c')->value['id']>0){?>
|
||||
<div align="center"><b><?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
|
||||
</b></div>
|
||||
<input type="hidden" name="proporcionNC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
]" id="proporcionNC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<input type="text" class="smallInput" name="proporcionNC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
]" id="proporcionNC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
|
||||
" style="width:60px" />
|
||||
<a href="javascript:void(0)" onclick="DelColor(<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
<?php }?>
|
||||
<input type="hidden" name="proporcionIC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
]" id="proporcionIC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('c')->value['id'];?>
|
||||
" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" class="smallInput" name="proporcionC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
]" id="proporcionC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('c')->value['cantidad'];?>
|
||||
" style="width:60px" />
|
||||
</td>
|
||||
<?php $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['idT'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('tallas')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value){
|
||||
$_smarty_tpl->tpl_vars['idT']->value = $_smarty_tpl->tpl_vars['t']->key;
|
||||
?>
|
||||
<td align="center"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idT')->value;?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idC')->value;?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('subtotales')->value[$_tmp1][$_tmp2];?>
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
<?php }} ?>
|
||||
<tr>
|
||||
<td align="center" height="30"><b>Total</b></td>
|
||||
<td align="center"></td>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['idT'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('tallas')->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['idT']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<td align="center"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idT')->value;?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('totales')->value[$_tmp3];?>
|
||||
</td>
|
||||
<?php }} ?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="tblLoader"></div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('productoId')->value){?>
|
||||
|
||||
<div align="center">
|
||||
<input type="button" name="btnUpdate" onclick="UpdateProporcion()" value="Actualizar Proporciones" style="padding:10px" />
|
||||
</div>
|
||||
<br />
|
||||
<table width="300" cellpadding="0" cellspacing="0" border="0">
|
||||
|
||||
<tr>
|
||||
<td align="left">Cant. de Prendas a adquirir:</td>
|
||||
<td align="left">
|
||||
<input name="cantPrendas" id="cantPrendas" type="text" class="largeInput" style="width:80px" value="" />
|
||||
<input type="hidden" name="cantLotes" id="cantLotes" value="1" />
|
||||
<input type="hidden" name="totalLote" id="totalLote" value="<?php echo $_smarty_tpl->getVariable('totalLote')->value;?>
|
||||
" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php }?>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:50
|
||||
compiled from "./templates/lists/analisis-venta.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2114830291540a203a367892-50229765%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2686b97b6e8b249e8453f7775ac7f2a9539d90f0' =>
|
||||
array (
|
||||
0 => './templates/lists/analisis-venta.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2114830291540a203a367892-50229765',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?><?php if (count($_smarty_tpl->getVariable('sucursales')->value)>0){?>
|
||||
<div align="center">
|
||||
<b>Periodo:</b>
|
||||
<br />
|
||||
<?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('fechaIni')->value,"%d-%m-%Y");?>
|
||||
al <?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('fechaFin')->value,"%d-%m-%Y");?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/analisis-venta-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/analisis-venta-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('sucursales')->value)>0){?>
|
||||
<tr>
|
||||
<td align="left"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center"></td>
|
||||
<td align="center">TOTALES</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('totales')->value['totProds'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('totales')->value['totVtas'],2,'.',',');?>
|
||||
</td>
|
||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('totales')->value['utilidad'],2,'.',',');?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('meses')->value['pages']);$_template->assign('colspan',10); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
47
templates_c/26f690d011b9b8e70902b73ed7b043c2d3927713.file.pedidos.tpl.php
Executable file
47
templates_c/26f690d011b9b8e70902b73ed7b043c2d3927713.file.pedidos.tpl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 10:07:56
|
||||
compiled from "./templates/lists/pedidos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:109156756654075a963dba84-05570145%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'26f690d011b9b8e70902b73ed7b043c2d3927713' =>
|
||||
array (
|
||||
0 => './templates/lists/pedidos.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '109156756654075a963dba84-05570145',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/pedidos-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('pedidos')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('pedidos')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/pedidos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/pedidos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="11" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('pedidos')->value['pages']);$_template->assign('colspan',11); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-12-10 08:16:13
|
||||
compiled from "/var/www/html/templates/items/envios-reporte-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2054711198548855ad3dbb20-10389092%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'26fcce3403d83f75a932e6cc974e348287e37a39' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/envios-reporte-header.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2054711198548855ad3dbb20-10389092',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<br />
|
||||
<div class="portlet-content nopadding">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<td align="right" colspan="6" style="border-top:none;">
|
||||
<a href="#" onclick="ExportGral(); return false;">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/excel.png" title="Exportar Reporte"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="100" scope="col"><div align="center">Código Barra</div></th>
|
||||
<th width="" scope="col"><div align="center">Descripción</div></th>
|
||||
<th width="110" scope="col"><div align="center">Unidad</div></th>
|
||||
<th width="110" scope="col"><div align="center">Cantidad</div></th>
|
||||
<th width="80" scope="col"><div align="center">Precio</div></th>
|
||||
<th width="100" scope="col"><div align="center">Importe</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,86 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 19:17:36
|
||||
compiled from "/var/www/html/ventas/templates/header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1135936291695db430d60d19-86867292%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'27570b10fa6af06579c60ea0a36ab2ec4691ad05' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/header.tpl',
|
||||
1 => 1744068893,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1135936291695db430d60d19-86867292',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="fview" style="display:none;">
|
||||
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/load.gif" border="0" /></div>
|
||||
<div id="fviewcontent" style="display:none"></div>
|
||||
</div>
|
||||
|
||||
<div id="fviewVta" style="display:none;">
|
||||
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/load.gif" border="0" /></div>
|
||||
<div id="fviewcontent" style="display:none"></div>
|
||||
</div>
|
||||
|
||||
<div class="grid_8" id="logo" style="height:69px; padding:0px 0px 0px 10px; width:500px">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/logo.png" width="286" height="63" align="left" />
|
||||
<div style="float:left; padding-top:0px; padding-left:5px">Sistema de Admón.</div>
|
||||
</div>
|
||||
|
||||
<!-- USER TOOLS START -->
|
||||
<div class="grid_8" style="width:320px; float:right">
|
||||
<div id="user_tools">
|
||||
<span>
|
||||
Bienvenido <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['nombre'];?>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
|
||||
| <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['sucursal'];?>
|
||||
</a>
|
||||
<?php }?>
|
||||
| <a id="logoutDiv" style="cursor:pointer">Salir</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- USER TOOLS END -->
|
||||
|
||||
<div class="grid_16" id="header">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/main.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>
|
||||
|
||||
<div class="grid_16">
|
||||
<!-- TABS START -->
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
|
||||
|
||||
<div id="tabs" <?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>style="height:63px"<?php }?>>
|
||||
<div class="container">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.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);?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>
|
||||
<div style="height:30px"></div>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu2.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);?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }else{ ?>
|
||||
<div id="tabs">
|
||||
<div class="container">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.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>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- TABS END -->
|
||||
</div>
|
||||
@@ -0,0 +1,195 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:28
|
||||
compiled from "./templates/forms/agregar-usuario.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:208362189254075a9bac5bc8-59526592%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'279dbab88077f9b3d4c80e15cec359a91e646bcd' =>
|
||||
array (
|
||||
0 => './templates/forms/agregar-usuario.tpl',
|
||||
1 => 1410130450,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '208362189254075a9bac5bc8-59526592',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="divForm">
|
||||
<form id="frmAgregarUsuario" name="frmAgregarUsuario" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="type" name="type" value="saveUsuario" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* Tipo:</td>
|
||||
<td>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div class="txtFrm">Vendedor</div>
|
||||
<input type="hidden" name="tipo" id="tipo" value="vendedor" />
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumUserTypes.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);?>
|
||||
|
||||
<?php }?>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130"><div id="txtSuc">Sucursal:</div></td>
|
||||
<td>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div class="txtFrm"><?php echo $_smarty_tpl->getVariable('nomSuc')->value;?>
|
||||
</div>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="<?php echo $_smarty_tpl->getVariable('Usr')->value['sucursalId'];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<div id="listSuc">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumSucursales.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>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">* Nombre:</td>
|
||||
<td><input name="nombre" id="nombre" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Apellidos:</td>
|
||||
<td><input name="apellidos" id="apellidos" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Dirección:</td>
|
||||
<td><input name="calle" id="calle" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>No Exterior:</td>
|
||||
<td><input name="noExt" id="noExt" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No Interior:</td>
|
||||
<td><input name="noInt" id="noInt" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Referencia:</td>
|
||||
<td><input name="referencia" id="referencia" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Colonia:</td>
|
||||
<td><input name="colonia" id="colonia" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Localidad:</td>
|
||||
<td><input name="localidad" id="localidad" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Municipio o Delegación:</td>
|
||||
<td><input name="municipio" id="municipio" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Estado:</td>
|
||||
<td><input name="estado" id="estado" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Pais:</td>
|
||||
<td><input name="pais" id="pais" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Código Postal:</td>
|
||||
<td><input name="codigoPostal" id="codigoPostal" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Teléfono:</td>
|
||||
<td><input name="telefono" id="telefono" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Celular:</td>
|
||||
<td><input name="celular" id="celular" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No. IMSS:</td>
|
||||
<td><input name="noImss" id="noImss" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>CURP:</td>
|
||||
<td><input name="curp" id="curp" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">RFC:</td>
|
||||
<td><input name="rfc" id="rfc" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td>Email:</td>
|
||||
<td><input name="email" id="email" type="text" class="largeInput" style="width:290px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Contraseña:</td>
|
||||
<td><input name="password" id="password" type="text" class="largeInput" style="width:290px"/></td>
|
||||
<td width="10"></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IDENTIFICACION OFICIAL ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="identificacion" id="identificacion" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPROBANTE DE DOMICILIO ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="comprobante" id="comprobante" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center" id="sucSup" style="display:none">
|
||||
<table width="30%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center" colspan="2"><b>.:: SUCURSALES A SUPERVISAR ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<?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;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><input type="checkbox" name="idSuc[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
||||
" /></td>
|
||||
<td align="left"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div align="center" style="display:none" id="loader">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif">
|
||||
<br>
|
||||
Guardando Información...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div style="margin-left:415px">
|
||||
<a class="button" name="btnSave" onclick="AddUsuario()"><span>Guardar</span></a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br /><br />
|
||||
<div style="margin-left:410px"><a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:42
|
||||
compiled from "./templates/envios-cedis-agregar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:11508901405411babe7d9682-80641250%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'280db5f6f2547433316ad706c27f0b2862ed2920' =>
|
||||
array (
|
||||
0 => './templates/envios-cedis-agregar.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '11508901405411babe7d9682-80641250',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="compras">Envíos :: CEDIS - Tienda :: Agregar</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("forms/agregar-envio-cedis.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:13
|
||||
compiled from "/var/www/html/templates/items/inventario-wizard2-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1309825605540e3d6d4075b3-57719773%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'28ef918730bc5c4aa2f207b1a1e1d744001e74b3' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/inventario-wizard2-base.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1309825605540e3d6d4075b3-57719773',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?><?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('ajustes')->value['items']; 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;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['invWizardId'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fecha'],"%d-%m-%Y %k:%M");?>
|
||||
Hrs.</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizprods2/id/<?php echo $_smarty_tpl->getVariable('item')->value['invWizardId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" border="0"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td colspan="5" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:51:34
|
||||
compiled from "./templates/pedidos-editar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:8761319315411b6f5711477-27563713%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'28f4f2151479fea82a606791ebb89210326ca78f' =>
|
||||
array (
|
||||
0 => './templates/pedidos-editar.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '8761319315411b6f5711477-27563713',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?><div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="compras">Pedidos :: Editar</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("forms/editar-pedido.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:31:44
|
||||
compiled from "/var/www/html/templates/items/facturacion-folios-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:328207478542079201ef507-33483651%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2a1a27b9c68a8b55a8e47f3c036e8c94981516fc' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/facturacion-folios-base.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '328207478542079201ef507-33483651',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['sucursal'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['folioInicial'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['consecutivo'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['folioFinal'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('folio')->value['logo']){?>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('folio')->value['logo'];?>
|
||||
" width="50" height="50" />
|
||||
<?php }?>
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="auto"){?>
|
||||
<td><?php if ($_smarty_tpl->getVariable('folio')->value['qr']){?><img src="<?php echo $_smarty_tpl->getVariable('folio')->value['qr'];?>
|
||||
" width="50" height="50" /><?php }?></td>
|
||||
<?php }?>
|
||||
<td>
|
||||
|
||||
<div id="loader_<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
" style="display:none"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/load.gif" /></div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="auto"){?>
|
||||
<form method="post" action="" enctype="multipart/form-data" name="qr-<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
">
|
||||
<input type="file" name="qr" id="qr" /><input type="hidden" name="serieId" id="serieId" value="<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
"/><input type="submit" value="Cambiar QR" />
|
||||
</form>
|
||||
<br />
|
||||
<?php }?>
|
||||
|
||||
<form method="post" action="" enctype="multipart/form-data" name="cedula-<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
" id="frmCedula_<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
">
|
||||
<input type="file" name="cedula" id="cedula" />
|
||||
<br />
|
||||
<input type="hidden" name="serieId" id="serieId" value="<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
"/>
|
||||
<input type="button" name="btnSend" value="Cambiar Logo" onclick="SaveLogo(<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
)" />
|
||||
<input type="button" name="btnDel" id="btnDel" value="Eliminar Logo" onclick="DeleteLogo(<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
|
||||
)" />
|
||||
</form>
|
||||
|
||||
</td>
|
||||
<td align="center">
|
||||
|
||||
---
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
42
templates_c/2b2f63b54477904f2dbbcfe13b48837e2f32d971.file.atributos.tpl.php
Executable file
42
templates_c/2b2f63b54477904f2dbbcfe13b48837e2f32d971.file.atributos.tpl.php
Executable file
@@ -0,0 +1,42 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
|
||||
compiled from "./templates/atributos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:88307394754205b9c32d629-08709059%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2b2f63b54477904f2dbbcfe13b48837e2f32d971' =>
|
||||
array (
|
||||
0 => './templates/atributos.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '88307394754205b9c32d629-08709059',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Atributos</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addAtributo">Agregar Atributo</a>
|
||||
</div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/atributos.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,313 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:37
|
||||
compiled from "./templates/forms/agregar-factura.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:9886695365411bfe196ee19-01561789%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2d6e31e5d15342b8a3b94db152d7a5a175d8b10a' =>
|
||||
array (
|
||||
0 => './templates/forms/agregar-factura.tpl',
|
||||
1 => 1410130449,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '9886695365411bfe196ee19-01561789',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="divForm">
|
||||
<form id="nuevaFactura" name="nuevaFactura" method="post">
|
||||
<input type="hidden" id="userId" name="userId" value="" />
|
||||
<?php if ($_smarty_tpl->getVariable('ventaId')->value=="publico"){?>
|
||||
<input type="hidden" id="tickets" name="tickets" value="<?php echo $_smarty_tpl->getVariable('notasPorFacturar')->value;?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<input type="hidden" id="ventaId" name="ventaId" value="<?php echo $_smarty_tpl->getVariable('ventaId')->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
<fieldset>
|
||||
<div id="loadingDivDatosFactura"></div>
|
||||
|
||||
<div class="formLine" style="text-align:left;">
|
||||
<div style="width:90px;float:left">RFC:</div>
|
||||
<div style="width:172px;float:left">
|
||||
<input name="rfc" id="rfc" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['rfc'];?>
|
||||
" size="20" class="largeInput" onkeyup="SuggestCliente()"/>
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugClteDiv"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:140px;float:left">Razón Social:</div>
|
||||
<div style="width:320px;float:left"><input name="razonSocial" id="razonSocial" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['razonSocial'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="67" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Calle:</div>
|
||||
<div style="width:320px;float:left"><input name="calle" id="calle" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['calle'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">No. Exterior:</div>
|
||||
<div style="width:155px;float:left"><input name="noExt" id="noExt" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['noExt'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">No. Interior:</div>
|
||||
<div style="width:155px;float:left"><input name="noInt" id="noInt" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['noInt'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Colonia:</div>
|
||||
<div style="width:320px;float:left"><input name="colonia" id="colonia" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['colonia'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Municipio:</div>
|
||||
<div style="width:155px;float:left"><input name="municipio" id="municipio" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['municipio'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Estado:</div>
|
||||
<div style="width:155px;float:left"><input name="estado" id="estado" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['estado'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="18" class="largeInput" /></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Localidad:</div>
|
||||
<div style="width:320px;float:left"><input name="localidad" id="localidad" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['localidad'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">CP:</div>
|
||||
<div style="width:155px;float:left"><input name="cp" id="cp" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['cp'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Pais:</div>
|
||||
<div style="width:155px;float:left"><input name="pais" id="pais" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['pais'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Referencia:</div>
|
||||
<div style="width:320px;float:left"><input name="referencia" id="referencia" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['referencia'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Email:</div>
|
||||
<div style="width:400px;float:left"><input name="email" id="email" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['email'];?>
|
||||
" disabled="disabled" style="background-color:#eee" size="53" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Forma de Pago:</div>
|
||||
<div style="width:320px;float:left"><input name="formaDePago" id="formaDePago" type="text" value="Pago en Una Sola Exhibicion" size="40" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Condiciones de Pago:</div>
|
||||
<div style="width:400px;float:left"><input name="condicionesDePago" id="condicionesDePago" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['condicionesDePago'];?>
|
||||
" size="53" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">Método de Pago:</div>
|
||||
<div style="width:200px;float:left"><input name="metodoDePago" id="metodoDePago" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['metodoPago'];?>
|
||||
" size="20" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Número de Cuenta:</div>
|
||||
<div style="width:100px;float:left"><input name="numCtaPago" id="numCtaPago" type="text" value="" size="4" class="largeInput" maxlength="4" /></div>
|
||||
<div style="width:90px;float:left">% de IVA:</div>
|
||||
<div style="width:120px;float:left">
|
||||
<select name="tasaIva" id="tasaIva" class="largeInput" style="width:100px">
|
||||
<option value="0">0</option>
|
||||
<option value="11">11</option>
|
||||
<option value="16" selected="selected">16</option>
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Tipo de Moneda:</div>
|
||||
<div style="width:120px;float:left">
|
||||
<select name="tiposDeMoneda" id="tiposDeMoneda" class="largeInput" style="width:100px">
|
||||
<?php $_smarty_tpl->tpl_vars['moneda'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('tiposDeMoneda')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['moneda']->key => $_smarty_tpl->tpl_vars['moneda']->value){
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->getVariable('moneda')->value['tipo'];?>
|
||||
"><?php echo $_smarty_tpl->getVariable('moneda')->value['moneda'];?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">% Retencion Iva:</div>
|
||||
<div style="width:135px;float:left">
|
||||
<select name="porcentajeRetIva" id="porcentajeRetIva" class="largeInput">
|
||||
<?php $_smarty_tpl->tpl_vars['iva'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('retIvas')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['iva']->key => $_smarty_tpl->tpl_vars['iva']->value){
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->getVariable('iva')->value;?>
|
||||
"><?php echo $_smarty_tpl->getVariable('iva')->value;?>
|
||||
</option> <br />
|
||||
<?php }} ?>
|
||||
</select>
|
||||
</div>
|
||||
<div style="width:62px;float:left">% IEPS:</div>
|
||||
<div style="width:126px;float:left"><input name="porcentajeIEPS" id="porcentajeIEPS" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['porcentajeIEPS'];?>
|
||||
" size="12" class="largeInput"/></div>
|
||||
|
||||
<div style="width:85px;float:left">% de Descuento:</div>
|
||||
<div style="width:155px;float:left"><input name="porcentajeDescuento" id="porcentajeDescuento" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['porcentajeDescuento'];?>
|
||||
" size="15" class="largeInput"/></div>
|
||||
<div style="width:90px;float:left">Tipo de Cambio:</div>
|
||||
<div style="width:135px;float:left"><input name="tipoDeCambio" id="tipoDeCambio" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['tipoDeCambio'];?>
|
||||
" size="18" class="largeInput"/></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div style="width:90px;float:left">% Retencion ISR:</div>
|
||||
<div style="width:135px;float:left">
|
||||
<select name="porcentajeRetIsr" id="porcentajeRetIsr" class="largeInput">
|
||||
<?php $_smarty_tpl->tpl_vars['isr'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('retIsrs')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['isr']->key => $_smarty_tpl->tpl_vars['isr']->value){
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->getVariable('isr')->value;?>
|
||||
"><?php echo $_smarty_tpl->getVariable('isr')->value;?>
|
||||
</option> <br />
|
||||
<?php }} ?>
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Comprobante:</div>
|
||||
<div style="width:340px;float:left">
|
||||
<select name="tiposComprobanteId" id="tiposComprobanteId" class="largeInput" style="width:315px">
|
||||
<?php $_smarty_tpl->tpl_vars['comprobante'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('comprobantes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['comprobante']->key => $_smarty_tpl->tpl_vars['comprobante']->value){
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->getVariable('comprobante')->value['tiposComprobanteId'];?>
|
||||
-<?php echo $_smarty_tpl->getVariable('comprobante')->value['serieId'];?>
|
||||
"><?php echo $_smarty_tpl->getVariable('comprobante')->value['nombre'];?>
|
||||
- <?php echo $_smarty_tpl->getVariable('comprobante')->value['consecutivo'];?>
|
||||
</option>
|
||||
|
||||
<?php }} ?>
|
||||
</select></div>
|
||||
<div style="width:90px;float:left">Sucursal:</div>
|
||||
<div style="width:155px;float:left">
|
||||
<div class="txtFrm" style="width:140px"><?php echo $_smarty_tpl->getVariable('infSuc')->value['nombre'];?>
|
||||
</div>
|
||||
<input type="hidden" name="sucursalId" id="sucursalId" value="<?php echo $_smarty_tpl->getVariable('infSuc')->value['sucursalId'];?>
|
||||
" />
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<span id="loadingDivConcepto"></span>
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">Cantidad:</div>
|
||||
<div style="width:150px;float:left">No. Ident:</div>
|
||||
<div style="width:150px;float:left">Unidad:</div>
|
||||
<div style="width:150px;float:left">Valor Unitario:</div>
|
||||
<div style="width:150px;float:left">Excento Iva:</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form id="conceptoForm" name="conceptoForm">
|
||||
<input type="hidden" name="type" id="type" value="" />
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left">
|
||||
<input name="cantidad" id="cantidad" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['cantidad'];?>
|
||||
" size="15" class="largeInput" placeholder="Cantidad"/></div>
|
||||
<div style="width:150px;float:left">
|
||||
<input name="noIdentificacion" id="noIdentificacion" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['noIdentificacion'];?>
|
||||
" size="15" class="largeInput" placeholder="No. Identificacion"/>
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:150px;float:left">
|
||||
<input name="unidad" id="unidad" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['unidad'];?>
|
||||
" size="15" class="largeInput" placeholder="Unidad"/></div>
|
||||
<div style="width:150px;float:left">
|
||||
<input name="valorUnitario" id="valorUnitario" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['valorUnitario'];?>
|
||||
" size="15" class="largeInput" placeholder="Valor Unitario"/></div>
|
||||
<div style="width:150px;float:left">
|
||||
<select name="excentoIva" id="excentoIva" class="largeInput" style="width:120px">
|
||||
<?php $_smarty_tpl->tpl_vars['iva'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('excentoIva')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['iva']->key => $_smarty_tpl->tpl_vars['iva']->value){
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->getVariable('iva')->value;?>
|
||||
"><?php echo $_smarty_tpl->getVariable('iva')->value;?>
|
||||
</option> <br />
|
||||
<?php }} ?>
|
||||
</select></div>
|
||||
<div style="width:132px;float:left; cursor:pointer" id="agregarConceptoDiv" class="button"><span>Agregar</span></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<div class="formLine">
|
||||
<div style="width:30%;float:left">
|
||||
<textarea placeholder="Escribe tu concepto aqui" name="descripcion" id="descripcion" cols="33" rows="5" class="largeInput wide"><?php echo $_smarty_tpl->getVariable('post')->value['descripcion'];?>
|
||||
</textarea>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<hr />
|
||||
</div>
|
||||
</form>
|
||||
Conceptos Cargados:
|
||||
<div align="center" id="loader2" style="display:none">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/load.gif">
|
||||
</div>
|
||||
<div id="conceptos">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/conceptos-facturacion.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>
|
||||
<br /><br />
|
||||
|
||||
<div class="formLine">
|
||||
<div>Observaciones:</div>
|
||||
<div><textarea placeholder="Observaciones" name="observaciones" cols="33" rows="5" id="observaciones" class="largeInput wide"></textarea></div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<div>Totales Desglosados:</div>
|
||||
<div id="totalesDesglosadosDiv">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/total-desglosado.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>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div align="center" id="loader" style="display:none">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif">
|
||||
<br>
|
||||
Generando Comprobante...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
</div>
|
||||
|
||||
<div align="center" id="loaderPrev" style="display:none">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif">
|
||||
<br>
|
||||
Generando Vista Previa del Comprobante...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
</div>
|
||||
|
||||
<div align="center" id="contTemp"></div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div class="formLine" style="text-align:center; padding-left:320px" id ="reemplazarBoton">
|
||||
<a class="button" id="generarFactura" name="generarFactura"><span>Generar Comprobante</span></a>
|
||||
<a class="button" id="vistaPrevia" name="vistaPrevia"><span>Vista Previa</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
|
||||
compiled from "/var/www/html/templates/lists/enumTemporadas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:12635460215501cb4c474092-71934946%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2d94440fdfb74a83029013e4b4719738e4fc5954' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/enumTemporadas.tpl',
|
||||
1 => 1410130459,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '12635460215501cb4c474092-71934946',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<select name="temporadaId" id="temporadaId" class="largeInput" style="width:300px">
|
||||
<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('temporadas')->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['temporadaId'];?>
|
||||
" <?php if ($_smarty_tpl->getVariable('info')->value['temporadaId']==$_smarty_tpl->getVariable('item')->value['temporadaId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:09:07
|
||||
compiled from "./templates/inventario-wizard-list.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1957708307540a161401b2f1-58838905%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2e45e970fefafd0e0ce3336e9f2be8931413cebc' =>
|
||||
array (
|
||||
0 => './templates/inventario-wizard-list.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1957708307540a161401b2f1-58838905',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?><div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="inventario">Ajustar Inv. con Excel</h1>
|
||||
</div>
|
||||
|
||||
<div class="grid_6" id="eventbox">
|
||||
<a href="#" class="inline_calendar" style="color:#FF0000">
|
||||
Los productos SOLO se agregarán al stock actual.
|
||||
</a>
|
||||
<div class="hidden_calendar"></div>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard" class="inline_add">Agregar Ajuste</a>
|
||||
</div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("lists/inventario-wizard.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
48
templates_c/2ecbf2c2f2a5c4f0eed556b1782ccac43b2a843d.file.usuarios.tpl.php
Executable file
48
templates_c/2ecbf2c2f2a5c4f0eed556b1782ccac43b2a843d.file.usuarios.tpl.php
Executable file
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
|
||||
compiled from "./templates/lists/usuarios.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1538968317540ce2967bb318-86893742%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2ecbf2c2f2a5c4f0eed556b1782ccac43b2a843d' =>
|
||||
array (
|
||||
0 => './templates/lists/usuarios.tpl',
|
||||
1 => 1410130461,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1538968317540ce2967bb318-86893742',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/usuarios-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('usuarios')->value)){?>
|
||||
<?php $_smarty_tpl->tpl_vars['usuario'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('usuarios')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['usuario']->key => $_smarty_tpl->tpl_vars['usuario']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['usuario']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/usuarios-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/usuarios-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="5" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('pages')->value);$_template->assign('colspan',5); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:09:07
|
||||
compiled from "/var/www/html/templates/items/inventario-wizard-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1997121980540a1614146d95-58959118%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2fba3c874adbc802e53a2a2a78c9201801a7a903' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/inventario-wizard-header.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1997121980540a1614146d95-58959118',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<br />
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="80" scope="col"><div align="center">No.</div></th>
|
||||
<th width="300" scope="col"><div align="center">Sucursal</div></th>
|
||||
<th width="150" scope="col"><div align="center">Fecha</div></th>
|
||||
<th width="" scope="col"><div align="center">Usuario</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acción</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
186
templates_c/3186dc0b3a6bafe9af054f16249156f1ac874d99.file.main.tpl.php
Executable file
186
templates_c/3186dc0b3a6bafe9af054f16249156f1ac874d99.file.main.tpl.php
Executable file
@@ -0,0 +1,186 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:59
|
||||
compiled from "C:\xampp\htdocs\html/templates/menus/main.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10639540776c30eaf50-98915140%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3186dc0b3a6bafe9af054f16249156f1ac874d99' =>
|
||||
array (
|
||||
0 => 'C:\\xampp\\htdocs\\html/templates/menus/main.tpl',
|
||||
1 => 1408525902,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10639540776c30eaf50-98915140',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="menu">
|
||||
<ul class="group" id="menu_group_main">
|
||||
|
||||
<li class="item first" id="one">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner dashboard">Inicio</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>productos<?php }else{ ?>usuarios<?php }?>" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="composiciones"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="bancos"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner catalogos">Catálogos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="gerente"&&$_smarty_tpl->getVariable('Usr')->value['type']!="vendedor"&&$_smarty_tpl->getVariable('Usr')->value['type']!="cajero"&&$_smarty_tpl->getVariable('Usr')->value['type']!="facturacion"&&$_smarty_tpl->getVariable('Usr')->value['type']!="cliente"&&$_smarty_tpl->getVariable('Usr')->value['type']!="supervisor"){?>
|
||||
<li class="item middle" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/pedidos" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"||$_smarty_tpl->getVariable('page')->value=="pedidos-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"||$_smarty_tpl->getVariable('page')->value=="pedidos-aprobados"||$_smarty_tpl->getVariable('page')->value=="pedidos-rechazados"||$_smarty_tpl->getVariable('page')->value=="pedidos-rechazar"||$_smarty_tpl->getVariable('page')->value=="pedidos-revivir"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"||$_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"||$_smarty_tpl->getVariable('page')->value=="conciliaciones"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-pendientes"||$_smarty_tpl->getVariable('page')->value=="pedidos-aprobar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner compras">Compras</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="vendedor"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-fisico" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-solicitar" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard-list" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/ventas" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="ventas"||$_smarty_tpl->getVariable('page')->value=="ventas-nueva"||$_smarty_tpl->getVariable('page')->value=="ventas-espera"||$_smarty_tpl->getVariable('page')->value=="devoluciones"||$_smarty_tpl->getVariable('page')->value=="ventas-bloqueados"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner ventas">Ventas</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="javascript:void(0)" class="main" onclick="AddNewVtaDiv()">
|
||||
<span class="outer">
|
||||
<span class="inner ventas2">Nueva Venta</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>envios-tienda<?php }else{ ?>envios<?php }?>" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"||$_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-traspasos"||$_smarty_tpl->getVariable('page')->value=="envios-transito"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner envios">Envíos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturacion" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion-nueva"||$_smarty_tpl->getVariable('page')->value=="facturacion-certificado"||$_smarty_tpl->getVariable('page')->value=="facturacion-folios"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner facturacion">Facturación</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
|
||||
<li class="item last" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-ventas" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-compras"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentaspagar"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentascobrar"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"||$_smarty_tpl->getVariable('page')->value=="reportes-tickets"||$_smarty_tpl->getVariable('page')->value=="reportes-faltantes"||$_smarty_tpl->getVariable('page')->value=="reportes-devcedis"||$_smarty_tpl->getVariable('page')->value=="analisis-venta"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner reportes">Reportes</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="cliente"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturas-listado" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturas-listado"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner facturacion">Facturas</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturas-datos" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturas-datos"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner customer">Mis Datos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
47
templates_c/319e94f98625151aa3c194c721b83dc6326d9a59.file.motivos.tpl.php
Executable file
47
templates_c/319e94f98625151aa3c194c721b83dc6326d9a59.file.motivos.tpl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:00:56
|
||||
compiled from "./templates/lists/motivos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1737057767540f5c780cae86-17099251%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'319e94f98625151aa3c194c721b83dc6326d9a59' =>
|
||||
array (
|
||||
0 => './templates/lists/motivos.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1737057767540f5c780cae86-17099251',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/motivos-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('motivos')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('motivos')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/motivos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/motivos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="3" align="center">No se encontraron registros.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('motivos')->value['pages']);$_template->assign('colspan',3); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:00
|
||||
compiled from "/var/www/html/templates/items/proveedores-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:715111552540f5c7c6b9034-51945268%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'32a566a70398cc22efc59fa404164ab617bc9e11' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/proveedores-header.tpl',
|
||||
1 => 1410130456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '715111552540f5c7c6b9034-51945268',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="80" scope="col"><div align="center">No. Prov.</div></th>
|
||||
<th width="180" scope="col"><div align="center">RFC</div></th>
|
||||
<th width="" scope="col"><div align="center">Nombre</div></th>
|
||||
<th width="150" scope="col"><div align="center">Teléfono</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:46
|
||||
compiled from "./templates/lists/facturas-listado.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1527874725540a2532d9bfd5-96962005%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'330ddf1d282d741196b3e4b7245084a90c3800a1' =>
|
||||
array (
|
||||
0 => './templates/lists/facturas-listado.tpl',
|
||||
1 => 1410130459,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1527874725540a2532d9bfd5-96962005',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturas-listado-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('comprobantes')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['fact'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('comprobantes')->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['fact']->key => $_smarty_tpl->tpl_vars['fact']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['fact']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturas-listado-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturas-listado-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('comprobantes')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
|
||||
compiled from "/var/www/html/templates/items/facturacion-mensual-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:6972831795411bfd8229be2-37224542%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3360d0709ee2e854ec625252626af6405250eea1' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/facturacion-mensual-header.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '6972831795411bfd8229be2-37224542',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<div align="center">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/user.gif" width="16" height="16" /> Resumen de Comprobantes Emitidos
|
||||
</div>
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="70" scope="col"><div align="center">RFC</div></th>
|
||||
<th width="" scope="col"><div align="center">Nombre</div></th>
|
||||
<th width="60" scope="col"><div align="center">Fecha</div></th>
|
||||
<th width="89" scope="col"><div align="center">Monto</div></th>
|
||||
<th width="60" scope="col"><div align="center">Folio</div></th>
|
||||
<?php if ($_smarty_tpl->getVariable('version')->value=="construc"||$_smarty_tpl->getVariable('version')->value=="v3"){?>
|
||||
<th width="120" scope="col"><div align="center">UUID</div></th>
|
||||
<?php }?>
|
||||
<th width="70" scope="col"><div align="center">Periodo</div></th>
|
||||
<th width="34" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
186
templates_c/33df58a2d40311f1980c935e08555bae0f2512c3.file.main.tpl.php
Executable file
186
templates_c/33df58a2d40311f1980c935e08555bae0f2512c3.file.main.tpl.php
Executable file
@@ -0,0 +1,186 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
|
||||
compiled from "/var/www/html/templates/menus/main.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:14245309135409fd00649057-97011075%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'33df58a2d40311f1980c935e08555bae0f2512c3' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/menus/main.tpl',
|
||||
1 => 1410130461,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '14245309135409fd00649057-97011075',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="menu">
|
||||
<ul class="group" id="menu_group_main">
|
||||
|
||||
<li class="item first" id="one">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner dashboard">Inicio</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>productos<?php }else{ ?>usuarios<?php }?>" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="composiciones"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="bancos"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner catalogos">Catálogos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="gerente"&&$_smarty_tpl->getVariable('Usr')->value['type']!="vendedor"&&$_smarty_tpl->getVariable('Usr')->value['type']!="cajero"&&$_smarty_tpl->getVariable('Usr')->value['type']!="facturacion"&&$_smarty_tpl->getVariable('Usr')->value['type']!="cliente"&&$_smarty_tpl->getVariable('Usr')->value['type']!="supervisor"){?>
|
||||
<li class="item middle" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/pedidos" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"||$_smarty_tpl->getVariable('page')->value=="pedidos-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"||$_smarty_tpl->getVariable('page')->value=="pedidos-aprobados"||$_smarty_tpl->getVariable('page')->value=="pedidos-rechazados"||$_smarty_tpl->getVariable('page')->value=="pedidos-rechazar"||$_smarty_tpl->getVariable('page')->value=="pedidos-revivir"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"||$_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"||$_smarty_tpl->getVariable('page')->value=="conciliaciones"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-pendientes"||$_smarty_tpl->getVariable('page')->value=="pedidos-aprobar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner compras">Compras</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="vendedor"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-fisico" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-solicitar" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/inventario-wizard-list" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/ventas" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="ventas"||$_smarty_tpl->getVariable('page')->value=="ventas-nueva"||$_smarty_tpl->getVariable('page')->value=="ventas-espera"||$_smarty_tpl->getVariable('page')->value=="devoluciones"||$_smarty_tpl->getVariable('page')->value=="ventas-bloqueados"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner ventas">Ventas</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="javascript:void(0)" class="main" onclick="AddNewVtaDiv()">
|
||||
<span class="outer">
|
||||
<span class="inner ventas2">Nueva Venta</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>envios-tienda<?php }else{ ?>envios<?php }?>" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"||$_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-traspasos"||$_smarty_tpl->getVariable('page')->value=="envios-transito"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner envios">Envíos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturacion" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion-nueva"||$_smarty_tpl->getVariable('page')->value=="facturacion-certificado"||$_smarty_tpl->getVariable('page')->value=="facturacion-folios"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner facturacion">Facturación</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
|
||||
<li class="item last" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/reportes-ventas" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-compras"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentaspagar"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentascobrar"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"||$_smarty_tpl->getVariable('page')->value=="reportes-tickets"||$_smarty_tpl->getVariable('page')->value=="reportes-faltantes"||$_smarty_tpl->getVariable('page')->value=="reportes-devcedis"||$_smarty_tpl->getVariable('page')->value=="analisis-venta"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner reportes">Reportes</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="cliente"){?>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturas-listado" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturas-listado"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner facturacion">Facturas</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="item" id="two">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/facturas-datos" class="main
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="facturas-datos"){?>current<?php }?>">
|
||||
<span class="outer">
|
||||
<span class="inner customer">Mis Datos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:02
|
||||
compiled from "/var/www/html/templates/items/temporadas-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:753625948540f5c7ecc6cf4-70447111%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'34d9b15abb653d2375ef2030210853274f611cc7' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/temporadas-header.tpl',
|
||||
1 => 1410130456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '753625948540f5c7ecc6cf4-70447111',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
|
||||
<div align="center" class="btnAddGral">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addTemporada">Agregar Temporada</a>
|
||||
</div>
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="100" scope="col"><div align="center">ID</div></th>
|
||||
<th width="" scope="col">Nombre</th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:26:06
|
||||
compiled from "/var/www/html/templates/items/comisiones-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:3041855654205bae3a09a8-55288636%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3784ce89181efb2081fe368e56f9988bad91203d' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/comisiones-base.tpl',
|
||||
1 => 1410130453,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '3041855654205bae3a09a8-55288636',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['comisionId'];?>
|
||||
</td>
|
||||
<td><?php echo $_smarty_tpl->getVariable('item')->value['tipoUsuario'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['comisionBajo'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['comisionAlto'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['rango'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['comisionId'];?>
|
||||
" title="Editar"/>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['comisionId'];?>
|
||||
" title="Eliminar"/>
|
||||
</td>
|
||||
</tr>
|
||||
47
templates_c/38c9bc12dbc87f3e993857824db5430ad7c325be.file.clientes.tpl.php
Executable file
47
templates_c/38c9bc12dbc87f3e993857824db5430ad7c325be.file.clientes.tpl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:17
|
||||
compiled from "./templates/lists/clientes.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1649246204540ce306e34e25-58257966%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'38c9bc12dbc87f3e993857824db5430ad7c325be' =>
|
||||
array (
|
||||
0 => './templates/lists/clientes.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1649246204540ce306e34e25-58257966',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/clientes-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('clientes')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('clientes')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/clientes-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/clientes-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="3" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('clientes')->value['pages']);$_template->assign('colspan',3); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:00
|
||||
compiled from "./templates/proveedores.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:91796674540f5c7c5e49d5-34019579%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'394537b7b848d9f4e6f967c86e3895c5965ae49a' =>
|
||||
array (
|
||||
0 => './templates/proveedores.tpl',
|
||||
1 => 1410130447,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '91796674540f5c7c5e49d5-34019579',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Proveedores</h1>
|
||||
</div>
|
||||
|
||||
<div class="grid_6" id="eventbox" style="display:none">
|
||||
<a href="#" class="inline_tip"></a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center" class="btnAddGral">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addProveedor">Agregar Proveedor</a>
|
||||
</div>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-proveedores.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 class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/proveedores.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:00
|
||||
compiled from "./templates/lists/proveedores.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:290367699540f5c7c62ae71-36646305%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3a464cd1562cbce171868e5ebbb6905eb79c6879' =>
|
||||
array (
|
||||
0 => './templates/lists/proveedores.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '290367699540f5c7c62ae71-36646305',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/proveedores-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('proveedores')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('proveedores')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/proveedores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/proveedores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="5" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('proveedores')->value['pages']);$_template->assign('colspan',5); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
26
templates_c/3a4f6f0d327fc7bc3ea86f63906a1bf934ca50c7.file.footer.tpl.php
Executable file
26
templates_c/3a4f6f0d327fc7bc3ea86f63906a1bf934ca50c7.file.footer.tpl.php
Executable file
@@ -0,0 +1,26 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
|
||||
compiled from "./templates/footer.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1467893861540ce2922ad3a9-18354758%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3a4f6f0d327fc7bc3ea86f63906a1bf934ca50c7' =>
|
||||
array (
|
||||
0 => './templates/footer.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1467893861540ce2922ad3a9-18354758',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"> </div>
|
||||
|
||||
</div>
|
||||
<!-- WRAPPER END -->
|
||||
<!-- FOOTER START -->
|
||||
<div class="container_16" id="footer">
|
||||
</div>
|
||||
<!-- FOOTER END -->
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:51:34
|
||||
compiled from "/var/www/html/templates/lists/enumMetodoCompra.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2014588420540a160f84c7a2-31953634%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3aee1e59ca95d345b868be0e8a72fb44dc6a8957' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/enumMetodoCompra.tpl',
|
||||
1 => 1410130458,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2014588420540a160f84c7a2-31953634',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<select name="metodoCompra" id="metodoCompra" class="largeInput" style="width:300px">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="conIva" <?php if ($_smarty_tpl->getVariable('info')->value['metodoCompra']=="conIva"){?>selected<?php }?>>IVA Incluido</option>
|
||||
<option value="sinIva" <?php if ($_smarty_tpl->getVariable('info')->value['metodoCompra']=="sinIva"){?>selected<?php }?>>IVA No Incluido</option>
|
||||
</select>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
|
||||
compiled from "/var/www/html/templates/lists/atributos-valores.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:114006895154205b9c47a040-96385028%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3d40df9e92019fcbfe6a7f4bd6d6732ddcc549d1' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/atributos-valores.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '114006895154205b9c47a040-96385028',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('item')->value['valores'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['itm'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('item')->value['valores']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['itm']->key => $_smarty_tpl->tpl_vars['itm']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['itm']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="3" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new2.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('valores')->value['pages']);$_template->assign('colspan',3); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 19:30:05
|
||||
compiled from "./templates/promociones.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:65188640954075d875bbbf7-85307005%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3dbfbf4369f4065486728364c580df10c418e54f' =>
|
||||
array (
|
||||
0 => './templates/promociones.tpl',
|
||||
1 => 1410130447,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '65188640954075d875bbbf7-85307005',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?><div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Promociones</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addPromocion">Agregar Promoción</a>
|
||||
</div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/promociones.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
41
templates_c/3e006eb598b0bcf07e94850fc53d9cbc96e36994.file.comisiones.tpl.php
Executable file
41
templates_c/3e006eb598b0bcf07e94850fc53d9cbc96e36994.file.comisiones.tpl.php
Executable file
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:26:06
|
||||
compiled from "./templates/comisiones.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:134164624554205bae344de8-93981100%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3e006eb598b0bcf07e94850fc53d9cbc96e36994' =>
|
||||
array (
|
||||
0 => './templates/comisiones.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '134164624554205bae344de8-93981100',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Politicas de Comisiones</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addComision">Agregar Politica de Comision</a>
|
||||
</div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/comisiones.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:46
|
||||
compiled from "./templates/lists/reportes-invparcial.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:837243430540a203535a7a8-23655002%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3fb17eac714160f28b83ac8d7316fff25cbc0e16' =>
|
||||
array (
|
||||
0 => './templates/lists/reportes-invparcial.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '837243430540a203535a7a8-23655002',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/reportes-invparcial-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('reportesInv')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('reportesInv')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/reportes-invparcial-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/reportes-invparcial-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="7" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('reportesInv')->value['pages']);$_template->assign('colspan',7); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:56:01
|
||||
compiled from "./templates/lists/reportes-tickets.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:17917636195411c611838734-21004135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'409cf91903a9fab63f6d6ff1b6f444217eea127c' =>
|
||||
array (
|
||||
0 => './templates/lists/reportes-tickets.tpl',
|
||||
1 => 1410360592,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '17917636195411c611838734-21004135',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="reportes">Reportes de Tickets</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("forms/filtro-reporte-ticket.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 class="clear"></div>
|
||||
<div id="tipoRv"></div>
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("lists/reportes-tickets.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>
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:02
|
||||
compiled from "/var/www/html/templates/items/temporadas-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:310566380540f5c7ecdcc54-55832463%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'42610c3af667bad9db8f93a4d8ccba3bf817cae6' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/temporadas-base.tpl',
|
||||
1 => 1410130456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '310566380540f5c7ecdcc54-55832463',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['temporadaId'];?>
|
||||
</div></td>
|
||||
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['temporadaId'];?>
|
||||
" title="Editar"/>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['temporadaId'];?>
|
||||
" title="Eliminar"/>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:03
|
||||
compiled from "/var/www/html/templates/items/materiales-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1928198116540f5c7ff22a71-26171013%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'42afb4b32364fb8ad3039c4f31ed729e1dddc450' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/materiales-base.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1928198116540f5c7ff22a71-26171013',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
|
||||
</div></td>
|
||||
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
|
||||
" title="Editar"/>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
|
||||
" title="Eliminar"/>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:14
|
||||
compiled from "./templates/forms/search-clientes.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:154107707540ce306e21e79-17714151%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'42c12bf624aab74a84b4f4942d7d677cde5eb838' =>
|
||||
array (
|
||||
0 => './templates/forms/search-clientes.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '154107707540ce306e21e79-17714151',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Búsqueda por RFC o Nombre</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="text" size="35" name="word" id="word" class="largeInput" onkeyup="CheckKey(event)" />
|
||||
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,76 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-19 12:10:33
|
||||
compiled from "/var/www/html/templates/lists/pedidos-productos-dist6.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1350786541541c638981ab44-72680400%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'42ce67cc65164df8706f1b68033d7cce91ea6992' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/pedidos-productos-dist6.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1350786541541c638981ab44-72680400',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<br />
|
||||
<form name="frmDistribucion" id="frmDistribucion">
|
||||
<input type="hidden" name="type" id="type" value="distribucionPedido" />
|
||||
<input type="hidden" name="pedidoId" id="pedidoId" value="<?php echo $_smarty_tpl->getVariable('info')->value['pedidoId'];?>
|
||||
" />
|
||||
<input type="hidden" name="idProd" id="idProd" value="" />
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('products')->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;
|
||||
?>
|
||||
<div align="center">
|
||||
<b><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
|
||||
|
||||
<br /><?php echo $_smarty_tpl->getVariable('item')->value['atributos'];?>
|
||||
|
||||
<br /><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
|
||||
</b>
|
||||
<br /> Cant. Prendas: <div id="txtCantPrendas_<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
"><?php echo $_smarty_tpl->getVariable('item')->value['prendasFaltantes'];?>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['kS'] = 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['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
|
||||
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
|
||||
?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->assign("distP",$_smarty_tpl->getVariable('dist')->value[$_tmp1][$_tmp2],null,null);?>
|
||||
<div class="boxDist">
|
||||
Suc. <?php echo $_smarty_tpl->getVariable('iS')->value['noSuc'];?>
|
||||
<br />
|
||||
<input type="text" class="smallInput" name="cant_<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
|
||||
" id="cant_<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
|
||||
" style="width:50px" onblur="UpdateSaldoPrendas(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
)" value="<?php echo $_smarty_tpl->getVariable('distP')->value['cantidad'];?>
|
||||
" />
|
||||
</div>
|
||||
<?php }} ?>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
|
||||
<?php }} else { ?>
|
||||
<div align="center">Ningún producto encontrado.</div>
|
||||
<?php } ?>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:40
|
||||
compiled from "/var/www/html/templates/items/devoluciones-cedis-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:264485643540de1304320a1-71367184%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'442a11d8110ce06c228ae2c9ac54baed3ed2c279' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/devoluciones-cedis-base.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '264485643540de1304320a1-71367184',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
|
||||
?> <tr>
|
||||
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fecha'],"%d-%m-%Y %k:%M:%S");?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/devoluciones-cedis-detalles/id/<?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
|
||||
" title="Ver Detalles">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" border="0"/>
|
||||
</a>
|
||||
<a href="javascript:void(0)" onclick="DeleteDev(<?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
|
||||
)" title="Eliminar">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.png" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:49
|
||||
compiled from "./templates/facturas-datos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1855540307540a2542892913-78377980%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'462138f9fc2abcdd22595d9630bf92a3f47d55b9' =>
|
||||
array (
|
||||
0 => './templates/facturas-datos.tpl',
|
||||
1 => 1410130446,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1855540307540a2542892913-78377980',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Mis Datos :: Actualizar</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("forms/agregar-cliente-datos.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
29
templates_c/477def85cd4c5ea18190bbe203aebde0ab5982cc.file.pages_new2.tpl.php
Executable file
29
templates_c/477def85cd4c5ea18190bbe203aebde0ab5982cc.file.pages_new2.tpl.php
Executable file
@@ -0,0 +1,29 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
|
||||
compiled from "/var/www/html/templates/lists/pages_new2.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:168217063054205b9c568254-44430343%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'477def85cd4c5ea18190bbe203aebde0ab5982cc' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/pages_new2.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '168217063054205b9c568254-44430343',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr class="footer">
|
||||
<td colspan="<?php echo $_smarty_tpl->getVariable('colspan')->value;?>
|
||||
" align="right">
|
||||
<!-- PAGINATION START -->
|
||||
<div class="pagination">
|
||||
</div>
|
||||
<!-- PAGINATION END -->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
47
templates_c/481b70514c053b18c6fe5b12cb0b49c6d408c682.file.ventas.tpl.php
Executable file
47
templates_c/481b70514c053b18c6fe5b12cb0b49c6d408c682.file.ventas.tpl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:58:14
|
||||
compiled from "./templates/lists/ventas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1425469176540f5bd6beefa9-70373735%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'481b70514c053b18c6fe5b12cb0b49c6d408c682' =>
|
||||
array (
|
||||
0 => './templates/lists/ventas.tpl',
|
||||
1 => 1410130461,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1425469176540f5bd6beefa9-70373735',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/ventas-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('ventas')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('ventas')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/ventas-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/ventas-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="8" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('ventas')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,112 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:35:23
|
||||
compiled from "./templates/forms/search-facturas-mens-gral.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2085184645542079fb8eadb5-72788358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'498c6fb3f6a5cbd30fb74c8e155e0300167541b1' =>
|
||||
array (
|
||||
0 => './templates/forms/search-facturas-mens-gral.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2085184645542079fb8eadb5-72788358',
|
||||
'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="76" scope="col"></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>
|
||||
<th width="" scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"></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>
|
||||
<td align="center"></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>
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:43
|
||||
compiled from "/var/www/html/templates/lists/pedidos-productos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1709907038540a160f920cb0-05099991%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4d6d79c929edf4c107cb5c8417f1b3e744dc6c10' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/pedidos-productos.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1709907038540a160f920cb0-05099991',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('products')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
|
||||
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['it']->key;
|
||||
?>
|
||||
<hr />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" align="left" height="40">Departamento:</td>
|
||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['departamento'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">Línea:</td>
|
||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['linea'];?>
|
||||
</div></td>
|
||||
<td width="30" align="center">
|
||||
<a href="javascript:void(0)" onclick="DeleteProducto(<?php echo $_smarty_tpl->getVariable('k')->value;?>
|
||||
)" title="Eliminar">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.png" border="0" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" align="left" height="40">Modelo:</td>
|
||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['modelo'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">Descripción:</td>
|
||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['atributos'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" align="left" height="40">Código de Barra:</td>
|
||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['codigoBarra'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">Cant. de Prendas a Solicitar:</td>
|
||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['cantPrendas'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" align="center">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-proporciones2.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);?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php }} else { ?>
|
||||
<hr />
|
||||
Ningún producto encontrado.
|
||||
<?php } ?>
|
||||
@@ -0,0 +1,93 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:17:38
|
||||
compiled from "./templates/forms/search-envios-recibir-reporte.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:21376829005425adc250b817-45616639%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4e209dea1f08258595a1aa692555cbb7eef78f51' =>
|
||||
array (
|
||||
0 => './templates/forms/search-envios-recibir-reporte.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '21376829005425adc250b817-45616639',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<form name="frmSearch" id="frmSearch">
|
||||
<input type="hidden" name="action" id="action" value="search" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="box-table-a" style="border-top:1px solid #999999">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" width="50"></th>
|
||||
<th align="center" width="250"><div align="center">Sucursal</div></th>
|
||||
<th width="200"><div align="center">No. Envío</div></th>
|
||||
<th align="center" width="120"><div align="center">Código Barra</div></th>
|
||||
<th align="center"><div align="center">Status</div></th>
|
||||
<th align="center" width="50"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div class="txtFrm" style="width:200px"><?php echo $_smarty_tpl->getVariable('info')->value['sucursal'];?>
|
||||
</div>
|
||||
<input type="hidden" name="sucursalId2" id="sucursalId2" value="<?php echo $_smarty_tpl->getVariable('Usr')->value['sucursalId'];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:200px">
|
||||
<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 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>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="envioId2" id="envioId2" class="largeInput" style="width:70px" maxlength="10" onkeyup="CheckKey(event)" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="codigoBarra2" id="codigoBarra2" class="largeInput" style="width:120px" maxlength="30" onkeyup="CheckKey(event)" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="status2" id="status2" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Autorizado">Autorizado</option>
|
||||
<option value="Rechazado">Rechazado</option>
|
||||
<option value="Pendiente">Pendiente</option>
|
||||
</select>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
|
||||
compiled from "/var/www/html/templates/lists/productos-materiales.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2332778865501cb4c3e9c35-94133402%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4ffadc48c0212228e49116fe50bfb352f06f8c45' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/productos-materiales.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2332778865501cb4c3e9c35-94133402',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('prodMats')->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;
|
||||
?>
|
||||
<tr>
|
||||
<td width="130" align="left">* Material</td>
|
||||
<td align="left" height="40"><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumMatProd.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);?>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">* % Porcentaje</td>
|
||||
<td align="left"><input name="porcentaje[<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
]" id="porcentaje_<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
" type="text" class="largeInput" style="width:260px" value="<?php echo $_smarty_tpl->getVariable('item')->value['porcentaje'];?>
|
||||
"/>
|
||||
</td>
|
||||
<td><a href="javascript:void(0)" onclick="DeleteMaterial(<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.png" border="0" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td align="center">Ningún material encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:01
|
||||
compiled from "/var/www/html/templates/items/productos-duplicados-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:502705557540f5c7dce7f53-66345909%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'50b9664ebc060168ceed4ff4827dbb0ba9a0bdcd' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/productos-duplicados-base.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '502705557540f5c7dce7f53-66345909',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['noProv'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['proveedor'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['departamento'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['linea'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['precioVentaIva'],2,".",",");?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['costo'],2,".",",");?>
|
||||
</div></td>
|
||||
<td align="center"><div align="center" <?php if ($_smarty_tpl->getVariable('status')->value=="Baja"){?>style="color:#FF0000"<?php }?>>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos-detalles/id/<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
" title="Ver Detalles">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" border="0"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
|
||||
compiled from "/var/www/html/templates/items/atributos-valores-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:30781898554205b9c4c8775-93963532%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'50d3941861ab1ca352d3c4f6494443256e445b63' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/atributos-valores-header.tpl',
|
||||
1 => 1410130453,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '30781898554205b9c4c8775-93963532',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="100" bgcolor="#00CC00"><div align="center"></div></th>
|
||||
<th width="" scope="col">Nombre</th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:40
|
||||
compiled from "/var/www/html/templates/items/devoluciones-cedis-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2051292112540de130420156-04578450%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'52f1c3ecb2a66b9dd26d3534c6aaa5fa320ce96c' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/devoluciones-cedis-header.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2051292112540de130420156-04578450',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
|
||||
<div class="portlet-content nopadding">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="80" scope="col"><div align="center">No.</div></th>
|
||||
<th width="" scope="col"><div align="center">Usuario</div></th>
|
||||
<th width="200" scope="col"><div align="center">Fecha</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:13
|
||||
compiled from "/var/www/html/templates/items/inventario-wizard2-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1447539026540e3d6d3fb0f2-82443229%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'55f8eb91176eea36e2ceb10b5a6265711cb852e7' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/inventario-wizard2-header.tpl',
|
||||
1 => 1410130455,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1447539026540e3d6d3fb0f2-82443229',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<br />
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="80" scope="col"><div align="center">No.</div></th>
|
||||
<th width="300" scope="col"><div align="center">Sucursal</div></th>
|
||||
<th width="150" scope="col"><div align="center">Fecha</div></th>
|
||||
<th width="" scope="col"><div align="center">Usuario</div></th>
|
||||
<th width="100" scope="col"><div align="center">Acción</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:42
|
||||
compiled from "./templates/forms/agregar-envio-cedis.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:19946011265411babe7f8058-49954136%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'560d2e9e2a1bddd10db9a93f6eb72ebe83f16b48' =>
|
||||
array (
|
||||
0 => './templates/forms/agregar-envio-cedis.tpl',
|
||||
1 => 1410130449,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '19946011265411babe7f8058-49954136',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="divForm">
|
||||
<form id="frmMercancia" name="frmMercancia" method="post">
|
||||
<input type="hidden" id="type" name="type" value="sendMercancia" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">* Tienda de Envío:</td>
|
||||
<td><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumSucEnvios.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);?>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr><td colspan="5"> </td></tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: ORDENES PENDIENTES POR ENVIO ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<hr />
|
||||
<div id="ordenes">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/envios-ordenes-comp.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>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center" style="display:none" id="loader">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif">
|
||||
<br>
|
||||
Guardando Información...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
|
||||
<div style="float:left; margin-left:300px">
|
||||
<a class="button" name="btnSave" onclick="SendMercancia()" style="margin-right:20px">
|
||||
<span>Enviar Mercancia y Generar Talones de Embarque</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/envios"><< Regresar</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
34
templates_c/56aca60b1ef5a67e2cc218aed0cd18cde11fe009.file.enumUsers.tpl.php
Executable file
34
templates_c/56aca60b1ef5a67e2cc218aed0cd18cde11fe009.file.enumUsers.tpl.php
Executable file
@@ -0,0 +1,34 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:58:14
|
||||
compiled from "/var/www/html/templates/lists/enumUsers.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2074411642540f5bd6bc4548-13828934%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'56aca60b1ef5a67e2cc218aed0cd18cde11fe009' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/enumUsers.tpl',
|
||||
1 => 1410130459,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2074411642540f5bd6bc4548-13828934',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<select name="usuarioId2" id="usuarioId2" class="smallInput">
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="cajero"){?>
|
||||
<option value="">Todos</option>
|
||||
<?php }?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('usuarios')->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['usuarioId'];?>
|
||||
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 17:27:50
|
||||
compiled from ".\templates\reportes-ventas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:21076540795e65424d1-06235535%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'57ed335cddff5e2a8e53594903d317af09d8c799' =>
|
||||
array (
|
||||
0 => '.\\templates\\reportes-ventas.tpl',
|
||||
1 => 1408525966,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '21076540795e65424d1-06235535',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="reportes">Reportes de Ventas</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("forms/filtro-reporte-ventas.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 class="clear"></div>
|
||||
<div id="tipoRv"></div>
|
||||
<div class="grid_15" id="contenido">
|
||||
</div>
|
||||
<div align="center">
|
||||
<div id="loadBusqueda" style="display:none">
|
||||
<br />
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:29
|
||||
compiled from "/var/www/html/templates/lists/enumUserTypes.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:194412353654075a9bc69125-97589646%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'59d27d856cf57207eb7717982f8f209e047aa021' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/enumUserTypes.tpl',
|
||||
1 => 1410130459,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '194412353654075a9bc69125-97589646',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<select name="tipo" id="tipo" class="largeInput" style="width:300px" onchange="CheckTipo()">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="admin" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="admin"){?>selected="selected"<?php }?>>Administrador</option>
|
||||
<option value="centralizador" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="centralizador"){?>selected="selected"<?php }?>>Centralizador</option>
|
||||
<option value="cajero" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="cajero"){?>selected="selected"<?php }?>>Cajero</option>
|
||||
<option value="almacen" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="almacen"){?>selected="selected"<?php }?>>CEDIS</option>
|
||||
<option value="compras" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="compras"){?>selected="selected"<?php }?>>Compras</option>
|
||||
<option value="direccion" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="direccion"){?>selected="selected"<?php }?>>Dirección</option>
|
||||
<option value="facturacion" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="facturacion"){?>selected="selected"<?php }?>>Facturación</option>
|
||||
<option value="gerente" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="gerente"){?>selected="selected"<?php }?>>Gerente</option>
|
||||
<option value="subgerente" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="subgerente"){?>selected="selected"<?php }?>>Subgerente</option>
|
||||
<option value="supervisor" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="supervisor"){?>selected="selected"<?php }?>>Supervisor</option>
|
||||
<option value="vendedor" <?php if ($_smarty_tpl->getVariable('info')->value['type']=="vendedor"){?>selected="selected"<?php }?>>Vendedor</option>
|
||||
</select>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:45
|
||||
compiled from "./templates/cuentas-bancarias.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:131119554854205b995e5e29-91790373%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'59ea87a1a32c2f1f7039093bfb1017f42cec91db' =>
|
||||
array (
|
||||
0 => './templates/cuentas-bancarias.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '131119554854205b995e5e29-91790373',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Cuentas Bancarias</h1>
|
||||
</div>
|
||||
|
||||
<div class="grid_6" id="eventbox" style="display:none">
|
||||
<a href="#" class="inline_tip"></a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/cuentas-bancarias.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:00:59
|
||||
compiled from "./templates/bonificacion-devolucion.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1944988830540f5c7b651224-05328628%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5b4378f44ece2e8b0c2c78ed6948c46fb4b29c5f' =>
|
||||
array (
|
||||
0 => './templates/bonificacion-devolucion.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1944988830540f5c7b651224-05328628',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="compras">Politicas Bonificación / Devolución</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div align="center">
|
||||
<a href="javascript:void(0)" class="inline_add" id="addPolitica">Agregar Politica</a>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("lists/politicas.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:17:38
|
||||
compiled from "/var/www/html/templates/items/envios-productos-recibidos-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1397033445425adc2637a07-97404418%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5c0d025ec96caaf4c6d69006d18ee67c445c0083' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/envios-productos-recibidos-base.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1397033445425adc2637a07-97404418',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
|
||||
</td>
|
||||
<td align="left"><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['total'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['tipo'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['recibido'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
|
||||
|
||||
<?php if (($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen")&&$_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
||||
<a href="javascript:void(0)" title="Autorizar" onclick="AutorizarProducto(<?php echo $_smarty_tpl->getVariable('item')->value['envRepProdId'];?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/ok.png" border="1" />
|
||||
</a>
|
||||
<a href="javascript:void(0)" title="Rechazar" onclick="RechazarProducto(<?php echo $_smarty_tpl->getVariable('item')->value['envRepProdId'];?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/cancel.png" border="1" />
|
||||
</a>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-12-10 08:16:13
|
||||
compiled from "./templates/envios-reporte.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:834771526548855ad13d073-92625572%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5db7ad4a1118710de2a47d0a109470ee067eafe2' =>
|
||||
array (
|
||||
0 => './templates/envios-reporte.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '834771526548855ad13d073-92625572',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Reporte de Envíos :: CEDIS - Tienda</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("forms/search-envios-reporte.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 class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/envios-reporte.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
48
templates_c/5f1dae19d935ff170c5a786694bbc5a0ece58e93.file.temporadas.tpl.php
Executable file
48
templates_c/5f1dae19d935ff170c5a786694bbc5a0ece58e93.file.temporadas.tpl.php
Executable file
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:02
|
||||
compiled from "./templates/lists/temporadas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:452927024540f5c7ec61a56-21078297%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5f1dae19d935ff170c5a786694bbc5a0ece58e93' =>
|
||||
array (
|
||||
0 => './templates/lists/temporadas.tpl',
|
||||
1 => 1410130461,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '452927024540f5c7ec61a56-21078297',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/temporadas-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('temporadas')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('temporadas')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/temporadas-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/temporadas-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="3" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('temporadas')->value['pages']);$_template->assign('colspan',3); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:45
|
||||
compiled from "./templates/lists/cuentas-bancarias.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:157655712854205b9960bbd8-00907348%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'61938bc514732ce0171987700c0505ef3900d05b' =>
|
||||
array (
|
||||
0 => './templates/lists/cuentas-bancarias.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '157655712854205b9960bbd8-00907348',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-bancarias-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('cuentasBancarias')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('cuentasBancarias')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-bancarias-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-bancarias-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="4" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('cuentasBancarias')->value['pages']);$_template->assign('colspan',4); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
47
templates_c/61dd498832db504deb29a364b31fc316b9d07f88.file.comisiones.tpl.php
Executable file
47
templates_c/61dd498832db504deb29a364b31fc316b9d07f88.file.comisiones.tpl.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:26:06
|
||||
compiled from "./templates/lists/comisiones.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:110947734254205bae35d527-43322974%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'61dd498832db504deb29a364b31fc316b9d07f88' =>
|
||||
array (
|
||||
0 => './templates/lists/comisiones.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '110947734254205bae35d527-43322974',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/comisiones-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
|
||||
<?php if (count($_smarty_tpl->getVariable('comisiones')->value['items'])){?>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('comisiones')->value['items']; 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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/comisiones-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/comisiones-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
<?php }else{ ?>
|
||||
<tr><td colspan="6" align="center">Ningún registro encontrado.</td>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
$_template->assign('pages',$_smarty_tpl->getVariable('comisiones')->value['pages']);$_template->assign('colspan',6); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:20
|
||||
compiled from "/var/www/html/templates/items/inventario-bloqueados-header.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:254323889540e3d741e0009-92157283%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'627a98692ed54c9125341abf83941288ee7c40da' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/inventario-bloqueados-header.tpl',
|
||||
1 => 1410130454,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '254323889540e3d741e0009-92157283',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="clear"></div>
|
||||
<!--THIS IS A WIDE PORTLET-->
|
||||
<div class="portlet">
|
||||
<br />
|
||||
<div class="portlet-content nopadding">
|
||||
<form action="" method="post">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="60" scope="col"><div align="center">Código Barra</div></th>
|
||||
<th width="150" scope="col"><div align="center">Proveedor</div></th>
|
||||
<th width="" scope="col"><div align="center">Modelo</div></th>
|
||||
<th width="80" scope="col"><div align="center">Talla</div></th>
|
||||
<th width="80" scope="col"><div align="center">Color</div></th>
|
||||
<th width="70" scope="col"><div align="center"><?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>Disponible<?php }else{ ?>Cantidad<?php }?></div></th>
|
||||
<th width="80" scope="col"><div align="center">Sucursal</div></th>
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="almacen"){?>
|
||||
<th width="60" scope="col"><div align="center">Acciones</div></th>
|
||||
<?php }?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
136
templates_c/62dded25869b9420b42b9cd24a8bf6afb4cf9e0b.file.index.tpl.php
Executable file
136
templates_c/62dded25869b9420b42b9cd24a8bf6afb4cf9e0b.file.index.tpl.php
Executable file
@@ -0,0 +1,136 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:46
|
||||
compiled from "C:\xampp\htdocs\html/templates/index.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10432540776b6366617-01804133%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'62dded25869b9420b42b9cd24a8bf6afb4cf9e0b' =>
|
||||
array (
|
||||
0 => 'C:\\xampp\\htdocs\\html/templates/index.tpl',
|
||||
1 => 1408525936,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10432540776b6366617-01804133',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<title>Sistema Novomoda</title>
|
||||
<meta name="description" content="Sistema Novomoda" />
|
||||
<meta name="keywords" content="Sistema Novomda" />
|
||||
<meta http-equiv="Cache-control" content="no-cache">
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
|
||||
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/960.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/reset.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/text.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/blue.css?<?php echo time();?>
|
||||
" rel="stylesheet" type="text/css" media="all" />
|
||||
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/smoothness/ui.css" type="text/css" rel="stylesheet" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
background:url(<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/bg.gif) repeat-x left top #d4d3d3;
|
||||
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
color: #333;
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="login"||$_smarty_tpl->getVariable('page')->value=="facturas"){?>
|
||||
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/login.css" rel="stylesheet" type="text/css" media="all" />
|
||||
<?php }?>
|
||||
|
||||
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/prototype.js"></script>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/scoluos/src/scriptaculous.js" type="text/javascript"></script>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/util.js" type="text/javascript"></script>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/functions.js?<?php echo time();?>
|
||||
" type="text/javascript"></script>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/<?php echo $_smarty_tpl->getVariable('page')->value;?>
|
||||
.js?<?php echo time();?>
|
||||
" type="text/javascript"></script>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/flowplayer-3.2.4.min.js" type="text/javascript"></script>
|
||||
|
||||
<!-- Date Time Picker -->
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/datetimepicker.js" type="text/javascript"></script>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"){?>
|
||||
<!-- Sorter Lib -->
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/css/sorter/style.css" />
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/sorter/fabtabulous.js" type="text/javascript"></script>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/sorter/tablekit.js" type="text/javascript"></script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="atributos"){?>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/atributos-valores.js?<?php echo time();?>
|
||||
" type="text/javascript"></script>
|
||||
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-categorias"){?>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/productos-subcategorias.js?<?php echo time();?>
|
||||
" type="text/javascript"></script>
|
||||
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-agregar"){?>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/productos-materiales.js?<?php echo time();?>
|
||||
" type="text/javascript"></script>
|
||||
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-editar"){?>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/productos-materiales2.js?<?php echo time();?>
|
||||
" type="text/javascript"></script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>
|
||||
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/javascript/clearbox.js" type="text/javascript"></script>
|
||||
<?php }?>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div style="position:relative" id="divStatus"></div>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('page')->value=="login"||$_smarty_tpl->getVariable('page')->value=="facturas"){?>
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('page')->value}.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);?>
|
||||
|
||||
<?php }else{ ?>
|
||||
<div class="container_16" id="wrapper">
|
||||
<?php $_template = new Smarty_Internal_Template("header.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);?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('page')->value}.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);?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("footer.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>
|
||||
<?php }?>
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("boxes/dialog.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);?>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
|
||||
compiled from "/var/www/html/templates/items/usuarios-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:97142950054075ab052eef3-70235897%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'634c80bcece272f4a4e64e9b6fa1a7c9b75eb6ef' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/items/usuarios-base.tpl',
|
||||
1 => 1410130456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '97142950054075ab052eef3-70235897',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<tr>
|
||||
<td><?php echo $_smarty_tpl->getVariable('usuario')->value['nombre'];?>
|
||||
<?php echo $_smarty_tpl->getVariable('usuario')->value['apellidos'];?>
|
||||
</td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['email'];?>
|
||||
</div></td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['type'];?>
|
||||
</div></td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['sucursal'];?>
|
||||
</div></td>
|
||||
<td>
|
||||
<div align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios-detalles/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" title="Ver Detalles" border="0"/>
|
||||
</a>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios-editar/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" title="Editar" border="0"/>
|
||||
</a>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
" title="Eliminar"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:07:34
|
||||
compiled from "./templates/devoluciones-cedis-detalles.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:447008494540de256e9f7a5-68794247%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'649174cc27f8f45dcf087e7cb9e66effcf80cdbb' =>
|
||||
array (
|
||||
0 => './templates/devoluciones-cedis-detalles.tpl',
|
||||
1 => 1410130445,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '447008494540de256e9f7a5-68794247',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="compras">Devoluciones a CEDIS :: Detalles</h1>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
<?php $_template = new Smarty_Internal_Template("forms/detalles-devolucion-cedis.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>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
|
||||
compiled from "/var/www/html/templates/lists/productos-codigos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:21199363645501cb4c4a8498-00023334%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'65913ad4db2901af02c95ec91e1ecfe20e2f13d0' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/productos-codigos.tpl',
|
||||
1 => 1410130460,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '21199363645501cb4c4a8498-00023334',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('codigos')->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;
|
||||
?>
|
||||
<tr>
|
||||
<td width="130" align="left">* Artículo</td>
|
||||
<td align="left"><input name="" id="" type="text" class="largeInput" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
" style="background-color:#E6E6E6; width:300px" readonly="readonly"/></td>
|
||||
<td width="10"></td>
|
||||
<td width="130" align="left">* Código</td>
|
||||
<td align="left"><input name="codigo[<?php echo $_smarty_tpl->getVariable('item')->value['tallaId'];?>
|
||||
][<?php echo $_smarty_tpl->getVariable('item')->value['colorId'];?>
|
||||
]" id="codigo_<?php echo $_smarty_tpl->getVariable('item')->value['tallaId'];?>
|
||||
_<?php echo $_smarty_tpl->getVariable('item')->value['colorId'];?>
|
||||
" type="text" class="largeInput" style="width:290px; background-color:#E6E6E6;" value="<?php echo $_smarty_tpl->getVariable('item')->value['codigo'];?>
|
||||
" readonly="readonly"/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td align="center">Ningún código encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user