Primer commit del sistema avantika sin cambios
This commit is contained in:
22
modules/reportes-compras.php
Executable file
22
modules/reportes-compras.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
$empresa->AuthUser();
|
||||
if($Usr['type'] != 'admin')
|
||||
{
|
||||
header('Location: '.WEB_ROOT);
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
$reportes->SetPage($_GET["p"]);
|
||||
|
||||
$dateNow=$reportes->dateNow();
|
||||
$smarty->assign("dateNow",$dateNow);
|
||||
if($Usr['type']=="admin")
|
||||
{
|
||||
$smarty->assign("tipo","admin");
|
||||
$resSuc=$reportes->enumsucursales();
|
||||
$resSuc=$util->DecodeUrlResult($resSuc);
|
||||
$smarty->assign("resSuc",$resSuc);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user