Primer commit del sistema avantika sin cambios
This commit is contained in:
16
modules/reportes-faltantes.php
Executable file
16
modules/reportes-faltantes.php
Executable file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
$empresa->AuthUser();
|
||||
|
||||
if($Usr['type'] != 'admin' && $Usr['type'] != 'centralizador' && $Usr['type'] != 'compras' && $Usr['type'] != 'direccion' && $Usr['type'] != 'supervisor'){
|
||||
header('Location: '.WEB_ROOT);
|
||||
exit;
|
||||
}
|
||||
|
||||
$departamentos = $prodCat->EnumerateAll();
|
||||
$proveedores2 = $reportes->proveedores();
|
||||
|
||||
$smarty->assign('tipo', $Usr['type']);
|
||||
$smarty->assign('proveedores2',$proveedores2);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user