Primer commit del sistema avantika sin cambios
This commit is contained in:
23
modules/devoluciones-cedis-agregar.php
Executable file
23
modules/devoluciones-cedis-agregar.php
Executable file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
$empresa->AuthUser();
|
||||
|
||||
if($Usr['type'] != 'admin' && $Usr['type'] != 'compras' && $Usr['type'] != 'direccion' && $Usr['type'] != 'almacen'){
|
||||
header('Location: '.WEB_ROOT);
|
||||
exit;
|
||||
}
|
||||
|
||||
$_SESSION['prodsDevC'] = array();
|
||||
unset($_SESSION['prodsDevC']);
|
||||
|
||||
$info['noDevolucion'] = $devolucion->GetNextNoDevCedis();
|
||||
$info['fecha'] = date('d-m-Y H:i:s');
|
||||
|
||||
$sucursal->setRfcId(1);
|
||||
$resSuc = $sucursal->GetSucursalesByRfc();
|
||||
$sucursales = $util->DecodeUrlResult($resSuc);
|
||||
|
||||
$smarty->assign('sucursales',$sucursales);
|
||||
$smarty->assign('info',$info);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user