Primer commit del sistema avantika sin cambios
This commit is contained in:
246
templates/menus/main.tpl
Executable file
246
templates/menus/main.tpl
Executable file
@@ -0,0 +1,246 @@
|
||||
<div id="menu">
|
||||
<ul class="group" id="menu_group_main">
|
||||
|
||||
<li class="item first" id="one">
|
||||
<a href="{$WEB_ROOT}" class="main
|
||||
{if $page == "homepage"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner dashboard">Inicio</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "direccion" || $Usr.type == "compras" || $Usr.type == "almacen" || $Usr.type == "gerente" || $Usr.type == "centralizador"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/{if $Usr.type == "compras"}productos{else}usuarios{/if}" class="main
|
||||
{if $page == "datos-generales" ||
|
||||
$page == "usuarios" ||
|
||||
$page == "usuarios-agregar" ||
|
||||
$page == "usuarios-editar" ||
|
||||
$page == "usuarios-detalles" ||
|
||||
$page == "atributos" ||
|
||||
$page == "metodos-pago" ||
|
||||
$page == "clientes" ||
|
||||
$page == "temporadas" ||
|
||||
$page == "tallas" ||
|
||||
$page == "colores" ||
|
||||
$page == "materiales" ||
|
||||
$page == "composiciones" ||
|
||||
$page == "motivos" ||
|
||||
$page == "productos" ||
|
||||
$page == "proveedores" ||
|
||||
$page == "productos-agregar" ||
|
||||
$page == "productos-editar" ||
|
||||
$page == "productos-detalles" ||
|
||||
$page == "productos-categorias" ||
|
||||
$page == "productos-subcategorias" ||
|
||||
$page == "productos-duplicados" ||
|
||||
$page == "conjunto-tallas" ||
|
||||
$page == "promociones" ||
|
||||
$page == "monederos" ||
|
||||
$page == "bancos"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner catalogos">Catálogos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type != "gerente" && $Usr.type != "vendedor" && $Usr.type != "cajero" && $Usr.type != "facturacion" && $Usr.type != "cliente" && $Usr.type != "supervisor"}
|
||||
<li class="item middle" id="two">
|
||||
<a href="{$WEB_ROOT}/pedidos" class="main
|
||||
{if $page == "pedidos" ||
|
||||
$page == "pedidos-agregar" ||
|
||||
$page == "pedidos-editar" ||
|
||||
$page == "pedidos-detalles" ||
|
||||
$page == "pedidos-aprobados" ||
|
||||
$page == "pedidos-rechazados" ||
|
||||
$page == "pedidos-rechazar" ||
|
||||
$page == "pedidos-revivir" ||
|
||||
$page == "cuentas-pagar" ||
|
||||
$page == "cuentas-pagar-saldos" ||
|
||||
$page == "bonificaciones" ||
|
||||
$page == "bonificaciones-agregar" ||
|
||||
$page == "conciliaciones" ||
|
||||
$page == "devoluciones-cedis" ||
|
||||
$page == "devoluciones-cedis-detalles" ||
|
||||
$page == "devoluciones-cedis-agregar" ||
|
||||
$page == "bonificaciones-pendientes" ||
|
||||
$page == "pedidos-aprobar"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner compras">Compras</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" || $Usr.type == "vendedor" || $Usr.type == "cajero" || $Usr.type == "centralizador"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/inventario" class="main
|
||||
{if $page == "inventario" ||
|
||||
$page == "inventario-wizard" ||
|
||||
$page == "inventario-detalles" ||
|
||||
$page == "inventario-solicitar" ||
|
||||
$page == "inventario-solicitar-agregar" ||
|
||||
$page == "inventario-solicitar-detalles" ||
|
||||
$page == "inventario-bloqueados-detalles" ||
|
||||
$page == "inventario-bloqueados"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "supervisor"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/inventario-fisico" class="main
|
||||
{if $page == "inventario-fisico" ||
|
||||
$page == "inventario-fisico-detalles" ||
|
||||
$page == "inventario-fisico-agregar"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "compras"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/inventario-solicitar" class="main
|
||||
{if $page == "inventario-solicitar" ||
|
||||
$page == "inventario-solicitar-detalles" ||
|
||||
$page == "inventario-solicitar-agregar"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "almacen"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/inventario-wizard-list" class="main
|
||||
{if $page == "inventario-wizard" ||
|
||||
$page == "inventario-wizprods" ||
|
||||
$page == "inventario-wizard-list" ||
|
||||
$page == "inventario-wizard2" ||
|
||||
$page == "inventario-wizprods2" ||
|
||||
$page == "inventario-wizard-list2" ||
|
||||
$page == "inventario-ajustar" ||
|
||||
$page == "inventario-ajustar-list" ||
|
||||
$page == "inventario-fisico" ||
|
||||
$page == "inventario-fisico-detalles" ||
|
||||
$page == "inventario-fisico-agregar"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner inventario">Inventario</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" || $Usr.type == "cajero" || $Usr.type == "centralizador" || $Usr.type == "admin"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/ventas" class="main
|
||||
{if $page == "ventas" ||
|
||||
$page == "ventas-nueva" ||
|
||||
$page == "ventas-espera" ||
|
||||
$page == "devoluciones" ||
|
||||
$page == "ventas-bloqueados"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner ventas">Ventas</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" || $Usr.type == "cajero"}
|
||||
<li class="item" id="two">
|
||||
<a href="javascript:void(0)" class="main" onclick="AddNewVtaDiv()">
|
||||
<span class="outer">
|
||||
<span class="inner ventas2">Nueva Venta</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "direccion" || $Usr.type == "almacen" || $Usr.type == "gerente" || $Usr.type == "compras" || $Usr.type == "centralizador"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/{if $Usr.type == "compras"}envios-tienda{else}envios{/if}" class="main
|
||||
{if $page == "envios" ||
|
||||
$page == "envios-reporte" ||
|
||||
$page == "envios-recibir" ||
|
||||
$page == "envios-recibir-reporte" ||
|
||||
$page == "envios-detalles" ||
|
||||
$page == "envios-tienda" ||
|
||||
$page == "envios-tienda-detalles" ||
|
||||
$page == "envios-tienda-agregar" ||
|
||||
$page == "envios-traspasos" ||
|
||||
$page == "envios-transito" ||
|
||||
$page == "envios-cedis-agregar"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner envios">Envíos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "facturacion" || $Usr.type == "gerente"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/facturacion" class="main
|
||||
{if $page == "facturacion" ||
|
||||
$page=="facturacion" ||
|
||||
$page=="facturacion-nueva" ||
|
||||
$page=="facturacion-certificado" ||
|
||||
$page=="facturacion-folios"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner facturacion">Facturación</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "gerente" || $Usr.type == "almacen" || $Usr.type == "centralizador" || $Usr.type == "direccion" || $Usr.type == "facturacion" || $Usr.type == "compras" || $Usr.type == "supervisor"}
|
||||
<li class="item last" id="two">
|
||||
<a href="{$WEB_ROOT}/reportes-ventas" class="main
|
||||
{if $page == "reportes-ventas"
|
||||
|| $page == "reportes-compras"
|
||||
|| $page == "reportes-cuentaspagar"
|
||||
|| $page == "reportes-cuentascobrar"
|
||||
|| $page == "reportes-inventario"
|
||||
|| $page == "reportes-invparcial"
|
||||
|| $page == "reportes-invparcial-detalles"
|
||||
|| $page == "reportes-tickets"
|
||||
|| $page == "reportes-faltantes"
|
||||
|| $page == "reportes-devcedis"
|
||||
|| $page == "analisis-venta"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner reportes">Reportes</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $Usr.type == "cliente"}
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/facturas-listado" class="main
|
||||
{if $page == "facturas-listado"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner facturacion">Facturas</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="item" id="two">
|
||||
<a href="{$WEB_ROOT}/facturas-datos" class="main
|
||||
{if $page == "facturas-datos"}current{/if}">
|
||||
<span class="outer">
|
||||
<span class="inner customer">Mis Datos</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
542
templates/menus/submenu.tpl
Executable file
542
templates/menus/submenu.tpl
Executable file
@@ -0,0 +1,542 @@
|
||||
{if $page == "homepage"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}" {if $page == "homepage"} class="current"{/if}>
|
||||
<span>Principal</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if ($page == "usuarios" || $page == "productos-duplicados") && $Usr.type == "gerente"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/usuarios" {if $page == "usuarios" ||
|
||||
$page == "usuarios-agregar" ||
|
||||
$page == "usuarios-editar" ||
|
||||
$page == "usuarios-detalles"}class="current"{/if}>
|
||||
<span>Usuarios</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/productos-duplicados" {if $page == "productos-duplicados"}class="current"{/if}>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{elseif $page == "datos-generales" ||
|
||||
$page == "atributos" ||
|
||||
$page == "usuarios" ||
|
||||
$page == "usuarios-agregar" ||
|
||||
$page == "usuarios-editar" ||
|
||||
$page == "usuarios-detalles" ||
|
||||
$page == "metodos-pago" ||
|
||||
$page == "clientes" ||
|
||||
$page == "proveedores" ||
|
||||
$page == "temporadas" ||
|
||||
$page == "tallas" ||
|
||||
$page == "colores" ||
|
||||
$page == "materiales" ||
|
||||
$page == "motivos" ||
|
||||
$page == "productos" ||
|
||||
$page == "productos-agregar" ||
|
||||
$page == "productos-editar" ||
|
||||
$page == "productos-detalles" ||
|
||||
$page == "productos-categorias" ||
|
||||
$page == "productos-subcategorias" ||
|
||||
$page == "productos-duplicados" ||
|
||||
$page == "conjunto-tallas" ||
|
||||
$page == "promociones" ||
|
||||
$page == "monederos" ||
|
||||
$page == "cuentas-bancarias" ||
|
||||
$page == "bonificacion-devolucion" ||
|
||||
$page == "comisiones"}
|
||||
<ul>
|
||||
{if $Usr.type != "compras"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/usuarios" {if $page == "usuarios" ||
|
||||
$page == "usuarios-agregar" ||
|
||||
$page == "usuarios-editar" ||
|
||||
$page == "usuarios-detalles"}class="current"{/if}>
|
||||
<span>Usuarios</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/metodos-pago" {if $page == "metodos-pago"}class="current"{/if}>
|
||||
<span>Métodos de Pago</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/clientes" {if $page == "clientes"}class="current"{/if}>
|
||||
<span>Clientes</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/proveedores" {if $page == "proveedores"}class="current"{/if}>
|
||||
<span>Proveedores</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/productos" {if $page == "productos" ||
|
||||
$page == "productos-agregar" ||
|
||||
$page == "productos-editar" ||
|
||||
$page == "productos-detalles" ||
|
||||
$page == "productos-categorias" ||
|
||||
$page == "productos-subcategorias"}class="current"{/if}>
|
||||
<span>Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/temporadas" {if $page == "temporadas"}class="current"{/if}>
|
||||
<span>Temporadas</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/materiales" {if $page == "materiales"}class="current"{/if}>
|
||||
<span>Materiales</span>
|
||||
</a>
|
||||
</li>
|
||||
{if $Usr.type != "compras"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/cuentas-bancarias" {if $page == "cuentas-bancarias"}class="current"{/if}>
|
||||
<span>Cuentas Bancarias</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/atributos" {if $page == "atributos" ||
|
||||
$page == "conjunto-tallas" ||
|
||||
$page == "atributos-valores"} class="current"{/if}>
|
||||
<span>Atributos</span>
|
||||
</a>
|
||||
</li>
|
||||
{if $Usr.type != "compras"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/datos-generales" {if $page == "datos-generales"} class="current"{/if}>
|
||||
<span>Mi Empresa</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if $Usr.type == "compras"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/productos-duplicados" {if $page == "productos-duplicados"} class="current"{/if}>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if $page == "pedidos" ||
|
||||
$page == "pedidos-agregar" ||
|
||||
$page == "pedidos-editar" ||
|
||||
$page == "pedidos-distribucion" ||
|
||||
$page == "pedidos-revivir" ||
|
||||
$page == "cuentas-pagar" ||
|
||||
$page == "cuentas-pagar-saldos" ||
|
||||
$page == "evaluar-pedidos" ||
|
||||
$page == "conciliaciones" ||
|
||||
$page == "devoluciones-cedis" ||
|
||||
$page == "devoluciones-cedis-detalles" ||
|
||||
$page == "devoluciones-cedis-agregar" ||
|
||||
$page == "bonificaciones-pendientes" ||
|
||||
$page == "bonificaciones" ||
|
||||
$page == "bonificaciones-agregar" ||
|
||||
$page == "pedidos-detalles"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/pedidos" {if $page == "pedidos"} class="current"{/if}>
|
||||
<span>Pedidos</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "almacen"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/cuentas-pagar" {if $page == "cuentas-pagar"} class="current"{/if}>
|
||||
<span>Cuentas por Pagar</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/bonificaciones" {if $page == "bonificaciones" || $page == "bonificaciones-agregar"} class="current"{/if}>
|
||||
<span>Bonificaciones/Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "direccion"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/bonificaciones" {if $page == "bonificaciones" || $page == "bonificaciones-agregar"} class="current"{/if}>
|
||||
<span>Bonificaciones/Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "compras" || $Usr.type == "direccion" || $Usr.type == "almacen"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/devoluciones-cedis" {if $page == "devoluciones-cedis" || $page == "devoluciones-cedis-agregar" || $page == "devoluciones-cedis-detalles"} class="current"{/if}>
|
||||
<span>Devoluciones a CEDIS</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "direccion"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/cuentas-pagar" {if $page == "cuentas-pagar"} class="current"{/if}>
|
||||
<span>Cuentas por Pagar</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "direccion"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/cuentas-pagar-saldos" {if $page == "cuentas-pagar-saldos"} class="current"{/if}>
|
||||
<span>Cuentas por Pagar Saldos</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if $page == "envios" ||
|
||||
$page == "envios-cedis-agregar" ||
|
||||
$page == "envios-recibir" ||
|
||||
$page == "envios-recibir-reporte" ||
|
||||
$page == "envios-reporte" ||
|
||||
$page == "envios-tienda" ||
|
||||
$page == "envios-tienda-detalles" ||
|
||||
$page == "envios-tienda-agregar" ||
|
||||
$page == "envios-detalles" ||
|
||||
$page == "envios-traspasos" ||
|
||||
$page == "envios-transito" ||
|
||||
$page == "envios-tienda-cedis"}
|
||||
<ul>
|
||||
{if $Usr.type != "compras"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios" {if $page == "envios" ||
|
||||
$page == "envios-cedis-agregar" ||
|
||||
$page == "envios-detalles" ||
|
||||
$page == "envios-recibir"}class="current"{/if}>
|
||||
<span>CEDIS - Tienda</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios-tienda" {if $page == "envios-tienda" ||
|
||||
$page == "envios-tienda-agregar" ||
|
||||
$page == "envios-tienda-detalles"} class="current"{/if}>
|
||||
<span>Tienda - Tienda</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{if $Usr.type == "almacen" || $Usr.type == "gerente"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios-tienda-cedis" {if $page == "envios-tienda-cedis"} class="current"{/if}>
|
||||
<span>Tienda - CEDIS</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios-reporte" {if $page == "envios-reporte"} class="current"{/if}>
|
||||
<span>Reporte de Envíos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios-traspasos" {if $page == "envios-traspasos"} class="current"{/if}>
|
||||
<span>Relación de Traspasos</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "gerente" || $Usr.type == "admin" || $Usr.type == "almacen"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios-recibir-reporte" {if $page == "envios-recibir-reporte"} class="current"{/if}>
|
||||
<span>Rep. Merc. Faltante y Sobrante</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "almacen"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/envios-transito" {if $page == "envios-transito"} class="current"{/if}>
|
||||
<span>Productos en Tránsito</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if $page == "reportes-ventas" ||
|
||||
$page == "reportes-compras" ||
|
||||
$page == "reportes-cuentaspagar" ||
|
||||
$page == "reportes-cuentascobrar" ||
|
||||
$page == "reportes-inventario" ||
|
||||
$page == "reportes-invparcial" ||
|
||||
$page == "reportes-invparcial-detalles" ||
|
||||
$page == "analisis-venta" ||
|
||||
$page == "reportes-devcedis" ||
|
||||
$page == "reportes-tickets" ||
|
||||
$page == "reportes-faltantes"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-ventas" {if $page == "reportes-ventas"}class="current"{/if}>
|
||||
<span>Ventas</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{*}
|
||||
{if $Usr.type == "admin"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-compras" {if $page == "reportes-compras"}class="current"{/if}>
|
||||
<span>Compras</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-cuentaspagar" {if $page == "reportes-cuentaspagar"}class="current"{/if}>
|
||||
<span>Cuentas por pagar</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-cuentascobrar" {if $page == "reportes-cuentascobrar"}class="current"{/if}>
|
||||
<span>Cuentas por cobrar</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{*}
|
||||
|
||||
{if $Usr.type == "admin" || $Usr.type == "centralizador" || $Usr.type == "direccion" || $Usr.type == "compras" || $Usr.type == "supervisor"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-tickets" {if $page == "reportes-tickets"}class="current"{/if}>
|
||||
<span>Tickets</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-inventario" {if $page == "reportes-inventario"}class="current"{/if}>
|
||||
<span>Inventario</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-faltantes" {if $page == "reportes-faltantes"}class="current"{/if}>
|
||||
<span>Faltantes</span>
|
||||
</a>
|
||||
</li>
|
||||
{if $Usr.type == "admin"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-invparcial" {if $page == "reportes-invparcial" || $page == "reportes-invparcial-detalles"}class="current"{/if}>
|
||||
<span>Inventario Total/Parcial</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/reportes-devcedis" {if $page == "reportes-devcedis"}class="current"{/if}>
|
||||
<span>Devoluciones a CEDIS</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/analisis-venta" {if $page == "analisis-venta"}class="current"{/if}>
|
||||
<span>Análisis de Venta</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $page == "inventario" ||
|
||||
$page == "inventario-detalles" ||
|
||||
$page == "inventario-wizard" ||
|
||||
$page == "inventario-wizard2" ||
|
||||
$page == "inventario-wizprods" ||
|
||||
$page == "inventario-wizprods2" ||
|
||||
$page == "inventario-wizard-list" ||
|
||||
$page == "inventario-wizard-list2" ||
|
||||
$page == "inventario-liberar" ||
|
||||
$page == "inventario-ajustar" ||
|
||||
$page == "inventario-ajustar-list" ||
|
||||
$page == "inventario-solicitar" ||
|
||||
$page == "inventario-solicitar-agregar" ||
|
||||
$page == "inventario-solicitar-detalles" ||
|
||||
$page == "inventario-fisico" ||
|
||||
$page == "inventario-fisico-agregar" ||
|
||||
$page == "inventario-fisico-detalles" ||
|
||||
$page == "inventario-detalles-bloqueados" ||
|
||||
$page == "inventario-bloqueados"}
|
||||
<ul>
|
||||
{if $Usr.type == "admin" || $Usr.type == "almacen"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-wizard-list" {if $page == "inventario-wizard" || $page == "inventario-wizard-list" || $page == "inventario-wizprods"} class="current"{/if}>
|
||||
<span>Ajustar Inv. con Excel.</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-wizard-list2" {if $page == "inventario-wizard2" || $page == "inventario-wizard-list2" || $page == "inventario-wizprods2"} class="current"{/if}>
|
||||
<span>Ajustar Inv. PARCIAL con Excel</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-bloqueados" {if $page == "inventario-bloqueados"} class="current"{/if}>
|
||||
<span>Productos Bloqueados</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
{if $Usr.type == "almacen"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario" {if $page == "inventario"}class="current"{/if}>
|
||||
<span>Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{elseif $Usr.type == "supervisor"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-fisico" {if $page == "inventario-fisico" || $page == "inventario-fisico-agregar" || $page == "inventario-fisico-detalles"}class="current"{/if}>
|
||||
<span>Inventario Físico</span>
|
||||
</a>
|
||||
</li>
|
||||
{elseif $Usr.type == "compras"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-solicitar" {if $page == "inventario-solicitar" || $page == "inventario-solicitar-agregar" || $page == "inventario-solicitar-detalles"} class="current"{/if}>
|
||||
<span>Solicitar Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
{else}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario" {if $page == "inventario"}class="current"{/if}>
|
||||
<span>Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
{if $Usr.type != "centralizador"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-bloqueados" {if $page == "inventario-bloqueados"} class="current"{/if}>
|
||||
<span>Productos Bloqueados</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if $Usr.type == "gerente"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-wizard-list" {if $page == "inventario-wizard" || $page == "inventario-wizard-list" || $page == "inventario-wizprods"} class="current"{/if}>
|
||||
<span>Ajustar Inv. con Excel.</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-wizard-list2" {if $page == "inventario-wizard2" || $page == "inventario-wizard-list2" || $page == "inventario-wizprods2"} class="current"{/if}>
|
||||
<span>Ajustar Inv. PARCIAL con Excel</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-liberar" {if $page == "inventario-liberar"} class="current"{/if}>
|
||||
<span>Liberar Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-solicitar" {if $page == "inventario-solicitar" || $page == "inventario-solicitar-agregar" || $page == "inventario-solicitar-detalles"} class="current"{/if}>
|
||||
<span>Solicitar Productos</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $Usr.type == "admin"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-ajustar-list" {if $page == "inventario-ajustar" || $page == "inventario-ajustar-list"} class="current"{/if}>
|
||||
<span>Ajustar Inv. por Prod.</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/inventario-fisico" {if $page == "inventario-fisico" || $page == "inventario-fisico-agregar" || $page == "inventario-fisico-detalles"}class="current"{/if}>
|
||||
<span>Inventario Físico</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if $page == "ventas" ||
|
||||
$page == "ventas-nueva" ||
|
||||
$page == "ventas-espera" ||
|
||||
$page == "devoluciones" ||
|
||||
$page == "descuentos" ||
|
||||
$page == "ventas-bloqueados"}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/ventas" {if $page == "ventas"}class="current"{/if}>
|
||||
<span>Listado</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{if $Usr.type == "centralizador"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/devoluciones" {if $page == "devoluciones"}class="current"{/if}>
|
||||
<span>Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $Usr.type != "facturacion" && $Usr.type != "centralizador" && $Usr.type != "admin"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/devoluciones" {if $page == "devoluciones"}class="current"{/if}>
|
||||
<span>Devoluciones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/descuentos" {if $page == "descuentos"}class="current"{/if}>
|
||||
<span>Descuentos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/ventas-espera" {if $page == "ventas-espera"}class="current"{/if}>
|
||||
<span>En Espera</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if $page == "facturacion" ||
|
||||
$page == "facturacion-mensual" ||
|
||||
$page == "facturacion-folios" ||
|
||||
$page == "facturacion-certificado" ||
|
||||
$page == "facturacion-nueva"}
|
||||
<ul>
|
||||
{if $Usr.type == "facturacion" || $Usr.type == "gerente"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/facturacion" {if $page == "facturacion"}class="current"{/if}>
|
||||
<span>Listado</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/facturacion-mensual" {if $page == "facturacion-mensual"}class="current"{/if}>
|
||||
<span>Facturación Mensual</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if $Usr.type == "facturacion"}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/facturacion-folios" {if $page == "facturacion-folios"}class="current"{/if}>
|
||||
<span>Folios</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/facturacion-certificado" {if $page == "facturacion-certificado"}class="current"{/if}>
|
||||
<span>Actualizar Certificado</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
34
templates/menus/submenu2.tpl
Executable file
34
templates/menus/submenu2.tpl
Executable file
@@ -0,0 +1,34 @@
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/motivos" {if $page == "motivos"} class="current"{/if}>
|
||||
<span>Motivos Rechazo</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/promociones" {if $page == "promociones"} class="current"{/if}>
|
||||
<span>Promociones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/bonificacion-devolucion" {if $page == "bonificacion-devolucion"} class="current"{/if}>
|
||||
<span>Politicas B/D</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/comisiones" {if $page == "comisiones"} class="current"{/if}>
|
||||
<span>Comisiones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/productos-duplicados" {if $page == "productos-duplicados"} class="current"{/if}>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
{*}
|
||||
<li>
|
||||
<a href="{$WEB_ROOT}/monederos" {if $page == "monederos"} class="current"{/if}>
|
||||
<span>Mon. Elec. / Tarj. de Prepago</span>
|
||||
</a>
|
||||
</li>
|
||||
{*}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user