Primer commit del sistema avantika sin cambios
This commit is contained in:
15
modules/temporadas.php
Executable file
15
modules/temporadas.php
Executable file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
$empresa->AuthUser();
|
||||
|
||||
if($Usr['type'] != 'admin' && $Usr['type'] != 'direccion' && $Usr['type'] != 'compras' && $Usr['type'] != 'almacen' && $Usr['type'] != 'centralizador'){
|
||||
header('Location: '.WEB_ROOT);
|
||||
exit;
|
||||
}
|
||||
|
||||
$temporada->SetPage($_GET["p"]);
|
||||
$temporadas = $temporada->Enumerate();
|
||||
|
||||
$smarty->assign('temporadas', $temporadas);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user