This commit is contained in:
Kenio 2025-08-04 18:38:47 -03:00
parent 1df776b5bb
commit 11b01e138b

View file

@ -297,7 +297,7 @@ class FinancialEntries
/** Parametros */
$this->financialEntriesId = $financialEntriesId;
echo $this->companyId = $companyId > 0 ? $companyId : null;
$this->companyId = $companyId > 0 ? $companyId : null;
$this->companiesBudgetsId = $companiesBudgetsId;
$this->description = $description;
$this->fixed = $fixed;
@ -309,7 +309,6 @@ class FinancialEntries
$this->active = $active;
$this->financialCategoriesId = $financialCategoriesId;
$this->reference = $reference;
exit;
/** Verifica se o ID do registro foi informado */
@ -427,7 +426,6 @@ class FinancialEntries
financial_entries_id,
user_id,
company_id,
company_id,
companies_budgets_id,
description,
movement_value,
@ -437,7 +435,6 @@ class FinancialEntries
:financial_entries_id,
:user_id,
:company_id,
:company_id,
:companies_budgets_id,
:description,
:movement_value,
@ -453,7 +450,6 @@ class FinancialEntries
$this->stmt->bindParam('company_id', $this->companyId);/** Informa a qual empresa pertence o cliente */
$this->stmt->bindParam('financial_accounts_id', $this->financialAccountsId);
$this->stmt->bindParam('financial_entries_id', $this->lastEntriesId);
$this->stmt->bindParam('company_id', $this->companyId);
$this->stmt->bindParam('companies_budgets_id', $this->companiesBudgetsId);
$this->stmt->bindParam('description', $this->next);
$this->stmt->bindParam('movement_value', $this->entrieValue);