This commit is contained in:
Kenio 2025-08-04 18:35:03 -03:00
parent 565a508e55
commit 1df776b5bb

View file

@ -297,7 +297,7 @@ class FinancialEntries
/** Parametros */
$this->financialEntriesId = $financialEntriesId;
$this->companyId = $companyId > 0 ? $companyId : null;
echo $this->companyId = $companyId > 0 ? $companyId : null;
$this->companiesBudgetsId = $companiesBudgetsId;
$this->description = $description;
$this->fixed = $fixed;
@ -309,6 +309,7 @@ class FinancialEntries
$this->active = $active;
$this->financialCategoriesId = $financialCategoriesId;
$this->reference = $reference;
exit;
/** Verifica se o ID do registro foi informado */
@ -335,7 +336,7 @@ class FinancialEntries
/** Preencho os parâmetros do SQL */
$this->stmt->bindParam('financial_entries_id', $this->financialEntriesId);
echo $this->stmt->bindParam('company_id', $this->companyId);
$this->stmt->bindParam('company_id', $this->companyId);
$this->stmt->bindParam('financial_accounts_id', $this->financialAccountsId);
$this->stmt->bindParam('financial_categories_id', $this->financialCategoriesId);
$this->stmt->bindParam('description', $this->description);