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