14 lines
402 B
PHP
Executable File
14 lines
402 B
PHP
Executable File
<?php
|
|
|
|
$empresa->AuthUser();
|
|
|
|
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'){
|
|
header('Location: '.WEB_ROOT);
|
|
exit;
|
|
}
|
|
|
|
$showAll = $_GET['showAll'];
|
|
|
|
$smarty->assign('showAll',$showAll);
|
|
|
|
?>
|