Naming consistance and SESSION issue
This commit is contained in:
@@ -19,7 +19,7 @@ class CompanySettingManager
|
||||
{
|
||||
private PDO $pdo;
|
||||
private ?PDO $transactionPdo;
|
||||
private int $companyId;
|
||||
private int $company_id;
|
||||
|
||||
// ── Known keys with their defaults ───────────────────────────────────────
|
||||
private const DEFAULTS = [
|
||||
@@ -32,11 +32,11 @@ class CompanySettingManager
|
||||
'location_label_aisle' => 'Aisle', // advanced level 2 default
|
||||
];
|
||||
|
||||
public function __construct(PDO $pdo, int $companyId, ?PDO $transactionPdo = null)
|
||||
public function __construct(PDO $pdo, int $company_id, ?PDO $transactionPdo = null)
|
||||
{
|
||||
$this->pdo = $pdo;
|
||||
$this->transactionPdo = $transactionPdo;
|
||||
$this->companyId = $companyId;
|
||||
$this->companyId = $company_id;
|
||||
}
|
||||
|
||||
// ─────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user