Ajuste, aplicando filtro de consulta por conter NF no relatório

This commit is contained in:
Kenio 2025-09-29 10:59:30 -03:00
parent fbcca3e2e5
commit 624e588b6a
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ try{
$_SESSION['USERSID'] = (int)$UsersResult->user_id;
$_SESSION['USERSACLID'] = (int)$UsersResult->users_acl_id;
$_SESSION['USERSEMAIL'] = (string)$UsersResult->email;
$_SESSION['USERSNAMEFIRST'] = $Main->decryptData((string)$UsersResult->name_first);
$_SESSION['USERSNAMEFIRST'] = (string)$UsersResult->nickname;
$_SESSION['USERSACCESSFIRST'] = (string)$UsersResult->access_first;
$_SESSION['USERSACCESSLAST'] = (string)$UsersResult->access_last;

View file

@ -254,8 +254,8 @@ class Users
/** Consulta SQL */
$this->sql = 'select u.user_id,
u.company_id,
u.name_first,
u.name_last,
u.nickname,
u.name,
u.email,
u.password,
u.active,