Primer commit del sistema avantika sin cambios
This commit is contained in:
20
modules/facturas-datos.php
Executable file
20
modules/facturas-datos.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
if($_SESSION['tipoUsr'] != 'Cliente'){
|
||||
header('Location: '.WEB_ROOT.'/facturas');
|
||||
exit;
|
||||
}
|
||||
|
||||
$clienteId = $_SESSION['loginKey'];
|
||||
|
||||
if($clienteId){
|
||||
$cliente->setClienteId($clienteId);
|
||||
$info = $cliente->Info();
|
||||
}else{
|
||||
$info['clienteId'] = $clienteId;
|
||||
$info['rfc'] = $_SESSION['rfcClte'];
|
||||
}
|
||||
|
||||
$smarty->assign('info',$info);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user