246 lines
10 KiB
Smarty
Executable File
246 lines
10 KiB
Smarty
Executable File
<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> |