🌍 PROYECTO FINAL: Rutas 100% Dinámicas sin Hardcodeos
FASE 5 COMPLETADA - PORTABILIDAD TOTAL: ✅ ELIMINACIÓN DE RUTAS HARDCODEADAS: - 100 rutas '/home/novomoda' eliminadas - 13 archivos crons actualizados a $_ENV['DOC_ROOT'] - Templates cacheados eliminados (se regeneran dinámicamente) ✅ SISTEMA 100% PORTABLE: - Todas las rutas usan variables de entorno .env - DOC_ROOT configurable desde .env - Compatible con cualquier estructura de directorios ✅ VERIFICACIONES COMPLETAS: - 13/13 crons con rutas dinámicas ✅ - 0 rutas hardcodeadas restantes ✅ - DOC_ROOT funcional y disponible ✅ - Sistema 100% portable ✅ 📊 ESTADÍSTICAS FINALES: - 5 Fases completadas exitosamente - 122 archivos hardcodeados eliminados - Sistema multi-empresa + rutas dinámicas 100% funcional 🎯 ESTADO FINAL: ✅ Login multi-empresa dinámico ✅ Base de datos seleccionada dinámicamente ✅ Rutas 100% dinámicas ✅ Sistema completamente portable ✅ Sin hardcodeos en ningún archivo PROYECTO TERMINADO 100% EXITOSAMENTE 🎉
This commit is contained in:
@@ -1,111 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:06:55
|
|
||||||
compiled from "/var/www/html/templates/forms/filtro-tempo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:936133865425ab3f4690a4-35349858%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'02a0cf44febe9dba5e23f8b330712dc78deaa79f' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/forms/filtro-tempo.tpl',
|
|
||||||
1 => 1410130451,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '936133865425ab3f4690a4-35349858',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<form name="formTempo" id="formTempo" method="post" action="export/exportarexcel.php">
|
|
||||||
<input type="hidden" name="type" id="type" value="tipoTempo"/>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th align="center" colspan="1" width="50%"><div align="center">Temporada</div></th>
|
|
||||||
<th align="center" colspan="1" width="25%"><div align="center">Sucursal</div></th>
|
|
||||||
<th align="center" colspan="1" width="25%"><div align="center">Año</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div style="text-align:center">
|
|
||||||
<select name="temporada" id="temporada" class="largeInput">
|
|
||||||
<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('resTemp')->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 echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<div style="text-align:center">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('tipo')->value=="admin"){?>
|
|
||||||
<select name="sucursal" id="sucursal" class="largeInput">
|
|
||||||
<option selected="selected" value="">Todas</option>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('resSuc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
|
||||||
?>
|
|
||||||
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
"> <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="gerente"||$_smarty_tpl->getVariable('tipo')->value=="vendedor"){?>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('resSuc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
|
||||||
?>
|
|
||||||
<input type="text" disabled="disabled" style="text-align:center" class="smallInput" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
"/>
|
|
||||||
<input type="hidden" name="sucursal" id="sucursal" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
"/>
|
|
||||||
<?php }} ?>
|
|
||||||
<?php }?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<div style="text-align:center">
|
|
||||||
<select name="anio" id="anio" class="largeInput">
|
|
||||||
<option selected="selected" value="">Seleccione</option>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('anio')->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;?>
|
|
||||||
"> <?php echo $_smarty_tpl->getVariable('item')->value;?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center" colspan="7">
|
|
||||||
<input type="button" name="btnReporteTempo" id="btnReporteTempo" value="Generar" class="btnSearch" onclick="ReporteTempo()"/>
|
|
||||||
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportTempo(); return false;"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:55
|
|
||||||
compiled from "/var/www/html/templates/boxes/status_open_on_popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1777606882540ce32fb42b11-88944863%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'03de3e33333b3080d535c9e34db108cd9ee7c79a' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/boxes/status_open_on_popup.tpl',
|
|
||||||
1 => 1410130449,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1777606882540ce32fb42b11-88944863',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="centeredDivOnPopup" class="" style="margin:auto; position:fixed; top:50%; left:50%; margin-top:-150px;margin-left:-275px;z-index:3000; display:none">
|
|
||||||
<div style="width:548px; border:solid; border-color:#999;border-width:1px; background-color:#ccc; padding-left:5px; padding-top:5px; padding-bottom:5px">
|
|
||||||
<div style="width:500px; border:solid; border-color:#999;border-width:1px; background-color:#FFF; padding:20px">
|
|
||||||
<div id="close_icon" onclick="ToogleStatusDivOnPopup()" style="position:absolute;top: 35px; left: 500px;cursor:pointer; z-index:5000"><a href="javascript:void(0)"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/close_icon.gif" height="32" width="32" border="0"/></a></div>
|
|
||||||
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-25 15:18:07
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/facturacion-mensual.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:79755283053824fff468874-97908302%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'03f4379ecf6f19d25ec9bbbd42a3d0f787bf8296' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/facturacion-mensual.tpl',
|
|
||||||
1 => 1384905888,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '79755283053824fff468874-97908302',
|
|
||||||
'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);?>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:04:35
|
|
||||||
compiled from "/var/www/html/templates/lists/envios.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:12932476015425aab3901374-75984446%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'041d117c7b3b90f4b7f54f701418d7d20fa5fe4a' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/envios.tpl',
|
|
||||||
1 => 1410130459,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '12932476015425aab3901374-75984446',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/envios-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('envios')->value['items'])){?>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('envios')->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/envios-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/envios-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="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('envios')->value['pages']);$_template->assign('colspan',9); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:31:08
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProvPromo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1397652755538f65ecb1e968-34049888%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'047f6d1f0d2c6a4b43f40905cfb3101926dca65d' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProvPromo.tpl',
|
|
||||||
1 => 1401906157,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1397652755538f65ecb1e968-34049888',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
<input type="checkbox" name="idProveedor[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
||||||
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>/><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
@@ -1,274 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:35:47
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/detalles-promocion.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:2130424323538f6703448ce8-56941482%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'049eb01278a8b0c71c28bbf1a76cab0cf2f545cd' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/detalles-promocion.tpl',
|
|
||||||
1 => 1401906251,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '2130424323538f6703448ce8-56941482',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l"><b>* Nombre:</b></div>
|
|
||||||
<div class="r">
|
|
||||||
<div class="txtFrm" style="width:680px"><?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Vigencia</b>
|
|
||||||
<br />
|
|
||||||
<div class="txtFrm" style="width:150px">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['vigencia']=="Periodo"){?>Por Periodo<?php }else{ ?>Permanente<?php }?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
<div id="txtFechaIni" <?php if ($_smarty_tpl->getVariable('info')->value['vigencia']!="Periodo"){?>style="display:none"<?php }?>>
|
|
||||||
<b>* Fecha Inicial:</b>
|
|
||||||
<br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['fechaIni'];?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
<div id="txtFechaFin" <?php if ($_smarty_tpl->getVariable('info')->value['vigencia']!="Periodo"){?>style="display:none"<?php }?>>
|
|
||||||
<b>* Fecha Final:</b>
|
|
||||||
<br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['fechaFin'];?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left" colspan="3">
|
|
||||||
* Aplicar Promoción a TODOS los productos?
|
|
||||||
<br />
|
|
||||||
<div class="txtFrm" style="width:150px">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['aplicaTodos']=="1"){?>Sí<?php }elseif($_smarty_tpl->getVariable('info')->value['aplicaTodos']=="0"){?>No<?php }?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l"><b>* Sucursal:</b></div>
|
|
||||||
<div class="r listChksV">
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
- <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="listProducts" <?php if ($_smarty_tpl->getVariable('info')->value['aplicaTodos']=="1"){?>style="display:none"<?php }?>>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l"><b>* Departamento:</b></div>
|
|
||||||
<div class="r listChksV">
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('categorias')->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;
|
|
||||||
?>
|
|
||||||
- <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l"><b>* Línea:</b></div>
|
|
||||||
<div class="r listChksV">
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('subcategorias')->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;
|
|
||||||
?>
|
|
||||||
- <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l"><b>* Proveedor:</b></div>
|
|
||||||
<div class="r listChksV">
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
- <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l"><b>* Producto:</b></div>
|
|
||||||
<div class="r listChksV">
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('productos')->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;
|
|
||||||
?>
|
|
||||||
- <?php echo $_smarty_tpl->getVariable('item')->value['descripcion'];?>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
</div>
|
|
||||||
<?php echo count($_smarty_tpl->getVariable('productos')->value);?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td align="left"><b>* Tipo de Promoción:</b></td>
|
|
||||||
<td align="left" colspan="2"><b>* Aplica en:</b></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left" width="230">
|
|
||||||
<div class="txtFrm" style="width:150px">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['tipo']=="AxB"){?> A x B
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['tipo']=="TotalVentaB"){?> Total Venta x B
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['tipo']=="CompraX"){?> Compra $x
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['tipo']=="BuenFin"){?> Buen Fin
|
|
||||||
<?php }?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left" colspan="2">
|
|
||||||
<div class="txtFrm" style="width:440px">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="XxY"){?> Compra X Prods. al Precio de Y por Producto
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['aplica']=="N1Desc"){?> Compra N Prods. y N+1 aplica un Descuento
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['aplica']=="CompraX"){?> Compra $x y Regala B
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['aplica']=="CompraXabonoM"){?> Compra $x y Abona % a Monedero
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['aplica']=="DescCuenta"){?> Descuento por toda la Cuenta
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['aplica']=="ArtConDesc"){?> Artículos después de $x con Descuento
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['aplica']=="3x2"){?> 3 x 2
|
|
||||||
<?php }?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="rowXY" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="XxY"){?>style="display:none"<?php }?>>
|
|
||||||
<td align="left"></td>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Valor de X:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['valorX'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Valor Y:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['valorY'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="rowTipoDesc" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="N1Desc"&&$_smarty_tpl->getVariable('info')->value['aplica']!="DescCuenta"&&$_smarty_tpl->getVariable('info')->value['aplica']!="ArtConDesc"){?>style="display:none"<?php }?>>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Tipo de Descuento:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['tipoDesc']=="Cantidad"){?>Cantidad Fija<?php }else{ ?>Porcentaje<?php }?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Valor del Descuento:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['valorDesc'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
<div id="txtTotalCompra" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="DescCuenta"&&$_smarty_tpl->getVariable('info')->value['aplica']!="ArtConDesc"){?>style="display:none"<?php }?>>
|
|
||||||
<b>* Total de la Compra:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['totalCompra'];?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="txtValorN" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="N1Desc"){?>style="display:none"<?php }?>>
|
|
||||||
<b>* Valor N:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['valorN'];?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="rowTotalVentaB" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="CompraX"){?>style="display:none"<?php }?>>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Total de la Compra:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['totalCompra'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Cant. de Art. a Regalar:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['cantArtRegalo'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left"></td>
|
|
||||||
</tr>
|
|
||||||
<tr id="rowProdVentaB" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="CompraX"){?>style="display:none"<?php }?>>
|
|
||||||
<td align="left" colspan="3">
|
|
||||||
<b>* Producto a Regalar:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:380px"><?php echo $_smarty_tpl->getVariable('info')->value['producto'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="rowTotalVentaM" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']!="CompraXabonoM"){?>style="display:none"<?php }?>>
|
|
||||||
<td align="left">
|
|
||||||
* Total de la Compra: <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['totalCompra'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left">
|
|
||||||
* Porcentaje Abonar: <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['valorDesc'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left">
|
|
||||||
<b>* Status:</b> <br />
|
|
||||||
<div class="txtFrm" style="width:150px"><?php echo $_smarty_tpl->getVariable('info')->value['status'];?>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td align="left"></td>
|
|
||||||
<td align="left"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnClose"><span>Cerrar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-25 08:00:35
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-productos-dev.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:97751271053aac7f30ccd51-95038264%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'04d4645fa0ac11d7d21a295c9b5d04f16ca1579d' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-productos-dev.tpl',
|
|
||||||
1 => 1381517985,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '97751271053aac7f30ccd51-95038264',
|
|
||||||
'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">Disponible:</td>
|
|
||||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['disponible'];?>
|
|
||||||
</div></td>
|
|
||||||
<td width="10"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="120" align="left" height="40">Sucursal:</td>
|
|
||||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['sucursal'];?>
|
|
||||||
</div></td>
|
|
||||||
<td width="10"></td>
|
|
||||||
<td width="130" align="left">Cantidad a Dev:</td>
|
|
||||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['cantidad'];?>
|
|
||||||
</div></td>
|
|
||||||
<td width="10"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="6" align="center"> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<hr />
|
|
||||||
Ningún producto encontrado.
|
|
||||||
<?php } ?>
|
|
||||||
@@ -1,154 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:13
|
|
||||||
compiled from "/var/www/html/templates/items/reportes-proMasVend-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:7461914375411cdd9e46302-62005122%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'04e42e51d920368a743ed56efe978e9b619c3459' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/items/reportes-proMasVend-base.tpl',
|
|
||||||
1 => 1410130456,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '7461914375411cdd9e46302-62005122',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
|
|
||||||
<thead >
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th id="alinear" colspan="1"><b><?php echo urldecode((utf8_decode($_smarty_tpl->getVariable('item')->value['nombre'])));?>
|
|
||||||
</b></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th ><div style="float:right"><a href="javascript:void(0)" id="showHide<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" onclick="ShowDesc(<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
)">[+]</a></div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
|
|
||||||
<tbody id="totales<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" style="display:none">
|
|
||||||
<tr style="background:#E0E5E7;text-align:center">
|
|
||||||
<th id="alinear"><b>Código de Barras</b></th>
|
|
||||||
<th id="alinear"><b>Producto</b></th>
|
|
||||||
<th id="alinear"><b>Inv. Actual</b></th>
|
|
||||||
<th id="alinear"><b>Número de productos vendidos</b></th>
|
|
||||||
<th id="alinear"><b>Costo</b></th>
|
|
||||||
<th id="alinear"><b>Precio Venta</b></th>
|
|
||||||
<th id="alinear"><b>Importe Total</b></th>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['itP'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['k1'] = 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['itP']->key => $_smarty_tpl->tpl_vars['itP']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['itP']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center;"><?php echo $_smarty_tpl->getVariable('itP')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:left;"><?php echo $_smarty_tpl->getVariable('itP')->value['modelo'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['disponible'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['vendidos'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['costo'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['precioVenta'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center;"></td>
|
|
||||||
<td style="text-align:center;"><b>TOTAL</b></td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('item')->value['disponible'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('item')->value['vendidos'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"></td>
|
|
||||||
<td style="text-align:center;"></td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['importe'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
|
|
||||||
<?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']=="centralizador"){?>
|
|
||||||
<thead >
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th id="alinear" colspan="1"><b><?php if ($_smarty_tpl->getVariable('orden')->value=="mayor"){?>Productos Más Vendidos<?php }else{ ?>Productos Menos Vendidos<?php }?></b></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th><div style="float:right"><a href="javascript:void(0)" id="showHide0" onclick="ShowDesc(0)">[+]</a></div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody id="totales0" style="display:none">
|
|
||||||
<tr style="background:#E0E5E7;text-align:center">
|
|
||||||
<th id="alinear"><b>Código de Barras</b></th>
|
|
||||||
<th id="alinear"><b>Producto</b></th>
|
|
||||||
<th id="alinear"><b>Inv. Actual</b></th>
|
|
||||||
<th id="alinear"><b>Número de productos vendidos</b></th>
|
|
||||||
<th id="alinear"><b>Costo</b></th>
|
|
||||||
<th id="alinear"><b>Precio Venta</b></th>
|
|
||||||
<th id="alinear"><b>Importe Total</b></th>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('prodsGral')->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 style="text-align:center;"><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:left;"><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('item')->value['disponible'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('item')->value['vendidos'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['costo'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['precioVenta'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center;"></td>
|
|
||||||
<td style="text-align:center;"><b>TOTAL</b></td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('totDispGral')->value,0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('totProdsGral')->value,0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"></td>
|
|
||||||
<td style="text-align:center;"></td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('totImpGral')->value,2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 20:11:39
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-productos-recibidos.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:155235921953619f4b084379-49353993%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'05153a49f61b187e3d236fa9f81d77acf267b09e' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-productos-recibidos.tpl',
|
|
||||||
1 => 1391103506,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '155235921953619f4b084379-49353993',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/envios-productos-recibidos-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('key')->value%2==0){?>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/envios-productos-recibidos-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/envios-productos-recibidos-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="10" 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',10); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 09:54:47
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-devolucion-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:110585697653610eb7c24262-29040119%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'059db46763075f0805591abbd45da5ea4c5e48db' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-devolucion-popup.tpl',
|
|
||||||
1 => 1375965202,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '110585697653610eb7c24262-29040119',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divIframe" style="height:700px"></div>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-12 17:46:04
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/detalles-proveedor-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:525946378539a2dac681907-99431434%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'05a7fca205a0945c6d6c5c3c9bb13b4ef98a9d3a' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/detalles-proveedor-popup.tpl',
|
|
||||||
1 => 1375965214,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '525946378539a2dac681907-99431434',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Detalles Proveedor</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Detalles Proveedor</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/detalles-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);?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-25 15:18:07
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/facturacion-mensual-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:24311562553824fff587061-61985102%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0637c5558b426ad4faec8507acc417c1649dce82' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/facturacion-mensual-header.tpl',
|
|
||||||
1 => 1384905907,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '24311562553824fff587061-61985102',
|
|
||||||
'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>
|
|
||||||
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 18:22:16
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/export-vista-previa.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1504171389536185a866c807-57997172%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'07155d6b181f7b6ebd65f60378d6804a9ec90e78' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/export-vista-previa.tpl',
|
|
||||||
1 => 1375965226,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1504171389536185a866c807-57997172',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div>
|
|
||||||
Vista previa disponible.
|
|
||||||
<br /><br />
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
||||||
&secPath=temp&filename=vistaPrevia.pdf&contentType=text/pdf" target="_blank" title="Descargar Vista Previ">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/pdf_icon.png" height="100" width="100" border="0"/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2016-05-03 14:57:54
|
|
||||||
compiled from "/var/www/html/templates/items/usuarios-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:150116824572902c24f9803-42171337%%*/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' => '150116824572902c24f9803-42171337',
|
|
||||||
'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>
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:05:17
|
|
||||||
compiled from "/var/www/html/templates/lists/pedidos-productos-dev.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1778210059540de1cdca0c65-36965405%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0829d067e16676a3d5cbab5bfaa85ef8030e5038' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/pedidos-productos-dev.tpl',
|
|
||||||
1 => 1410130460,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1778210059540de1cdca0c65-36965405',
|
|
||||||
'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">Disponible:</td>
|
|
||||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['disponible'];?>
|
|
||||||
</div></td>
|
|
||||||
<td width="10"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="120" align="left" height="40">Sucursal:</td>
|
|
||||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['sucursal'];?>
|
|
||||||
</div></td>
|
|
||||||
<td width="10"></td>
|
|
||||||
<td width="130" align="left">Cantidad a Dev:</td>
|
|
||||||
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['cantidad'];?>
|
|
||||||
</div></td>
|
|
||||||
<td width="10"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="6" align="center"> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<hr />
|
|
||||||
Ningún producto encontrado.
|
|
||||||
<?php } ?>
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-18 10:28:50
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/conceptos-facturacion.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:112157521553a1b0326d8a56-18473896%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'092ccd4633743b877193eb7ab6b3d9a3e1b545c6' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/conceptos-facturacion.tpl',
|
|
||||||
1 => 1384905875,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '112157521553a1b0326d8a56-18473896',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #CCCCCC">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="50" align="center"> </th>
|
|
||||||
<th width="50" align="center"><div align="center">Cant.</div></th>
|
|
||||||
<th width="100" align="center"><div align="center">Unid.</div></th>
|
|
||||||
<th width="50" align="center"><div align="center">ID.</div></th>
|
|
||||||
<th width="300" align="center"><div align="center">Descripción</div></th>
|
|
||||||
<th width="100" align="center"><div align="center">V. Unitario</div></th>
|
|
||||||
<th width="100" align="center"><div align="center">Importe</div></th>
|
|
||||||
<th width="50" align="center"><div align="center">E. Iva</div></th>
|
|
||||||
<th width="50" align="center"><div align="center">Acción</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
|
|
||||||
<?php $_smarty_tpl->tpl_vars['concepto'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('conceptos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['concepto']->key => $_smarty_tpl->tpl_vars['concepto']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['concepto']->key;
|
|
||||||
?>
|
|
||||||
<tr id="conceptoDiv<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
|
||||||
">
|
|
||||||
<td id="conceptoBaseUserId<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
|
||||||
" align="center" valign="top"><?php echo $_smarty_tpl->getVariable('key')->value;?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top"><?php echo number_format($_smarty_tpl->getVariable('concepto')->value['cantidad'],2,".",",");?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top"><?php echo $_smarty_tpl->getVariable('concepto')->value['unidad'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top"><?php echo $_smarty_tpl->getVariable('concepto')->value['noIdentificacion'];?>
|
|
||||||
</td>
|
|
||||||
<td style="font-family:'Courier New', Courier, monospace; text-align:justify" valign="top"><?php echo nl2br($_smarty_tpl->getVariable('concepto')->value['descripcion']);?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top"><?php echo number_format($_smarty_tpl->getVariable('concepto')->value['valorUnitario'],2,".",",");?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top"><?php echo number_format($_smarty_tpl->getVariable('concepto')->value['importe'],2,".",",");?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top"><?php echo $_smarty_tpl->getVariable('concepto')->value['excentoIva'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center" valign="top">
|
|
||||||
<a href="javascript:void(0)" onclick="BorrarConcepto(<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
|
||||||
)" title="Eliminar">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/action_delete.gif" border="0" />
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr>
|
|
||||||
<td colspan="9" align="center">Ningún concepto encontrado.</td>
|
|
||||||
</tr>
|
|
||||||
<?php } ?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:27:51
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-metodo-pago-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:103174602453611677457766-62745659%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'096aa982e346a2513aba04327c0921e5afe34c24' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-metodo-pago-popup.tpl',
|
|
||||||
1 => 1375965204,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '103174602453611677457766-62745659',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Agregar Método de Pago</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Agregar Método de Pago</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-metodo-pago.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>
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:33:28
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/excluir-promocion.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:729317341538f667861f0d8-80577666%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0a34406c18cba5f25f2583bf11ee511f35259490' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/excluir-promocion.tpl',
|
|
||||||
1 => 1401906803,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '729317341538f667861f0d8-80577666',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmPromocion" id="frmPromocion" method="post" action="">
|
|
||||||
<input type="hidden" name="type" id="type" value="saveExcluirPromocion" />
|
|
||||||
<input type="hidden" name="promocionId" id="promocionId" value="<?php echo $_smarty_tpl->getVariable('info')->value['promocionId'];?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Proveedor:</div>
|
|
||||||
<div class="r">
|
|
||||||
<select name="proveedorId" id="proveedorId" class="largeInput wide2">
|
|
||||||
<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 echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Departamento:</div>
|
|
||||||
<div class="r">
|
|
||||||
<select name="prodCatId" id="prodCatId" class="largeInput wide2" onchange="LoadSubcatsExc()">
|
|
||||||
<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('categorias')->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_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Línea:</div>
|
|
||||||
<div class="r" id="enumSubcats">
|
|
||||||
<select name="prodSubcatId" id="prodSubcatId" class="largeInput wide2">
|
|
||||||
<option value="">Todas</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div style="float:left">* Producto:</div>
|
|
||||||
<div style="float:right; padding-right:20px">
|
|
||||||
<input type="checkbox" name="checkProd" id="checkProd" value="1" onclick="CheckAllProd()" />Marcar Todos
|
|
||||||
</div>
|
|
||||||
<div class="r listChks" id="enumProds" style="clear:both">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdPromo.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>
|
|
||||||
<div id="cantProds" style="float:left"></div>
|
|
||||||
<div align="right">
|
|
||||||
<input type="button" value="Actualizar Productos" style="padding:6px; margin-right:15px" onclick="LoadProdsExc()" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
* Campos requeridos
|
|
||||||
|
|
||||||
<div align="center" id="loader" style="display:none">
|
|
||||||
Este proceso puede tardar unos minutos.
|
|
||||||
<br />Por favor, espere.
|
|
||||||
<br /><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/loading.gif" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:310px">
|
|
||||||
<a class="button" id="btnEdit"><span>Agregar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
<div align="center"><b>PRODUCTOS EXCLUIDOS</b></div>
|
|
||||||
<br />
|
|
||||||
<div id="tblProds" align="center">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/promociones-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>
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:32:25
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/aplicar-promo-venta-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:12444975585360fb69427739-10193678%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0b489822468666ca13af16c8622be5973f7b47cd' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/aplicar-promo-venta-popup.tpl',
|
|
||||||
1 => 1375965211,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '12444975585360fb69427739-10193678',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php if ($_smarty_tpl->getVariable('promoId')->value){?>
|
|
||||||
|
|
||||||
<div align="center" class="txtH1">PROMOCION APLICADA</div>
|
|
||||||
|
|
||||||
<div align="center">
|
|
||||||
<br />
|
|
||||||
<?php echo $_smarty_tpl->getVariable('nomPromo')->value;?>
|
|
||||||
|
|
||||||
<br /><br />
|
|
||||||
<table width="50%" cellpadding="0" cellspacing="0" border="0" align="center">
|
|
||||||
<tr>
|
|
||||||
<td align="center" height="50" width="50%">
|
|
||||||
<input type="button" style="padding:10px; width:100px" value="Eliminar" onclick="EliminarPromo(<?php echo $_smarty_tpl->getVariable('promoId')->value;?>
|
|
||||||
)" />
|
|
||||||
</td>
|
|
||||||
<td align="center" height="50" width="50%">
|
|
||||||
<input type="button" style="padding:10px; width:100px" value="Cancelar" onclick="HideFviewCobro()" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php }else{ ?>
|
|
||||||
|
|
||||||
<div align="center" class="txtH1">APLICAR PROMOCION</div>
|
|
||||||
|
|
||||||
<?php if (count($_smarty_tpl->getVariable('promociones')->value)){?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
|
||||||
<tr>
|
|
||||||
<td align="center"><b>Seleccione la Promoción:</b></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
|
||||||
<select name="promocionId" id="promocionId" 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('promociones')->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['promocionId'];?>
|
|
||||||
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table width="50%" cellpadding="0" cellspacing="0" border="0" align="center">
|
|
||||||
<tr>
|
|
||||||
<td align="center" height="50" width="50%">
|
|
||||||
<input type="button" style="padding:10px; width:100px" value="Aplicar" onclick="AsignarPromo()" />
|
|
||||||
</td>
|
|
||||||
<td align="center" height="50" width="50%">
|
|
||||||
<input type="button" style="padding:10px; width:100px" value="Cancelar" onclick="HideFviewCobro()" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<?php }else{ ?>
|
|
||||||
<div align="center">
|
|
||||||
<br />
|
|
||||||
Ninguna promocion encontrada.
|
|
||||||
<br /><br />
|
|
||||||
<input type="button" style="padding:10px; width:100px" value="Cancelar" onclick="HideFviewCobro()" />
|
|
||||||
</div>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<?php }?>
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-29 22:57:29
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/analisis-sucursal.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1137908193536074a9b353a1-89202520%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0c0488c3e87d96665f6a17d2be7a1d4537bc3fbf' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/analisis-sucursal.tpl',
|
|
||||||
1 => 1381165837,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1137908193536074a9b353a1-89202520',
|
|
||||||
'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>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-11 14:23:29
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/editar-comision-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:20033802835398acb182d5a4-39379405%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0db41191c0891e1ea9719ffc4dde6a8c82edb0e4' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/editar-comision-popup.tpl',
|
|
||||||
1 => 1375965218,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '20033802835398acb182d5a4-39379405',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
|
|
||||||
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></a></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Editar Politica de Comision</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Editar Politica de Comision</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/editar-comision.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>
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-12-11 10:02:50
|
|
||||||
compiled from "/var/www/html/templates/lists/analisis-sucursal.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:20892109195489c02a5d6170-84068245%%*/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' => '20892109195489c02a5d6170-84068245',
|
|
||||||
'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>
|
|
||||||
@@ -1,136 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-18 10:28:51
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/total-desglosado.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:6466337453a1b0337b6891-17376715%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0e7661214b15bf2f07b814da0e0f8aa893f4bb0a' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/total-desglosado.tpl',
|
|
||||||
1 => 1375965231,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '6466337453a1b0337b6891-17376715',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div style="width:750px;">
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('impuestos')->value){?>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Subtotal Original
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['subtotalOriginal'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
|
|
||||||
<?php $_smarty_tpl->tpl_vars['impuesto'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('impuestos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['impuesto']->key => $_smarty_tpl->tpl_vars['impuesto']->value){
|
|
||||||
?>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('impuesto')->value['tipo']=="retencion"){?>
|
|
||||||
Retención
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('impuesto')->value['tipo']=="deduccion"){?>
|
|
||||||
Deducción
|
|
||||||
<?php }?>
|
|
||||||
<?php echo $_smarty_tpl->getVariable('impuesto')->value['tasa'];?>
|
|
||||||
% de <?php echo $_smarty_tpl->getVariable('impuesto')->value['impuesto'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('impuesto')->value['importe'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
|
|
||||||
<?php }} ?>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Subtotal
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['subtotal'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Descuento
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['descuento'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Después de Descuento
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['afterDescuento'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
IVA
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['iva'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Después de IVA
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['afterIva'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
IEPS
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['ieps'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Después de Impuestos
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['afterImpuestos'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Ret. IVA
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['retIva'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Ret. ISR
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['retIsr'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
Total
|
|
||||||
</div>
|
|
||||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
|
||||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['total'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
</div>
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:09:41
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-pago-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:14212676345361123596dfc7-59884567%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'0f64aaefb227bd24b85a1c90529dcfaf9b6c7fa2' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-pago-popup.tpl',
|
|
||||||
1 => 1379913041,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '14212676345361123596dfc7-59884567',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
|
|
||||||
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></a></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Agregar Pago :: Pedido No. <?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
|
||||||
</div>
|
|
||||||
<div id="vtitl">
|
|
||||||
<span title="Titulo">Agregar Pago :: Pedido No. <?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
|
||||||
</span>
|
|
||||||
<br />
|
|
||||||
Factura: <?php echo $_smarty_tpl->getVariable('info')->value['folioProv'];?>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
Saldo: $<?php echo number_format($_smarty_tpl->getVariable('info')->value['saldo'],2,'.',',');?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-pago.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>
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-06 10:41:37
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/devoluciones-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1172723804536902b19fcaf2-66012218%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1205095a2ba885ce0723933c08a3afcd9a5629a0' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/devoluciones-header.tpl',
|
|
||||||
1 => 1375965374,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1172723804536902b19fcaf2-66012218',
|
|
||||||
'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="150" scope="col"><div align="center">Sucursal</div></th>
|
|
||||||
<th width="" scope="col"><div align="center">Usuario</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Fecha</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Total</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Status</div></th>
|
|
||||||
<th width="60" scope="col"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:53:15
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/status_open.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:8061366095361004bc956d6-17104369%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1376ea34ce0741056268b0cca975921d2ec0ec37' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/status_open.tpl',
|
|
||||||
1 => 1375965230,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '8061366095361004bc956d6-17104369',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="centeredDiv" class="" style="margin:auto; position:fixed; top:50%; left:50%; margin-top:-150px;margin-left:-275px;z-index:3000; display:none">
|
|
||||||
<div style="width:548px; border:solid; border-color:#999;border-width:1px; background-color:#ccc; padding-left:5px; padding-top:5px; padding-bottom:5px">
|
|
||||||
<div style="width:500px; border:solid; border-color:#999;border-width:1px; background-color:#FFF; padding:20px">
|
|
||||||
<div id="close_icon" style="position:absolute;top: 40px; left: 500px; z-index:5000; cursor:pointer" onclick="ToogleStatusDiv()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/close_icon.gif" /></div>
|
|
||||||
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:31:08
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdCatPromo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1626918278538f65ec6a1218-89435290%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'15a14e2d64031c9e1715332e2feedf95eacf3074' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdCatPromo.tpl',
|
|
||||||
1 => 1401906170,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1626918278538f65ec6a1218-89435290',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('categorias')->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="checkbox" name="idProdCat[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
|
||||||
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
@@ -1,277 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2015-02-26 16:04:12
|
|
||||||
compiled from "/var/www/html/templates/forms/editar-proveedor.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:128535820154ef985cb0e302-10113112%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'16122ef15d73822f822458a4cbef9daa770779a7' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/forms/editar-proveedor.tpl',
|
|
||||||
1 => 1410130451,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '128535820154ef985cb0e302-10113112',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form id="editarProveedorForm" name="editarProveedorForm" method="post">
|
|
||||||
<input type="hidden" id="proveedorId" name="proveedorId" value="<?php echo $_smarty_tpl->getVariable('post')->value['proveedorId'];?>
|
|
||||||
"/>
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Numero de Proveedor:</div>
|
|
||||||
<div class="r"><input value="<?php echo $_smarty_tpl->getVariable('post')->value['noProv'];?>
|
|
||||||
" type="text" name="noProv" id="noProv" maxlength="13" class="largeInput">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* RFC y Homoclave:</div>
|
|
||||||
<div class="r"><input type="text" name="rfc" id="rfc" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['rfc'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
|
||||||
<div class="r"><input type="text" name="nombre" id="nombrenuv" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['nombre'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<br />
|
|
||||||
<div align="center"><b>.:: Dirección Fiscal ::.</b></div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Dirección:</div>
|
|
||||||
<div class="r"><input type="text" name="calle" id="calle" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['calle'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">No Exterior:</div>
|
|
||||||
<div class="r"><input type="text" name="noExt" id="noExt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['noExt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">No Interior:</div>
|
|
||||||
<div class="r"><input type="text" name="noInt" id="noInt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['noInt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Referencia:</div>
|
|
||||||
<div class="r"><input type="text" name="referencia" id="referencia" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['referencia'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Colonia:</div>
|
|
||||||
<div class="r"><input type="text" name="colonia" id="colonia" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['colonia'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Localidad:</div>
|
|
||||||
<div class="r"><input type="text" name="localidad" id="localidad" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['localidad'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Municipio o Delegación:</div>
|
|
||||||
<div class="r"><input type="text" name="municipio" id="municipio" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['municipio'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Estado:</div>
|
|
||||||
<div class="r"><input type="text" name="estado" id="estado" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['estado'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Pais:</div>
|
|
||||||
<div class="r"><input type="text" name="pais" id="pais" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['pais'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Código Postal:</div>
|
|
||||||
<div class="r"><input type="text" name="codigoPostal" id="codigoPostal" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['codigoPostal'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<br />
|
|
||||||
<div align="center"><b>.:: Contacto Ventas ::.</b></div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Nombre Completo:</div>
|
|
||||||
<div class="r"><input type="text" name="nombreVtas" id="nombreVtas" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['nombreVtas'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono Oficina:</div>
|
|
||||||
<div class="r"><input type="telefonoVtas" name="telefonoVtas" id="calle" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['telefonoVtas'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono Celular:</div>
|
|
||||||
<div class="r"><input type="text" name="celularVtas" id="celularVtas" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['celularVtas'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Correo electrónico:</div>
|
|
||||||
<div class="r"><input type="text" name="emailVtas" id="emailVtas" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['emailVtas'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<br />
|
|
||||||
<div align="center"><b>.:: Contacto Pagos ::.</b></div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Nombre Completo:</div>
|
|
||||||
<div class="r"><input type="text" name="nombrePagos" id="nombrePagos" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['nombrePagos'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono Oficina:</div>
|
|
||||||
<div class="r"><input type="telefonoPagos" name="telefonoPagos" id="calle" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['telefonoPagos'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono Celular:</div>
|
|
||||||
<div class="r"><input type="text" name="celularPagos" id="celularPagos" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['celularPagos'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Correo electrónico:</div>
|
|
||||||
<div class="r"><input type="text" name="emailPagos" id="emailPagos" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['emailPagos'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<br />
|
|
||||||
<div align="center"><b>.:: Contacto Entregas ::.</b></div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Nombre Completo:</div>
|
|
||||||
<div class="r"><input type="text" name="nombreEnt" id="nombreEnt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['nombreEnt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono Oficina:</div>
|
|
||||||
<div class="r"><input type="telefonoEnt" name="telefonoEnt" id="calle" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['telefonoEnt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono Celular:</div>
|
|
||||||
<div class="r"><input type="text" name="celularEnt" id="celularEnt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['celularEnt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Correo electrónico:</div>
|
|
||||||
<div class="r"><input type="text" name="emailEnt" id="emailEnt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['emailEnt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<br />
|
|
||||||
<div align="center"><b>.:: Datos Bancarios ::.</b></div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Banco:</div>
|
|
||||||
<div class="r"><input type="text" name="banco" id="banco" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['banco'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">No. de Cuenta:</div>
|
|
||||||
<div class="r"><input type="text" name="noCuenta" id="noCuenta" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['noCuenta'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">CLABE:</div>
|
|
||||||
<div class="r"><input type="text" name="clabe" id="clabe" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['clabe'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Dirección de Almacén</div>
|
|
||||||
<div class="r"><input type="text" name="almacen" id="almacen" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['almacen'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Plazo</div>
|
|
||||||
<div class="r">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumPlazo.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>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">% Publicidad</div>
|
|
||||||
<div class="r">
|
|
||||||
<input type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['publicidad'];?>
|
|
||||||
" name="publicidad" class="largeInput wide2" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">% Flete</div>
|
|
||||||
<div class="r"><input type="text" name="flete" id="flete" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['flete'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">% Desarrollo</div>
|
|
||||||
<div class="r"><input type="text" name="desarrollo" id="desarrollo" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['desarrollo'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">% Especial</div>
|
|
||||||
<div class="r"><input type="text" name="especial" id="especial" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['especial'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Compra en Firme</div>
|
|
||||||
<div class="r">
|
|
||||||
<select id="compraFirme" name="compraFirme" class="largeInput">
|
|
||||||
<option value="Si" <?php if ($_smarty_tpl->getVariable('post')->value['compraFirme']=="Si"){?> selected="selected"<?php }?> >Si</option>
|
|
||||||
<option value="No" <?php if ($_smarty_tpl->getVariable('post')->value['compraFirme']=="No"){?> selected="selected"<?php }?>>No</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:290px">
|
|
||||||
<a class="button" id="editarProveedor" name="editarProveedor"><span>Actualizar</span></a>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="type" name="type" value="saveEditProveedor"/>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:28:13
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/metodos-pago-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:130076265361168d4cf219-32718369%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'162ff35f7b9914188e759dd3844bc7df99f7bd81' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/metodos-pago-base.tpl',
|
|
||||||
1 => 1375965383,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '130076265361168d4cf219-32718369',
|
|
||||||
'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>
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-15 11:03:49
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/motivo-cancelacion.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1589355072539dc3e5b58b57-62345507%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'16858d9b7fe34743fa22ab8b9885fbc966946892' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/motivo-cancelacion.tpl',
|
|
||||||
1 => 1375965287,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1589355072539dc3e5b58b57-62345507',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<!-- Form -->
|
|
||||||
|
|
||||||
<div class="m">
|
|
||||||
|
|
||||||
<form name="frmCancelar" id="frmCancelar" method="post" action="">
|
|
||||||
<input type="hidden" name="type" value="cancelarFactura" />
|
|
||||||
<input type="hidden" name="comprobanteId" value="<?php echo $_smarty_tpl->getVariable('comprobanteId')->value;?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Motivo de la cancelacion *</div>
|
|
||||||
<div class="r">
|
|
||||||
<textarea name="motivo" id="motivo" class="largeInput wide2"></textarea>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">
|
|
||||||
* Campos requeridos
|
|
||||||
</div>
|
|
||||||
<div class="r" style="margin-left:300px">
|
|
||||||
<a class="button" id="btnCancelar" name="btnCancelar"><span>Cancelar</span></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<br />
|
|
||||||
<div class="l">
|
|
||||||
** El proceso puede llevar varios segundos.
|
|
||||||
<br />
|
|
||||||
** Favor de ser paciente y no dar click 2 veces en el botón.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div id="txtMsg"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a"></div>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- End Form -->
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 09:57:46
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/clientes.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:179244588538f33ea6b9307-19067276%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1689b0f5fce9d4182465f94dada22b143498432e' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/clientes.tpl',
|
|
||||||
1 => 1375965420,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '179244588538f33ea6b9307-19067276',
|
|
||||||
'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);?>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2015-02-26 16:04:12
|
|
||||||
compiled from "/var/www/html/templates/lists/enumPlazo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:166049318954ef985cc82bc7-50321242%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'169bf80659c542e5a937706df76c426e33412809' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/enumPlazo.tpl',
|
|
||||||
1 => 1410130458,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '166049318954ef985cc82bc7-50321242',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<select name="plazo" id="plazo" class="largeInput" style="width:300px">
|
|
||||||
<option value="">Seleccione</option>
|
|
||||||
<option value="15" <?php if ($_smarty_tpl->getVariable('post')->value['plazo']=="15"){?>selected<?php }?>>15</option>
|
|
||||||
<option value="30" <?php if ($_smarty_tpl->getVariable('post')->value['plazo']=="30"){?>selected<?php }?>>30</option>
|
|
||||||
<option value="45" <?php if ($_smarty_tpl->getVariable('post')->value['plazo']=="45"){?>selected<?php }?>>45</option>
|
|
||||||
<option value="60" <?php if ($_smarty_tpl->getVariable('post')->value['plazo']=="60"){?>selected<?php }?>>60</option>
|
|
||||||
</select>
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 13:20:25
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdSubcat2.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:142803909553613ee908c580-10807418%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1871ac3e4174b0c2f6ce979d091c6ef64cc5af19' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdSubcat2.tpl',
|
|
||||||
1 => 1377821005,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '142803909553613ee908c580-10807418',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<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('subcategorias')->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_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:32:41
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/excluir-promocion-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:537064635538f664922a9f7-05977952%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'18867a0af846629541764f00c8fe871ed9966cce' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/excluir-promocion-popup.tpl',
|
|
||||||
1 => 1401906303,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '537064635538f664922a9f7-05977952',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
|
|
||||||
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></a></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Excluir Promoción</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Excluir Promoción</span></div>
|
|
||||||
<br />
|
|
||||||
<?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/excluir-promocion.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>
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:08:50
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-notas-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:5888319045361120225e572-94733685%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1946bf0b8129b683caca13a2a5bb80c8efc3f1f0' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-notas-base.tpl',
|
|
||||||
1 => 1379545364,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '5888319045361120225e572-94733685',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['ky'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('item')->value['notas']; 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['ky']->value = $_smarty_tpl->tpl_vars['it']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td align="center" height="25"><?php echo $_smarty_tpl->getVariable('it')->value['noNota'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['cantidad'],2,".",",");?>
|
|
||||||
<?php echo $_smarty_tpl->getVariable('it')->value['currency'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['fecha'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<a href="javascript:void(0)" onclick="DeleteNota(<?php echo $_smarty_tpl->getVariable('it')->value['pedidoNotaId'];?>
|
|
||||||
)" title="Eliminar">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/delete.gif" border="0" />
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr><td colspan="4" align="center" height="30">Ningún registro encontrado.</td></tr>
|
|
||||||
<?php } ?>
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:21:46
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/select-vend.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:10584714125360f8ead2be90-31452624%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'19543412d766475cf4adb08493cac97e75227c8e' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/select-vend.tpl',
|
|
||||||
1 => 1380898078,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '10584714125360f8ead2be90-31452624',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<select name="vendedorId" id="vendedorId" class="largeInput" style="width:220px">
|
|
||||||
<option value="todos">Todos</option>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('resVend')->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'];?>
|
|
||||||
<?php echo $_smarty_tpl->getVariable('item')->value['apellidos'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:47
|
|
||||||
compiled from "/var/www/html/templates/lists/envios-ordenes-comp.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:9843448665411bac3ad11a7-18083658%%*/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' => '9843448665411bac3ad11a7-18083658',
|
|
||||||
'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>
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:17:22
|
|
||||||
compiled from "/var/www/html/templates/lists/reportes-devcedis-prods.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1368336157540de4a263e032-25507599%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1cafacc6f633b6e1f784dd95b085b9ff40f77d30' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/reportes-devcedis-prods.tpl',
|
|
||||||
1 => 1410130460,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1368336157540de4a263e032-25507599',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="70" style="background-color:#99CCFF"><div align="center">Sucursal</div></th>
|
|
||||||
<th width="" style="background-color:#99CCFF"><div align="center">Proveedor</div></th>
|
|
||||||
<th width="60" style="background-color:#99CCFF"><div align="center">Código Barra</div></th>
|
|
||||||
<th width="200" style="background-color:#99CCFF"><div align="center">Producto</div></th>
|
|
||||||
<th width="60" style="background-color:#99CCFF"><div align="center">Cantidad</div></th>
|
|
||||||
<th width="60" style="background-color:#99CCFF"><div align="center">Costo</div></th>
|
|
||||||
<th width="60" style="background-color:#99CCFF"><div align="center">Total</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['itP'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = 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['itP']->key => $_smarty_tpl->tpl_vars['itP']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['itP']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td align="center"><?php echo urldecode($_smarty_tpl->getVariable('itP')->value['sucursal']);?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['proveedor'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['producto'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['cantidad'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['costo'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr>
|
|
||||||
<td colspan="6" align="center">Ningún registro encontrado.</td>
|
|
||||||
</tr>
|
|
||||||
<?php } ?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-01 09:23:18
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/usuarios-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1749257204536258d637ebb6-71485800%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1d279adfd721acc19e142bc2a7ec0216ec4f5735' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/usuarios-header.tpl',
|
|
||||||
1 => 1375965401,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1749257204536258d637ebb6-71485800',
|
|
||||||
'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>
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:35:37
|
|
||||||
compiled from "/var/www/html/templates/items/facturacion-mensual-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:135159639554207a096e7c93-57791708%%*/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' => '135159639554207a096e7c93-57791708',
|
|
||||||
'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>
|
|
||||||
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:55
|
|
||||||
compiled from "/var/www/html/templates/boxes/status_on_popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1775463384540ce32faca454-89580539%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1ddcd7705ad7ca4c414c7d18e6b7f9b32ee28639' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/boxes/status_on_popup.tpl',
|
|
||||||
1 => 1410130449,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1775463384540ce32faca454-89580539',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/status_open_on_popup.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 (!empty($_smarty_tpl->getVariable('errors')->value)){?>
|
|
||||||
<h3>
|
|
||||||
<?php if ($_smarty_tpl->getVariable('errors')->value['complete']){?>
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/ok.gif" style="cursor:pointer" onclick="ToogleStatusDivOnPopup()"/>
|
|
||||||
<?php }else{ ?>
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/error.gif" style="cursor:pointer" onclick="ToogleStatusDivOnPopup()"/>
|
|
||||||
<?php }?>
|
|
||||||
</h3>
|
|
||||||
<div style="position:relative;top:-40px;left:50px; font-size:16px;">
|
|
||||||
<?php $_smarty_tpl->tpl_vars["error"] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('errors')->value['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars["error"]->key => $_smarty_tpl->tpl_vars["error"]->value){
|
|
||||||
$_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["error"]->key;
|
|
||||||
?>
|
|
||||||
<?php echo $_smarty_tpl->getVariable('error')->value;?>
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('errors')->value['field'][$_smarty_tpl->getVariable('key')->value]){?>
|
|
||||||
: <?php echo $_smarty_tpl->getVariable('errors')->value['field'][$_smarty_tpl->getVariable('key')->value];?>
|
|
||||||
|
|
||||||
<?php }?>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<?php }?>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/status_close.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);?>
|
|
||||||
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:02:40
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-ticket-facturar.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:97995549453612cb07a4e84-20067971%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1edf4e5f0b781ffc2786a75d80deb5b255265dd7' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-ticket-facturar.tpl',
|
|
||||||
1 => 1385163789,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '97995549453612cb07a4e84-20067971',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form id="frmTicket" name="frmTicket" method="post">
|
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Ingrese el Folio Novomoda del Ticket:</div>
|
|
||||||
<div class="r"><input type="text" name="ventaId" id="ventaId" class="largeInput wide2" maxlength="10">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
* Campo requerido
|
|
||||||
<div style="padding-left:300px">
|
|
||||||
<a class="button" onclick="SaveTicket()"><span>Continuar >></span></a>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="type" name="type" value="saveAddTicket"/>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:48:55
|
|
||||||
compiled from "/var/www/html/templates/lists/enumVigenciaPromo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1731013369540f59a7954706-49225498%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1ef18b3af4b7934a0feca7f4f89d0131ca938f5c' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/enumVigenciaPromo.tpl',
|
|
||||||
1 => 1410130459,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1731013369540f59a7954706-49225498',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<select name="vigencia" id="vigencia" class="largeInput" onchange="ShowCalendars()">
|
|
||||||
<option value="">Seleccione</option>
|
|
||||||
<option value="Permanente" <?php if ($_smarty_tpl->getVariable('info')->value['vigencia']=="Permanente"){?>selected<?php }?>>Permanente</option>
|
|
||||||
<option value="Periodo" <?php if ($_smarty_tpl->getVariable('info')->value['vigencia']=="Periodo"){?>selected<?php }?>>Por Periodo</option>
|
|
||||||
</select>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-07-02 16:25:42
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-atributo-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:16856782153b478d6b68976-43518628%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'1f0b84ea4a39417eb4f73972e37d513f1f64acca' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-atributo-popup.tpl',
|
|
||||||
1 => 1375965198,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '16856782153b478d6b68976-43518628',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
|
|
||||||
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></a></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Agregar Atributo</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Agregar Atributo</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-atributo.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>
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-07-09 11:01:47
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/calificar-proveedor-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:164869760153bd676b775422-87309232%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'215aae3fd2aad1b166cff6efbf31517f9edb32ed' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/calificar-proveedor-popup.tpl',
|
|
||||||
1 => 1379881046,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '164869760153bd676b775422-87309232',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Calificar Proveedor :: Pedido No. <?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
|
||||||
</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">
|
|
||||||
Calificar Proveedor :: Pedido No. <?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
Proveedor: <?php echo $_smarty_tpl->getVariable('info')->value['proveedor'];?>
|
|
||||||
|
|
||||||
</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/calificar-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);?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:02:40
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/facturar-ticket-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:46484297953612cb05de8b5-47685177%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'21ff6d9fb6383c5951e1b6158f1f9e1a073603aa' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/facturar-ticket-popup.tpl',
|
|
||||||
1 => 1385163825,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '46484297953612cb05de8b5-47685177',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Paso 1 de 3 :: Facturar Ticket</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Paso 1 de 3 :: Facturar Ticket</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-ticket-facturar.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>
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-07-02 18:34:11
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/filtro-reporte-prod-prov2.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:192376828953b496f3181f98-23705058%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'22837bd4487dcfadd540651ee1f72fed09f631c2' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/filtro-reporte-prod-prov2.tpl',
|
|
||||||
1 => 1404343991,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '192376828953b496f3181f98-23705058',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<br /><br />
|
|
||||||
<h2 align="center">Reporte en Mantenimiento</h2>
|
|
||||||
|
|
||||||
@@ -1,352 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-27 05:44:23
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-prod-prov-item.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:108225702953ad4b07cd45f5-47601480%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'22932b63ddaf66740b2dddbd73f75614c4bf6b39' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-prod-prov-item.tpl',
|
|
||||||
1 => 1403865853,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '108225702953ad4b07cd45f5-47601480',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.date_format.php';
|
|
||||||
?><table width="<?php echo $_smarty_tpl->getVariable('width')->value;?>
|
|
||||||
" cellpadding="0" cellspacing="0" id="tblProdProv" border="0" bgcolor="#FFFFFF" class="sortable">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="60"></th>
|
|
||||||
<th width="60"></th>
|
|
||||||
<th width="100"></th>
|
|
||||||
<th width="100"></th>
|
|
||||||
<th width="200"></th>
|
|
||||||
<th width="60"></th>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['mes'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['mes']->key => $_smarty_tpl->tpl_vars['mes']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['mes']->key;
|
|
||||||
?>
|
|
||||||
<th width="400" colspan="6"><b><?php echo $_smarty_tpl->getVariable('mes')->value;?>
|
|
||||||
</b></th>
|
|
||||||
<?php }} ?>
|
|
||||||
<th width="100"></th>
|
|
||||||
<th width="80"></th>
|
|
||||||
<th width="80"></th>
|
|
||||||
<th width="100"></th>
|
|
||||||
|
|
||||||
<th width="80"></th>
|
|
||||||
<th width="80"></th>
|
|
||||||
<th width="100"></th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th>Depto.</th>
|
|
||||||
<th>Línea</th>
|
|
||||||
<th>Clave</th>
|
|
||||||
<th><b>Código</b></th>
|
|
||||||
<th><b>Producto</b></th>
|
|
||||||
<th><b>No. Prov.</b></th>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['mes'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['mes']->key => $_smarty_tpl->tpl_vars['mes']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['mes']->key;
|
|
||||||
?>
|
|
||||||
<th><b>Inicial</b></th>
|
|
||||||
<th><b>Entrada</b></th>
|
|
||||||
<th><b>Salida</b></th>
|
|
||||||
<th><b>Ajuste Entrada</b></th>
|
|
||||||
<th><b>Ajuste Salida</b></th>
|
|
||||||
<th><b>Bloqueados</b></th>
|
|
||||||
<?php }} ?>
|
|
||||||
<th><b>Ultima Compra</b></th>
|
|
||||||
<th><b>Total Piezas</b></th>
|
|
||||||
<th><b>Costo</b></th>
|
|
||||||
<th><b>Importe Total de Inv.</b></th>
|
|
||||||
<th><b>Total Ventas</b></th>
|
|
||||||
<th><b>Precio Venta</b></th>
|
|
||||||
<th><b>Importe Total Ventas</b></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('suc')->value['categorias']; 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['prodCatId'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['prodSubcatId'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left" colspan="2"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['p']->key;
|
|
||||||
?>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<?php }} ?>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="right"></td>
|
|
||||||
</tr>
|
|
||||||
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
|
||||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kS'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('suc')->value['subcategorias'][$_tmp1]; 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 align="center"><?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('iS')->value['prodSubcatId'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left" colspan="2"><?php echo $_smarty_tpl->getVariable('iS')->value['nombre'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['p']->key;
|
|
||||||
?>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<?php }} ?>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="right"></td>
|
|
||||||
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
|
||||||
<?php $_tmp2=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('iS')->value['prodSubcatId'];?>
|
|
||||||
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['iP'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('suc')->value['productos'][$_tmp2][$_tmp3]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['iP']->key => $_smarty_tpl->tpl_vars['iP']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['iP']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('iP')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left"><?php echo $_smarty_tpl->getVariable('iP')->value['modelo'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('iP')->value['proveedorId'];?>
|
|
||||||
</td>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['p']->key;
|
|
||||||
?>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['iniciales'][$_smarty_tpl->getVariable('kP')->value],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['entradas'][$_smarty_tpl->getVariable('kP')->value],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['salidas'][$_smarty_tpl->getVariable('kP')->value],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['entradasA'][$_smarty_tpl->getVariable('kP')->value],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['salidasA'][$_smarty_tpl->getVariable('kP')->value],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['bloqueados'][$_smarty_tpl->getVariable('kP')->value],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<?php }} ?>
|
|
||||||
<td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('iP')->value['fecha'],"%d-%m-%Y");?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['totalPzas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('iP')->value['costo'],2,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="right">$<?php echo number_format($_smarty_tpl->getVariable('iP')->value['importe'],2,'.','');?>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['totalVtas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['precioVta'],2,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="right"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['importeVtas'],2,'.','');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr><td colspan="<?php echo $_smarty_tpl->getVariable('colspan')->value;?>
|
|
||||||
" align="center">Ningún producto encontrado.</td></tr>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"><b>TOTAL LINEA</b></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['p']->key;
|
|
||||||
?>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']][$_smarty_tpl->getVariable('kP')->value]['inicial'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']][$_smarty_tpl->getVariable('kP')->value]['entradas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']][$_smarty_tpl->getVariable('kP')->value]['salidas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']][$_smarty_tpl->getVariable('kP')->value]['entradasA'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']][$_smarty_tpl->getVariable('kP')->value]['salidasA'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']][$_smarty_tpl->getVariable('kP')->value]['bloqueados'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<?php }} ?>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']]['totalPzas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="right">$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']]['importe'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']]['totalVtas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="right">$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSubs'][$_smarty_tpl->getVariable('iS')->value['prodSubcatId']]['importeVtas'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<?php }} ?>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"><b>TOTAL DEPTO.</b></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['p']->key;
|
|
||||||
?>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']][$_smarty_tpl->getVariable('kP')->value]['inicial'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']][$_smarty_tpl->getVariable('kP')->value]['entradas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']][$_smarty_tpl->getVariable('kP')->value]['salidas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']][$_smarty_tpl->getVariable('kP')->value]['entradasA'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']][$_smarty_tpl->getVariable('kP')->value]['salidasA'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']][$_smarty_tpl->getVariable('kP')->value]['bloqueados'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<?php }} ?>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']]['totalPzas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="right">$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']]['importe'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']]['totalVtas'],0,'.','');?>
|
|
||||||
</td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="right">$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['totCats'][$_smarty_tpl->getVariable('item')->value['prodCatId']]['importeVtas'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<?php }} ?>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<?php if (count($_smarty_tpl->getVariable('suc')->value['productos'])>0){?>
|
|
||||||
<table width="<?php echo $_smarty_tpl->getVariable('width')->value;?>
|
|
||||||
" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
|
|
||||||
<tr>
|
|
||||||
<th width="60"></th>
|
|
||||||
<th width="60"></th>
|
|
||||||
<th width="100"></th>
|
|
||||||
<th width="100"></th>
|
|
||||||
<th width="200"><b>TOTALES</b></th>
|
|
||||||
<th width="60"></th>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['mes'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('periodo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['mes']->key => $_smarty_tpl->tpl_vars['mes']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['mes']->key;
|
|
||||||
?>
|
|
||||||
<td width="60" align="center"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totIniciales'][$_smarty_tpl->getVariable('kP')->value],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="60" align="center"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totEntradas'][$_smarty_tpl->getVariable('kP')->value],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="60" align="center"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSalidas'][$_smarty_tpl->getVariable('kP')->value],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="60" align="center"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totEntradasA'][$_smarty_tpl->getVariable('kP')->value],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="60" align="center"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totSalidasA'][$_smarty_tpl->getVariable('kP')->value],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="60" align="center"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totBloqueadosA'][$_smarty_tpl->getVariable('kP')->value],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<?php }} ?>
|
|
||||||
<th width="100"></th>
|
|
||||||
<th width="80"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totPzas'],0,'.',',');?>
|
|
||||||
</b></th>
|
|
||||||
<th width="80"></th>
|
|
||||||
<th width="100"><b>$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['totImporte'],2,'.',',');?>
|
|
||||||
</b></th>
|
|
||||||
|
|
||||||
<th width="80"><b><?php echo number_format($_smarty_tpl->getVariable('suc')->value['totVtas'],0,'.',',');?>
|
|
||||||
</b></th>
|
|
||||||
<th width="80"></th>
|
|
||||||
<th width="100"><b>$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['totImporteVtas'],2,'.',',');?>
|
|
||||||
</b></th>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<?php }?>
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-29 22:57:29
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/analisis-venta.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1332564298536074a9919796-24517487%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'232d1c529dfff7af3bd8894d1510ab17d98b4733' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/analisis-venta.tpl',
|
|
||||||
1 => 1394826846,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1332564298536074a9919796-24517487',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php if (!is_callable('smarty_modifier_date_format')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/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);?>
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-12 18:58:36
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/ver-descuentos.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1543999997539a3eac8e0de2-93954109%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'24060fbeadbfc29c4c84cf64b3bab3b268622466' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/ver-descuentos.tpl',
|
|
||||||
1 => 1375965482,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1543999997539a3eac8e0de2-93954109',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm" align="center">
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" align="center">
|
|
||||||
<tr>
|
|
||||||
<td><div align="center">Publicidad (<?php echo $_smarty_tpl->getVariable('descuentos')->value['publicidad'];?>
|
|
||||||
%)</div></td>
|
|
||||||
<td><div class="txtFrm">$<?php echo number_format($_smarty_tpl->getVariable('totalPublicidad')->value,2,'.',',');?>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><div align="center">Flete (<?php echo $_smarty_tpl->getVariable('descuentos')->value['flete'];?>
|
|
||||||
%)</div></td>
|
|
||||||
<td><div class="txtFrm">$<?php echo number_format($_smarty_tpl->getVariable('totalFlete')->value,2,'.',',');?>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><div align="center">Desarrollo (<?php echo $_smarty_tpl->getVariable('descuentos')->value['desarrollo'];?>
|
|
||||||
%)</div></td>
|
|
||||||
<td><div class="txtFrm">$<?php echo number_format($_smarty_tpl->getVariable('totalDesarrollo')->value,2,'.',',');?>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><div align="center">Especial (<?php echo $_smarty_tpl->getVariable('descuentos')->value['especial'];?>
|
|
||||||
%)</div></td>
|
|
||||||
<td><div class="txtFrm">$<?php echo number_format($_smarty_tpl->getVariable('totalEspecial')->value,2,'.',',');?>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-13 16:42:04
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/descuentos-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:691289082537291ac5396e0-72325734%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'24f6cd2f303e32863883183ed1f3fe95c905126f' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/descuentos-header.tpl',
|
|
||||||
1 => 1375965373,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '691289082537291ac5396e0-72325734',
|
|
||||||
'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="150" scope="col"><div align="center">Sucursal</div></th>
|
|
||||||
<th width="" scope="col"><div align="center">Usuario</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Fecha</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Total</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Status</div></th>
|
|
||||||
<th width="60" scope="col"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-15 14:28:51
|
|
||||||
compiled from "/var/www/html/templates/lists/pedidos-proporciones.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:68213310554173df35227a9-24460529%%*/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' => '68213310554173df35227a9-24460529',
|
|
||||||
'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 }?>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-05 17:24:11
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-producto-categoria.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:39453282353680f8b832c11-63000840%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'26bf3e7d11b3f75c65c9336a19644c4d998d48e4' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-producto-categoria.tpl',
|
|
||||||
1 => 1375965274,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '39453282353680f8b832c11-63000840',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmEditarCategoria" id="frmEditarCategoria" method="post" action="">
|
|
||||||
<input type="hidden" name="type" value="saveEditCategory" />
|
|
||||||
<input type="hidden" name="prodCatId" value="<?php echo $_smarty_tpl->getVariable('info')->value['prodCatId'];?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre:</div>
|
|
||||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
|
|
||||||
"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-12-10 08:16:23
|
|
||||||
compiled from "/var/www/html/templates/items/envios-reporte-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:414912830548855b799dd89-79772969%%*/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' => '414912830548855b799dd89-79772969',
|
|
||||||
'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>
|
|
||||||
@@ -1,227 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:35:40
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/reportes-proMasVend-base2.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:19684021775361346c0052c3-33515061%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'29a98437d29e140d99f64b47ebf12f1deca8c8ed' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/reportes-proMasVend-base2.tpl',
|
|
||||||
1 => 1382622989,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '19684021775361346c0052c3-33515061',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th width="200" id="alinear"><b><?php echo urldecode((utf8_decode($_smarty_tpl->getVariable('item')->value['nombre'])));?>
|
|
||||||
</b></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th ><div style="float:right"><a href="javascript:void(0)" id="showHide<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" onclick="ShowDesc(<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
)">[+]</a></div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
|
|
||||||
<tbody id="totales<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" style="display:none">
|
|
||||||
<tr style="background:#E0E5E7;text-align:center">
|
|
||||||
<th id="alinear"><b>Imagen</b></th>
|
|
||||||
<th id="alinear"><b>Proveedor</b></th>
|
|
||||||
<th id="alinear"><b>Departamento</b></th>
|
|
||||||
<th id="alinear"><b>Línea</b></th>
|
|
||||||
<th id="alinear"><b>Código de Barras</b></th>
|
|
||||||
<th id="alinear"><b>Producto</b></th>
|
|
||||||
<th id="alinear"><b>Cant. en Pedido</b></th>
|
|
||||||
<th id="alinear"><b>Cant. CEDIS</b></th>
|
|
||||||
<th id="alinear"><b>Inv. Actual</b></th>
|
|
||||||
<th id="alinear"><b>No. Prods. Vendidos</b></th>
|
|
||||||
<th id="alinear"><b>Costo</b></th>
|
|
||||||
<th id="alinear"><b>Precio Venta</b></th>
|
|
||||||
<th id="alinear"><b>Importe Total</b></th>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['itP'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['k1'] = 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['itP']->key => $_smarty_tpl->tpl_vars['itP']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['itP']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('itP')->value['imagen']!=''){?>
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/productos/<?php echo $_smarty_tpl->getVariable('itP')->value['imagen'];?>
|
|
||||||
" width="60" height="60" />
|
|
||||||
<?php }?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF" bgcolor="#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['proveedor'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['depto'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['linea'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:left; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['modelo'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['porLlegar'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['cedis'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['disponible'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['vendidos'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['costo'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['precioVenta'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b>TOTAL</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('item')->value['porLlegar'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('item')->value['cedis'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('item')->value['disponible'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('item')->value['vendidos'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['importe'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
<?php }} ?>
|
|
||||||
|
|
||||||
<?php if (count($_smarty_tpl->getVariable('sucursales')->value)>1){?>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th width="200" id="alinear"><b>TOTALES GLOBALES</b></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<th ><div style="float:right"><a href="javascript:void(0)" id="showHide1000" onclick="ShowDesc(1000)">[+]</a></div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
|
|
||||||
<tbody id="totales1000" style="display:none">
|
|
||||||
<tr style="background:#E0E5E7;text-align:center">
|
|
||||||
<th id="alinear"><b>Imagen</b></th>
|
|
||||||
<th id="alinear"><b>Proveedor</b></th>
|
|
||||||
<th id="alinear"><b>Departamento</b></th>
|
|
||||||
<th id="alinear"><b>Línea</b></th>
|
|
||||||
<th id="alinear"><b>Código de Barras</b></th>
|
|
||||||
<th id="alinear"><b>Producto</b></th>
|
|
||||||
<th id="alinear"><b>Cant. en Pedido</b></th>
|
|
||||||
<th id="alinear"><b>Cant. CEDIS</b></th>
|
|
||||||
<th id="alinear"><b>Inv. Actual</b></th>
|
|
||||||
<th id="alinear"><b>No. Prods. Vendidos</b></th>
|
|
||||||
<th id="alinear"><b>Costo</b></th>
|
|
||||||
<th id="alinear"><b>Precio Venta</b></th>
|
|
||||||
<th id="alinear"><b>Importe Total</b></th>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['itP'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('global')->value['productos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['itP']->key => $_smarty_tpl->tpl_vars['itP']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['itP']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('itP')->value['imagen']!=''){?>
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/productos/<?php echo $_smarty_tpl->getVariable('itP')->value['imagen'];?>
|
|
||||||
" width="60" height="60" />
|
|
||||||
<?php }?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF" bgcolor="#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['proveedor'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['depto'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['linea'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:left; background-color:#FFFFFF"><?php echo $_smarty_tpl->getVariable('itP')->value['modelo'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['porLlegar'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['cedis'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['disponible'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><?php echo number_format($_smarty_tpl->getVariable('itP')->value['vendidos'],0,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['costo'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['precioVenta'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b>TOTAL</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('global')->value['porLlegar'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('global')->value['cedis'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF">
|
|
||||||
<b><?php echo number_format($_smarty_tpl->getVariable('global')->value['disponible'],0,'.',',');?>
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b><?php echo number_format($_smarty_tpl->getVariable('global')->value['vendidos'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"></td>
|
|
||||||
<td style="text-align:center; background-color:#FFFFFF"><b>$<?php echo number_format($_smarty_tpl->getVariable('global')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
<?php }?>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-13 16:43:57
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/sucursales-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:544132123539b709d7c6b70-98778056%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2b79f9deeac365a9fcbc3cce9a6c8dc0c2636355' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/sucursales-header.tpl',
|
|
||||||
1 => 1375965398,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '544132123539b709d7c6b70-98778056',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div align="center">
|
|
||||||
<span id="addSucursal" style="cursor:pointer"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/add.png" border="0" />Agregar Sucursal</span>
|
|
||||||
</div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<div class="clear"></div>
|
|
||||||
|
|
||||||
<div class="portlet" style="width:95%; padding-left:20px" align="center">
|
|
||||||
|
|
||||||
<div class="portlet-content nopadding">
|
|
||||||
|
|
||||||
<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.</div></th>
|
|
||||||
<th width="136" scope="col"><div align="center">RFC</div></th>
|
|
||||||
<th width="" scope="col"><div align="center">Nombre</div></th>
|
|
||||||
<th width="109" scope="col"><div align="center">IVA</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-13 16:43:57
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/sucursales-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:264011040539b709dda0a05-91643035%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2b8188c64c666bde8bfe899688adc9de39c60faa' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/sucursales-base.tpl',
|
|
||||||
1 => 1375965398,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '264011040539b709dda0a05-91643035',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<tr>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['rfc'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['nombre'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['iva'];?>
|
|
||||||
%</td>
|
|
||||||
<td align="center">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/details.png" class="spanViewSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
||||||
" title="Ver Detalles" />
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/edit.gif" class="spanEditSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
||||||
" title="Editar"/>
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/delete.gif" class="spanDeleteSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
||||||
" title="Eliminar"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-01 09:44:05
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdVta.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:61539871953625db5c44939-27947593%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2c9d7e20e75e322ae856e7d6a9c15f42eae92ad9' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdVta.tpl',
|
|
||||||
1 => 1375965441,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '61539871953625db5c44939-27947593',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php if (!is_callable('smarty_modifier_upper')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.upper.php';
|
|
||||||
?><table width="100%" cellpadding="0" cellspacing="0" border="1">
|
|
||||||
<tr>
|
|
||||||
<td width="80" align="center" height="30"><b>DISP.</b></td>
|
|
||||||
<td width="100"align="center"><b>P. U.</td>
|
|
||||||
<td width="" align="center"><b>DESCRIPCION</b></td>
|
|
||||||
<td width="20"></td>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('productos')->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['disponible'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['precioVentaIva'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left"><?php echo smarty_modifier_upper($_smarty_tpl->getVariable('item')->value['nombre']);?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<a href="javascript:void(0)" onclick="UpdateInfoProdB(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
|
||||||
)">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/add.png" border="0" />
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr>
|
|
||||||
<td colspan="4" height="30" align="center">Ningún registro encontrado.</td>
|
|
||||||
</tr>
|
|
||||||
<?php } ?>
|
|
||||||
</table>
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:32:06
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-venta-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:17149977615360fb56ec1897-41501244%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2cf6d2de352813afcab219a3e9df5bf585ee79b6' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-venta-popup.tpl',
|
|
||||||
1 => 1375965210,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '17149977615360fb56ec1897-41501244',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divIframe" style="height:700px"></div>
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-23 17:55:01
|
|
||||||
compiled from "/var/www/html/templates/boxes/export-factura.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:8907894675421fa45bf7a59-68366070%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2daea5e851b43b2ea78be37c594d0f7bb00e085d' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/boxes/export-factura.tpl',
|
|
||||||
1 => 1410130448,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '8907894675421fa45bf7a59-68366070',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div>
|
|
||||||
El comprobante ha sido generada exitosamente, ahora puedes proceder a guardar los archivos.
|
|
||||||
<br />No te preocupes, estos archivos los podras volver a ver en "Consultar Comprobantes"
|
|
||||||
<br /><br />
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="v3"||$_smarty_tpl->getVariable('info')->value['version']=="construc"){?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
||||||
&secPath=xml&filename=SIGN_<?php echo $_smarty_tpl->getVariable('comprobante')->value['xml'];?>
|
|
||||||
.xml&contentType=text/xml" target="_blank" title="Descargar XML">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/xml_icon.png" height="100" width="100" border="0"/>
|
|
||||||
</a>
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['version']=="2"){?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
||||||
&secPath=xml&filename=<?php echo $_smarty_tpl->getVariable('comprobante')->value['xml'];?>
|
|
||||||
.xml&contentType=text/xml" target="_blank" title="Descargar XML">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/xml_icon.png" height="100" width="100" border="0"/></a>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/facturacion-pdf/ver/<?php echo $_smarty_tpl->getVariable('comprobante')->value['comprobanteId'];?>
|
|
||||||
" target="_blank" title="Descargar PDF">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/pdf_icon.png" height="100" width="100" border="0"/></a>
|
|
||||||
<br /><br />
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/facturacion-nueva">Crear Nuevo Comprobante</a>
|
|
||||||
</div>
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2016-05-03 14:57:54
|
|
||||||
compiled from "/var/www/html/templates/lists/usuarios.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1244015892572902c2301b38-97797000%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2f553159d15c11045d004a688a1b24b031cda40a' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/usuarios.tpl',
|
|
||||||
1 => 1410130461,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1244015892572902c2301b38-97797000',
|
|
||||||
'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);?>
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-01 09:44:05
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdCatVta.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:178903834053625db5bece08-86615195%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'2fbcb33ec1a003b36c72ee3587c329e9e75d5271' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdCatVta.tpl',
|
|
||||||
1 => 1375965436,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '178903834053625db5bece08-86615195',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php if (!is_callable('smarty_modifier_truncate')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.truncate.php';
|
|
||||||
?> <select name="prodCatId2" id="prodCatId2" class="largeInput" style="width:210px" onchange="LoadSubcats()">
|
|
||||||
<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('categorias')->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'],25,'...');?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:22:01
|
|
||||||
compiled from "/var/www/html/templates/lists/productos.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:950539790540de5b91a6524-79649572%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'30a06573f58dec6ec40d0c56965e23d6836e8482' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/productos.tpl',
|
|
||||||
1 => 1410130460,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '950539790540de5b91a6524-79649572',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/productos-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('key')->value%2==0){?>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/productos-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/productos-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="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);?>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:28:13
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/status_open_on_popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:21370971345361168d44a681-18604340%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'30e60f39654fddf53c9963940c921eb279480826' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/status_open_on_popup.tpl',
|
|
||||||
1 => 1375965231,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '21370971345361168d44a681-18604340',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="centeredDivOnPopup" class="" style="margin:auto; position:fixed; top:50%; left:50%; margin-top:-150px;margin-left:-275px;z-index:3000; display:none">
|
|
||||||
<div style="width:548px; border:solid; border-color:#999;border-width:1px; background-color:#ccc; padding-left:5px; padding-top:5px; padding-bottom:5px">
|
|
||||||
<div style="width:500px; border:solid; border-color:#999;border-width:1px; background-color:#FFF; padding:20px">
|
|
||||||
<div id="close_icon" onclick="ToogleStatusDivOnPopup()" style="position:absolute;top: 35px; left: 500px;cursor:pointer; z-index:5000"><a href="javascript:void(0)"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/close_icon.gif" height="32" width="32" border="0"/></a></div>
|
|
||||||
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:17:22
|
|
||||||
compiled from "/var/www/html/templates/lists/reportes-devcedis.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:364191590540de4a2571082-90789978%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'31f56b60492a59cacf1338de96d0edb8a070bdba' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/reportes-devcedis.tpl',
|
|
||||||
1 => 1410130460,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '364191590540de4a2571082-90789978',
|
|
||||||
'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="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>
|
|
||||||
<th width="100" scope="col"><div align="center">No. Dev.</div></th>
|
|
||||||
<th width="120" 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">Productos</div></th>
|
|
||||||
<th width="150" scope="col"><div align="center">Total</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('devoluciones')->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"><?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fecha'],"%d-%m-%Y %k:%M:%S");?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['totalCantidad'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<a href="javascript:void(0)" onclick="ViewProducts(<?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
|
|
||||||
)" title="Ver Productos">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/details.png" border="0" />
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="6">
|
|
||||||
<div id="listProds_<?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
|
|
||||||
" style="display:none">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/reportes-devcedis-prods.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>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr>
|
|
||||||
<td colspan="6" align="center">Ningún registro encontrado.</td>
|
|
||||||
</tr>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<?php if (count($_smarty_tpl->getVariable('devoluciones')->value)){?>
|
|
||||||
<tr>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
<td align="center"><b>TOTALES</b></td>
|
|
||||||
<td align="center"><b><?php echo number_format($_smarty_tpl->getVariable('totalProds')->value,0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td align="center"><b>$<?php echo number_format($_smarty_tpl->getVariable('totalTotal')->value,2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td align="center"></td>
|
|
||||||
</tr>
|
|
||||||
<?php }?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2016-01-07 10:44:15
|
|
||||||
compiled from "/var/www/html/templates/forms/filtro-prods-transito.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1327769682568e95dfe919f9-62731619%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'32023a71e0855bf5240f1153aea912620465e9f0' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/forms/filtro-prods-transito.tpl',
|
|
||||||
1 => 1410130451,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1327769682568e95dfe919f9-62731619',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<form name="frmProdsTransito" id="frmProdsTransito" method="post" action="export/prods-transito.php">
|
|
||||||
<input type="hidden" name="type" id="type" value="prodsTransito" />
|
|
||||||
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th align="center"><div align="center">Sucursal</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
|
||||||
<select name="idSucursal" id="idSucursal" class="largeInput">
|
|
||||||
<option value="">Todas</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 align="center">
|
|
||||||
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="RepProdsTransito()"/>
|
|
||||||
<div style="float:right; padding-right:50px">
|
|
||||||
<a href="javascript:void(0)" onclick="ExportProdsTransito()">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/excel.png" title="Exportar Reporte" border="0"/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
|
||||||
<div id="loadBusqueda" style="display:none" align="center">
|
|
||||||
<br />
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/loading.gif" width="16" height="16" />
|
|
||||||
<br />Cargando...
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 12:10:00
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-producto-subcategoria.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:9147913225363d1688c77e8-13013667%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'320fd1afd4bb862fc5a3c7dfc54bf93aa9a8f90f' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-producto-subcategoria.tpl',
|
|
||||||
1 => 1375965257,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '9147913225363d1688c77e8-13013667',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmAgregarSubcategoria" id="frmAgregarSubcategoria" method="post" action="">
|
|
||||||
<input type="hidden" name="type" id="type" value="saveSubcategory" />
|
|
||||||
<input type="hidden" name="prodCatId" id="prodCatId" value="<?php echo $_smarty_tpl->getVariable('prodCatId')->value;?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre:</div>
|
|
||||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Atributos:</div>
|
|
||||||
<div class="r">
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('atributos')->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="checkbox" name="atributos[]" id="atributo_<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
|
|
||||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
|
|
||||||
" />
|
|
||||||
<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
<?php }} else { ?>
|
|
||||||
<div align="center">Ningún registro encontrado.</div>
|
|
||||||
<?php } ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:28:13
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/metodos-pago-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:20087851235361168d4b5cb6-53820663%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'3266cabc7f792f5edf16e758c242b90a2c355e8f' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/metodos-pago-header.tpl',
|
|
||||||
1 => 1375965383,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '20087851235361168d4b5cb6-53820663',
|
|
||||||
'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="addMetodoPago">Agregar Método de Pago</a>
|
|
||||||
</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="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>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-25 10:23:13
|
|
||||||
compiled from "/var/www/html/templates/items/proveedores-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:167149773354243361dfd281-67438271%%*/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' => '167149773354243361dfd281-67438271',
|
|
||||||
'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>
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-19 14:05:59
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-cliente.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:118486552053a33497120474-60573564%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'33085bcd7ccedc164c1689e3b032c5d41b401f52' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-cliente.tpl',
|
|
||||||
1 => 1375965268,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '118486552053a33497120474-60573564',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form id="editarClienteForm" name="editarClienteForm" method="post">
|
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* RFC y Homoclave:</div>
|
|
||||||
<div class="r"><input type="text" name="rfc" id="rfc" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['rfc'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre Completo o Razón Social:</div>
|
|
||||||
<div class="r"><input type="text" name="razonSocial" id="razonSocial" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['nombre'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Dirección:</div>
|
|
||||||
<div class="r"><input type="text" name="calle" id="calle" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['calle'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* No Exterior:</div>
|
|
||||||
<div class="r"><input type="text" name="noExt" id="noExt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['noExt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">No Interior:</div>
|
|
||||||
<div class="r"><input type="text" name="noInt" id="noInt" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['noInt'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Referencia:</div>
|
|
||||||
<div class="r"><input type="text" name="referencia" id="referencia" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['referencia'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Colonia:</div>
|
|
||||||
<div class="r"><input type="text" name="colonia" id="colonia" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['colonia'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Localidad:</div>
|
|
||||||
<div class="r"><input type="text" name="localidad" id="localidad" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['localidad'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Municipio o Delegación:</div>
|
|
||||||
<div class="r"><input type="text" name="municipio" id="municipio" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['municipio'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Código Postal:</div>
|
|
||||||
<div class="r"><input type="text" name="cp" id="cp" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['cp'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Estado:</div>
|
|
||||||
<div class="r"><input type="text" name="estado" id="estado" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['estado'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Pais:</div>
|
|
||||||
<div class="r"><input type="text" name="pais" id="pais" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['pais'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Teléfono:</div>
|
|
||||||
<div class="r"><input type="text" name="telefono" id="telefono" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['telefono'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Correo Electrónico:</div>
|
|
||||||
<div class="r"><input type="text" name="email" id="email" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('post')->value['email'];?>
|
|
||||||
">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">Password (Dejar vacio para no cambiar):</div>
|
|
||||||
<div class="r"><input type="password" name="password" id="password" class="largeInput wide2" value="">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="editarCliente" name="editarCliente"><span>Actualizar</span></a>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="type" name="type" value="saveEditCliente"/>
|
|
||||||
<input type="hidden" id="clienteId" name="clienteId" value="<?php echo $_smarty_tpl->getVariable('post')->value['clienteId'];?>
|
|
||||||
"/>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 11:56:15
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-inventario.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:23112317653612b2f0525b3-62578896%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'333e450e5d875b0bea4c0dc1dbbcd001852caaaa' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-inventario.tpl',
|
|
||||||
1 => 1386609041,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '23112317653612b2f0525b3-62578896',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php if (count($_smarty_tpl->getVariable('sucursales')->value)>0){?>
|
|
||||||
<div align="left"><a href="javascript:void(0)" onclick="ShowHideGral()" id="showHideG">[+] TODOS</a></div>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
|
||||||
?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
|
||||||
<thead>
|
|
||||||
<tr style="background:#CCC;text-align:center">
|
|
||||||
<th id="alinear" colspan="5"><b><?php echo urldecode((utf8_decode($_smarty_tpl->getVariable('item')->value['nombre'])));?>
|
|
||||||
</b></th>
|
|
||||||
<th>
|
|
||||||
<div style="float:right">
|
|
||||||
<a href="javascript:void(0)" id="showHide<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" onclick="ShowDesc(<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
)">[+]</a>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" name="idS[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" />
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
</table>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="tblReporte" border="0" class="sortable">
|
|
||||||
<tbody id="totales<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" style="display:none">
|
|
||||||
<tr style="background:#E0E5E7;text-align:center">
|
|
||||||
<td id="alinear"><b>Proveedor</b></th>
|
|
||||||
<th id="alinear"><b>Código Barra</b></th>
|
|
||||||
<th id="alinear"><b>Modelo</b></th>
|
|
||||||
<th id="alinear" width="70"><b>Costo Unitario</b></th>
|
|
||||||
<th id="alinear" width="70"><b>Precio Venta</b></th>
|
|
||||||
<th id="alinear" width="60"><b>Disponibles</b></th>
|
|
||||||
<th id="alinear" width="80"><b>Total Costo</b></th>
|
|
||||||
<th id="alinear" width="80"><b>Total P.V.</b></th>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['ky'] = 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['ky']->value = $_smarty_tpl->tpl_vars['it']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:left"><?php echo $_smarty_tpl->getVariable('it')->value['proveedor'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo $_smarty_tpl->getVariable('it')->value['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:left;"><?php echo $_smarty_tpl->getVariable('it')->value['modelo'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['costo'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['precioVentaIva'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center;"><?php echo $_smarty_tpl->getVariable('it')->value['disponible'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:right;">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:right;">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['totalPV'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td></td>
|
|
||||||
<td></td>
|
|
||||||
<td></td>
|
|
||||||
<td width="90" style="text-align:center;"><b>TOTAL</b></td>
|
|
||||||
<td width="80" style="text-align:center;"><b><?php echo number_format($_smarty_tpl->getVariable('item')->value['disponible'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="100" style="text-align:right;"><b>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="100" style="text-align:right;"><b>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['totalPV'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<?php }} ?>
|
|
||||||
|
|
||||||
<?php if (count($_smarty_tpl->getVariable('sucursales')->value)>0){?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td colspan="4"></td>
|
|
||||||
<td width="80" style="text-align:center;"><b>TOTAL GRAL.</b></td>
|
|
||||||
<td width="60" style="text-align:center;"><b><?php echo number_format($_smarty_tpl->getVariable('totales')->value['disponible'],0,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="85" style="text-align:right;"><b>$<?php echo number_format($_smarty_tpl->getVariable('totales')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
<td width="85" style="text-align:right;"><b>$<?php echo number_format($_smarty_tpl->getVariable('totales')->value['totalPV'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<?php }?>
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:35:26
|
|
||||||
compiled from "/var/www/html/templates/items/facturacion-mensual-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:2087120099542079fe2041a9-90622545%%*/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' => '2087120099542079fe2041a9-90622545',
|
|
||||||
'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>
|
|
||||||
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:48:55
|
|
||||||
compiled from "/var/www/html/templates/lists/enumProdCatPromo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1215138117540f59a79bf5f3-51036298%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'34054d9aa07fba40703b48d1fd511a9014aae981' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/enumProdCatPromo.tpl',
|
|
||||||
1 => 1410130458,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1215138117540f59a79bf5f3-51036298',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('categorias')->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="checkbox" name="idProdCat[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
|
||||||
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-21 18:27:27
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/facturacion-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:746353053537d365f428497-95586710%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'341ed3c5a60180eb96a8d1d9f2dd35588ebde886' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/facturacion-header.tpl',
|
|
||||||
1 => 1386004423,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '746353053537d365f428497-95586710',
|
|
||||||
'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">Ticket</div></th>
|
|
||||||
<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="34" scope="col"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 12:10:29
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/productos-subcategorias-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:11070707855363d185711395-80180453%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'352f3198c9cf6d9d3d94de1be6e82becdedb2559' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/productos-subcategorias-base.tpl',
|
|
||||||
1 => 1375965389,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '11070707855363d185711395-80180453',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<tr>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itm')->value['prodSubcatId'];?>
|
|
||||||
</td>
|
|
||||||
<td><?php echo $_smarty_tpl->getVariable('itm')->value['nombre'];?>
|
|
||||||
</td>
|
|
||||||
<td><?php echo $_smarty_tpl->getVariable('itm')->value['atributos'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<a href="javascript:void(0)" onclick="EditSubcategoryPopup(<?php echo $_smarty_tpl->getVariable('itm')->value['prodSubcatId'];?>
|
|
||||||
)">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/edit.gif" border="0" title="Editar"/>
|
|
||||||
</a>
|
|
||||||
<a href="javascript:void(0)" onclick="DeleteSubcategoryPopup(<?php echo $_smarty_tpl->getVariable('itm')->value['prodSubcatId'];?>
|
|
||||||
)">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/delete.gif" border="0" title="Eliminar"/>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
@@ -1,137 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:55:40
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-pago.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:383483427536100dc31d631-18742931%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'36296e19c53c7ab3668cded64bd2fabc427cb7a9' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-pago.tpl',
|
|
||||||
1 => 1385483734,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '383483427536100dc31d631-18742931',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
<thead>
|
|
||||||
<tr style="background:#CCC;text-align:center">
|
|
||||||
<th colspan="2" id="alinear"><b><?php echo urldecode($_smarty_tpl->getVariable('item')->value['nombre']);?>
|
|
||||||
</b></th>
|
|
||||||
<th ><div style="float:right">
|
|
||||||
<a href="javascript:void(0)" id="showHide<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
" onclick="ShowDesc(<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
)">[+]</a>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody style="display:none" id="totales<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
|
||||||
">
|
|
||||||
<tr style="background:#E0E5E7;">
|
|
||||||
<th style="text-align:left;padding-left:100px;"><b>Tipo de Pago</b></th>
|
|
||||||
<th id="alinaer"><b><div style="text-align:center">Número de Productos <br />Vendidos</div></b></th>
|
|
||||||
<th style="text-align:right; padding-right:20px"><b><div style="text-align:center">Total de venta</div></b></th>
|
|
||||||
</tr>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['it1'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('item')->value['metodosPago']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['it1']->key => $_smarty_tpl->tpl_vars['it1']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['it1']->key;
|
|
||||||
?>
|
|
||||||
<tr><td style="text-align:left;padding-left:100px;"><?php echo urldecode((utf8_encode($_smarty_tpl->getVariable('it1')->value['nombre'])));?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center"><?php echo $_smarty_tpl->getVariable('it1')->value['totalPrendas'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:right;padding-right:100px;">$<?php echo number_format($_smarty_tpl->getVariable('it1')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr><td colspan="3" align="center">Ninguna registro encontrado.</td></tr>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('idMetodoPago')->value>0){?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:left;padding-left:100px;"><b>TOTAL</b></td>
|
|
||||||
<td></td>
|
|
||||||
<td style="text-align:right;padding-right:100px;"><b>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
<?php }else{ ?>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:left;padding-left:100px;"><b>TOTAL</b></td>
|
|
||||||
<td></td>
|
|
||||||
<td style="text-align:right;padding-right:100px;"><b>$<?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
<?php }} ?>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th colspan="3" id="alinear"><b>TOTAL GENERAL</b></th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th style="text-align:left;padding-left:100px;"><b>Tipo de Pago</b></th>
|
|
||||||
<th id="alinaer"><b><div style="text-align:center">Número de Productos <br />Vendidos</div></b></th>
|
|
||||||
<th id="alinaer"><b><div style="text-align:center">Total de venta</div></b></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['it2'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['k2'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('formasPago')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['it2']->key => $_smarty_tpl->tpl_vars['it2']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['k2']->value = $_smarty_tpl->tpl_vars['it2']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:left;padding-left:100px;"><?php echo urldecode((utf8_encode($_smarty_tpl->getVariable('it2')->value['nombre'])));?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:center"><?php echo $_smarty_tpl->getVariable('it2')->value['totalPrendas'];?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:right;padding-right:100px;">$<?php echo number_format($_smarty_tpl->getVariable('it2')->value['total'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
<?php if ($_smarty_tpl->getVariable('idMetodoPago')->value>0){?>
|
|
||||||
<tr style="background:#F4F5F6">
|
|
||||||
<td style="text-align:left;padding-left:100px;"><b>Total de Ventas</b></td>
|
|
||||||
<td style="text-align:center;"><b><?php echo $_smarty_tpl->getVariable('totales')->value['prendas'];?>
|
|
||||||
</b></td></td>
|
|
||||||
<td style="text-align:right;padding-right:100px;"><b>$<?php echo number_format($_smarty_tpl->getVariable('totales')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
<?php }else{ ?>
|
|
||||||
|
|
||||||
<tr style="background:#F4F5F6">
|
|
||||||
<td style="text-align:left;padding-left:100px;"><b>Total de Ventas</b></td>
|
|
||||||
<td style="text-align:center;"><b><?php echo $_smarty_tpl->getVariable('totales')->value['prendas'];?>
|
|
||||||
</b></td></td>
|
|
||||||
<td style="text-align:right;padding-right:100px;"><b>$<?php echo number_format($_smarty_tpl->getVariable('totales')->value['total'],2,'.',',');?>
|
|
||||||
</b></td>
|
|
||||||
</tr>
|
|
||||||
<?php }?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:17:48
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/export-factura.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:19284591355361303c292b35-03379903%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'3808a30e70411773d216c68bde9360989d24291b' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/export-factura.tpl',
|
|
||||||
1 => 1396396276,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '19284591355361303c292b35-03379903',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div>
|
|
||||||
El comprobante ha sido generada exitosamente, ahora puedes proceder a guardar los archivos.
|
|
||||||
<br />No te preocupes, estos archivos los podras volver a ver en "Consultar Comprobantes"
|
|
||||||
<br /><br />
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="v3"||$_smarty_tpl->getVariable('info')->value['version']=="construc"){?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
||||||
&secPath=xml&filename=SIGN_<?php echo $_smarty_tpl->getVariable('comprobante')->value['xml'];?>
|
|
||||||
.xml&contentType=text/xml" target="_blank" title="Descargar XML">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/xml_icon.png" height="100" width="100" border="0"/>
|
|
||||||
</a>
|
|
||||||
<?php }elseif($_smarty_tpl->getVariable('info')->value['version']=="2"){?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
||||||
&secPath=xml&filename=<?php echo $_smarty_tpl->getVariable('comprobante')->value['xml'];?>
|
|
||||||
.xml&contentType=text/xml" target="_blank" title="Descargar XML">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/xml_icon.png" height="100" width="100" border="0"/></a>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/facturacion-pdf/ver/<?php echo $_smarty_tpl->getVariable('comprobante')->value['comprobanteId'];?>
|
|
||||||
" target="_blank" title="Descargar PDF">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/pdf_icon.png" height="100" width="100" border="0"/></a>
|
|
||||||
<br /><br />
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/facturacion-nueva">Crear Nuevo Comprobante</a>
|
|
||||||
</div>
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 13:18:22
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-tienda-prods2.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:8324603675363e16e24e770-42491791%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'392e8c6f8e881b6d5223f277d7e605c4ecbcf458' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-tienda-prods2.tpl',
|
|
||||||
1 => 1377967519,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '8324603675363e16e24e770-42491791',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<hr />
|
|
||||||
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
|
||||||
<tr>
|
|
||||||
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
|
||||||
<td width="" align="center" height="30"><b>Producto</b></td>
|
|
||||||
<td width="100" align="center"><b>Cantidad</b></td>
|
|
||||||
<td width="30" 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('productos')->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['codigoBarra'];?>
|
|
||||||
</td>
|
|
||||||
<td align="left" height="30"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<a href="javascript:void(0)" onclick="DeleteProducto(<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
|
||||||
)" title="Eliminar">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/cancel2.png" border="0" />
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} else { ?>
|
|
||||||
<tr>
|
|
||||||
<td colspan="4" height="30" align="center">Ningún registro encontrado.</td>
|
|
||||||
</tr>
|
|
||||||
<?php } ?>
|
|
||||||
</table>
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:39:53
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-nota-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:309219696536119491a0ea0-41805108%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'39bc7886235a709fd4faff39599f9961f766841b' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/agregar-nota-popup.tpl',
|
|
||||||
1 => 1379545296,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '309219696536119491a0ea0-41805108',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
|
|
||||||
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></a></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Agregar Nota de Crédito :: Pedido No. <?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
|
||||||
</div>
|
|
||||||
<div id="vtitl">
|
|
||||||
<span title="Titulo">Agregar Nota de Crédito :: Pedido No. <?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
|
||||||
</span>
|
|
||||||
<br /><br />
|
|
||||||
Saldo: $<?php echo number_format($_smarty_tpl->getVariable('info')->value['saldo'],2,'.',',');?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-nota.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>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-15 09:37:48
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/proveedores-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:4285193925374d13c6d2889-81531129%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'39fa32cac0e2a6f2c1114072c5f352873110468e' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/proveedores-header.tpl',
|
|
||||||
1 => 1375965391,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '4285193925374d13c6d2889-81531129',
|
|
||||||
'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>
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-10 09:51:47
|
|
||||||
compiled from "/var/www/html/templates/lists/enumProdSubcat3.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:92493175410658389c6d9-50745012%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'3a9a01ac57548596448c9bf7ef4636ac06fae878' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/enumProdSubcat3.tpl',
|
|
||||||
1 => 1410130458,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '92493175410658389c6d9-50745012',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<select name="prodSubcatId" id="prodSubcatId" class="smallInput" style="width:200px">
|
|
||||||
<option value="">Todas</option>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('subcategorias')->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_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
</option>
|
|
||||||
<?php }} ?>
|
|
||||||
</select>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:22:21
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-vendedor.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:21417506465360f90d1c5243-53672875%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'3de32f4c73909ad90ca162d78420d8906d230415' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-vendedor.tpl',
|
|
||||||
1 => 1380898040,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '21417506465360f90d1c5243-53672875',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%">
|
|
||||||
<thead>
|
|
||||||
<th>Periodo:</th>
|
|
||||||
</thead>
|
|
||||||
<tbody style="text-align:center">
|
|
||||||
<td><?php echo $_smarty_tpl->getVariable('fi')->value;?>
|
|
||||||
<b>a</b> <?php echo $_smarty_tpl->getVariable('ff')->value;?>
|
|
||||||
</td>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="report" border="1">
|
|
||||||
<tbody>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/reportes-vendedor-base.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);?>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-06 07:35:06
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-productos-edit.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:11261607515368d6fa2f67f5-78829084%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'3f50f7bac43b51adaf0b79d3a5023061cf56acd2' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-productos-edit.tpl',
|
|
||||||
1 => 1383853826,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '11261607515368d6fa2f67f5-78829084',
|
|
||||||
'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">
|
|
||||||
<input type="text" class="largeInput" style="width:270px" name="cantPrend[<?php echo $_smarty_tpl->getVariable('k')->value;?>
|
|
||||||
]" value="<?php echo $_smarty_tpl->getVariable('it')->value['cantPrendas'];?>
|
|
||||||
" />
|
|
||||||
</td>
|
|
||||||
<td width="10"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td width="120" align="left" height="40">* Costo:</td>
|
|
||||||
<td align="left">
|
|
||||||
<input type="text" class="largeInput" style="width:270px" name="costo[<?php echo $_smarty_tpl->getVariable('k')->value;?>
|
|
||||||
]" value="<?php echo $_smarty_tpl->getVariable('it')->value['costo'];?>
|
|
||||||
" />
|
|
||||||
</td>
|
|
||||||
<td width="10"></td>
|
|
||||||
<td width="130" align="left">* Precio Venta:</td>
|
|
||||||
<td align="left">
|
|
||||||
<input type="text" class="largeInput" style="width:270px" name="precioVenta[<?php echo $_smarty_tpl->getVariable('k')->value;?>
|
|
||||||
]" value="<?php echo $_smarty_tpl->getVariable('it')->value['precioVenta'];?>
|
|
||||||
" />
|
|
||||||
<input type="hidden" name="idPedProd[<?php echo $_smarty_tpl->getVariable('k')->value;?>
|
|
||||||
]" value="<?php echo $_smarty_tpl->getVariable('it')->value['pedProdId'];?>
|
|
||||||
" />
|
|
||||||
</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 } ?>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:13
|
|
||||||
compiled from "/var/www/html/templates/lists/reportes-proMasVend.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:5815664565411cdd9e35f76-93816357%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'40c7154e5b73d1a5b71f33ff6eee6c9bc0047a9d' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/reportes-proMasVend.tpl',
|
|
||||||
1 => 1410130461,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '5815664565411cdd9e35f76-93816357',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
|
|
||||||
<tbody>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/reportes-proMasVend-base.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);?>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-06 18:05:04
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-atributo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:132313626153696aa0acaa80-17636805%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'40fde0c3d83ce05474a0a22114a9eb7635168455' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-atributo.tpl',
|
|
||||||
1 => 1375965267,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '132313626153696aa0acaa80-17636805',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmEditarAtributo" id="frmEditarAtributo" method="post" action="">
|
|
||||||
<input type="hidden" name="type" value="saveEditAtributo" />
|
|
||||||
<input type="hidden" name="atributoId" value="<?php echo $_smarty_tpl->getVariable('info')->value['atributoId'];?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre:</div>
|
|
||||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
|
|
||||||
"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-03 15:38:36
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/envios-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:154397900536553cc8b9a13-18233804%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'430c70b1f1faf2942c8c65334181f92ab9be12bb' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/envios-base.tpl',
|
|
||||||
1 => 1391799869,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '154397900536553cc8b9a13-18233804',
|
|
||||||
'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['fecha'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">CEDIS</td>
|
|
||||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
|
||||||
</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"><?php echo $_smarty_tpl->getVariable('item')->value['noCajas'];?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
|
||||||
En Tránsito
|
|
||||||
<?php }else{ ?>
|
|
||||||
<?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
|
|
||||||
|
|
||||||
<?php }?>
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
|
||||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"&&$_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/envios-recibir/id/<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
||||||
" title="Recibir Mercancia">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/action_check.gif" border="0"/>
|
|
||||||
</a>
|
|
||||||
<?php }?>
|
|
||||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/envios-talones-pdf/id/<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
||||||
" title="Ver Talones de Embarque" target="_blank">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/pdf.png" border="0"/>
|
|
||||||
</a>
|
|
||||||
<?php }?>
|
|
||||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/envios-detalles/id/<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
||||||
" title="Ver Detalles">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/icons/details.png" border="0"/>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 12:10:29
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/productos-subcategorias-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:16922496055363d1856a1f06-11870664%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'434d236bb08fb74b8a518c45057fe60e385ba263' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/productos-subcategorias-header.tpl',
|
|
||||||
1 => 1375965389,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '16922496055363d1856a1f06-11870664',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" id="subTbl">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="100" scope="col"><div align="center">ID</div></th>
|
|
||||||
<th width="" scope="col">Nombre</th>
|
|
||||||
<th width="200" scope="col"><div align="center">Atributos</div></th>
|
|
||||||
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 12:45:13
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/editar-producto-subcategoria-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:14335483725363d9a955a432-25152808%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'43a9e93168fe09b066c07e5f7652037ed30f455c' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/editar-producto-subcategoria-popup.tpl',
|
|
||||||
1 => 1375965222,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '14335483725363d9a955a432-25152808',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
|
|
||||||
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></a></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Editar Línea</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Editar Línea</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/editar-producto-subcategoria.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>
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:22:21
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/reportes-vendedor-base.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:3452783875360f90d2953d6-58460005%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'4413820d54c0384a61f7385b87a1de4416d899dd' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/reportes-vendedor-base.tpl',
|
|
||||||
1 => 1394063494,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '3452783875360f90d2953d6-58460005',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table border="1" width="100%">
|
|
||||||
<?php $_smarty_tpl->tpl_vars['suc'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['header'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('ventas')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['suc']->key => $_smarty_tpl->tpl_vars['suc']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['header']->value = $_smarty_tpl->tpl_vars['suc']->key;
|
|
||||||
?>
|
|
||||||
<thead>
|
|
||||||
<tr style="background:#CCC;text-align:center">
|
|
||||||
<th colspan="3"><b><?php echo urldecode($_smarty_tpl->getVariable('suc')->value['nombre']);?>
|
|
||||||
</b></th>
|
|
||||||
</tr>
|
|
||||||
<tr style="background:#E0E5E7;text-align:center">
|
|
||||||
<th><b>Nombre del Vendedor</b></th><th><b>Total de venta</b></th><th><b>Comision</b></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php $_smarty_tpl->tpl_vars['it1'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('suc')->value['vendedor']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
||||||
if (count($_from) > 0){
|
|
||||||
foreach ($_from as $_smarty_tpl->tpl_vars['it1']->key => $_smarty_tpl->tpl_vars['it1']->value){
|
|
||||||
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['it1']->key;
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td style="text-align:center"><?php echo urldecode((utf8_encode($_smarty_tpl->getVariable('it1')->value['nombre'])));?>
|
|
||||||
<?php echo urldecode((utf8_encode($_smarty_tpl->getVariable('it1')->value['apellidos'])));?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:right; padding-right:20px">$<?php echo number_format($_smarty_tpl->getVariable('it1')->value['totalventas'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
<td style="text-align:right; padding-right:20px">$<?php echo number_format($_smarty_tpl->getVariable('it1')->value['comisionVendedor'],2,'.',',');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php }} ?>
|
|
||||||
</tbody>
|
|
||||||
<tbody>
|
|
||||||
<th style="background:#F9F9F9">Venta Total</th>
|
|
||||||
<th colspan="2" style="background:#F9F9F9"><b>$<?php echo number_format($_smarty_tpl->getVariable('suc')->value['ventasucursal'],2,'.',',');?>
|
|
||||||
</b></th>
|
|
||||||
</tbody>
|
|
||||||
<?php }} ?>
|
|
||||||
|
|
||||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
|
||||||
<tr height="20px"><td colspan="3"></td></tr>
|
|
||||||
<tbody>
|
|
||||||
<th style="background:#F9F9F9">Venta General</th>
|
|
||||||
<th colspan="2" style="background:#F9F9F9"><b>$<?php echo number_format($_smarty_tpl->getVariable('ventaTotal')->value,2,'.',',');?>
|
|
||||||
</b></th>
|
|
||||||
</tbody>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:48:55
|
|
||||||
compiled from "/var/www/html/templates/lists/enumProvPromo.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:1707557506540f59a7a0f4c8-25227786%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'44bd70325a4b3fb8de1d28f8eb3071d42963adeb' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/enumProvPromo.tpl',
|
|
||||||
1 => 1410130458,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '1707557506540f59a7a0f4c8-25227786',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<?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;
|
|
||||||
?>
|
|
||||||
<input type="checkbox" name="idProveedor[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
||||||
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>/><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
<?php }} ?>
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:09:15
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/cuentas-facturas.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:18543447175361121bd617a3-62458502%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'44f6f9333d7237c21c332dd217d323f947b4dfc4' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/cuentas-facturas.tpl',
|
|
||||||
1 => 1379912920,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '18543447175361121bd617a3-62458502',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="subTbl">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-facturas-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);?>
|
|
||||||
|
|
||||||
<tbody>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-facturas-base.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);?>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 17:56:36
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-proporciones.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:206734251053617fa46979a9-79859477%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'45ac8a4dddc907bb3268bb2c0c6f55fa9e768776' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/pedidos-proporciones.tpl',
|
|
||||||
1 => 1379548417,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '206734251053617fa46979a9-79859477',
|
|
||||||
'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 }?>
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-11 14:23:29
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-comision.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:15846019115398acb1b76510-65949649%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'45f34f4ae52e41ea83ace756658497513f940942' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-comision.tpl',
|
|
||||||
1 => 1375965269,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '15846019115398acb1b76510-65949649',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmEditarComision" id="frmEditarComision" method="post" action="">
|
|
||||||
<input type="hidden" name="type" value="saveEditComision" />
|
|
||||||
<input type="hidden" name="comisionId" value="<?php echo $_smarty_tpl->getVariable('info')->value['comisionId'];?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Tipo:</div>
|
|
||||||
<div class="r">
|
|
||||||
<select name="tipo" id="tipo" class="largeInput" style="width:300px">
|
|
||||||
<option value="">Seleccione</option>
|
|
||||||
<option value="gerente" <?php if ($_smarty_tpl->getVariable('info')->value['tipoUsuario']=="gerente"){?> selected="selected" <?php }?>>Gerente</option>
|
|
||||||
<option value="subgerente" <?php if ($_smarty_tpl->getVariable('info')->value['tipoUsuario']=="subgerente"){?> selected="selected" <?php }?>>Subgerente</option>
|
|
||||||
<option value="vendedor" <?php if ($_smarty_tpl->getVariable('info')->value['tipoUsuario']=="vendedor"){?> selected="selected" <?php }?>>Vendedor</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* % de Comision con Rango Bajo:</div>
|
|
||||||
<div class="r">
|
|
||||||
<input value="<?php echo $_smarty_tpl->getVariable('info')->value['comisionBajo'];?>
|
|
||||||
" type="text" name="comisionBajo" id="comisionBajo" class="largeInput" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* % de Comision con Rango Alto:</div>
|
|
||||||
<div class="r">
|
|
||||||
<input type="text" value="<?php echo $_smarty_tpl->getVariable('info')->value['comisionAlto'];?>
|
|
||||||
" name="comisionAlto" id="comisionAlto" class="largeInput" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Rango:</div>
|
|
||||||
<div class="r">
|
|
||||||
<input type="text" value="<?php echo $_smarty_tpl->getVariable('info')->value['rango'];?>
|
|
||||||
" name="rango" id="rango" class="largeInput" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-25 10:23:13
|
|
||||||
compiled from "/var/www/html/templates/lists/proveedores.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:49745566054243361d90119-06469866%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'46709e082ffd1df4a8db6ca206ba31275826475e' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/lists/proveedores.tpl',
|
|
||||||
1 => 1410130460,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '49745566054243361d90119-06469866',
|
|
||||||
'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);?>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 12:45:13
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-producto-subcategoria.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:7682909655363d9a9680327-24557672%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'47be09547b46a792b6dcbc15e5073bf65c1153bc' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/editar-producto-subcategoria.tpl',
|
|
||||||
1 => 1375965274,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '7682909655363d9a9680327-24557672',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmEditarSubcategoria" id="frmEditarSubcategoria" method="post" action="">
|
|
||||||
<input type="hidden" name="type" value="saveEditSubcategory" />
|
|
||||||
<input type="hidden" name="prodSubcatId" value="<?php echo $_smarty_tpl->getVariable('info')->value['prodSubcatId'];?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre:</div>
|
|
||||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
|
|
||||||
"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Atributos:</div>
|
|
||||||
<div class="r">
|
|
||||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
||||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
||||||
$_from = $_smarty_tpl->getVariable('atributos')->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="checkbox" name="atributos[]" id="atributo_<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
|
|
||||||
" value="<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
|
|
||||||
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?> />
|
|
||||||
<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
<?php }} else { ?>
|
|
||||||
<div align="center">Ningún registro encontrado.</div>
|
|
||||||
<?php } ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:09:15
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/cuentas-pagos.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:10192975265361121be58a13-37472991%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'47eb0f598efd688c8328869cbb44f699a03e5b2c' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/cuentas-pagos.tpl',
|
|
||||||
1 => 1375965426,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '10192975265361121be58a13-37472991',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="subTbl">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-pagos-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);?>
|
|
||||||
|
|
||||||
<tbody>
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-pagos-base.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);?>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 11:08:40
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/pedidos-header.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:3558535361200822da05-10240722%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'4a03735c56d3358063d888d84f5f9b0bd16e2e27' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/pedidos-header.tpl',
|
|
||||||
1 => 1375965386,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '3558535361200822da05-10240722',
|
|
||||||
'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">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="80"><div align="center">Status</div></th>
|
|
||||||
<th width="60"><div align="center">No. Pedido</div></th>
|
|
||||||
<th width=""><div align="center">Proveedor</div></th>
|
|
||||||
<th width="80"><div align="center">Costo Compra</div></th>
|
|
||||||
<th width="80"><div align="center">Precio Venta</div></th>
|
|
||||||
<th width="60"><div align="center">Utilidad</div></th>
|
|
||||||
<th width="60"><div align="center">Método de Compra</div></th>
|
|
||||||
<th width="70"><div align="center">Fecha Pedido</div></th>
|
|
||||||
<th width="70"><div align="center">Fecha Entrega</div></th>
|
|
||||||
<th width="1"><div align="center"></div></th>
|
|
||||||
<th width="60"><div align="center">Acciones</div></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2015-02-26 16:04:12
|
|
||||||
compiled from "/var/www/html/templates/boxes/editar-proveedor-popup.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:78586889954ef985c9bd866-05021983%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'4b14e458447f90ecc12f0c3e3a32d62738a01543' =>
|
|
||||||
array (
|
|
||||||
0 => '/var/www/html/templates/boxes/editar-proveedor-popup.tpl',
|
|
||||||
1 => 1410130448,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '78586889954ef985c9bd866-05021983',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div class="popupheader" style="z-index:70">
|
|
||||||
<div id="fviewmenu" style="z-index:70">
|
|
||||||
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/b_disn.png" border="0" alt="close" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ftitl">
|
|
||||||
<div class="flabel">Editar Proveedor</div>
|
|
||||||
<div id="vtitl"><span title="Titulo">Editar Proveedor</span></div>
|
|
||||||
</div>
|
|
||||||
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
|
|
||||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
||||||
/images/draganddrop.png" border="0" alt="mueve" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/editar-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);?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 17:58:05
|
|
||||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-atributo-valor.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:156108628253617ffd6a86f6-22191396%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
||||||
$_smarty_tpl->decodeProperties(array (
|
|
||||||
'file_dependency' =>
|
|
||||||
array (
|
|
||||||
'4b9c8887d1e36d97534ff205d80118a7a00e13ce' =>
|
|
||||||
array (
|
|
||||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-atributo-valor.tpl',
|
|
||||||
1 => 1375965245,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'nocache_hash' => '156108628253617ffd6a86f6-22191396',
|
|
||||||
'function' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'has_nocache_code' => false,
|
|
||||||
)); /*/%%SmartyHeaderCode%%*/?>
|
|
||||||
<div id="divForm">
|
|
||||||
<form name="frmAgregarValor" id="frmAgregarValor" method="post" action="">
|
|
||||||
<input type="hidden" name="type" id="type" value="saveValor" />
|
|
||||||
<input type="hidden" name="atributoId" id="atributoId" value="<?php echo $_smarty_tpl->getVariable('atributoId')->value;?>
|
|
||||||
" />
|
|
||||||
<fieldset>
|
|
||||||
<div class="a">
|
|
||||||
<div class="l">* Nombre:</div>
|
|
||||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="clear:both"></div>
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
* Campos requeridos
|
|
||||||
<div class="formLine" style="text-align:center; padding-left:300px">
|
|
||||||
<a class="button" id="btnSave"><span>Agregar</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-15 14:29:51
|
|
||||||
compiled from "/var/www/html/templates/lists/pedidos-productos.tpl" */ ?>
|
|
||||||
<?php /*%%SmartyHeaderCode:76600938654173e2f7a69c9-95157392%%*/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' => '76600938654173e2f7a69c9-95157392',
|
|
||||||
'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 } ?>
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user