From 11b01e138bd2c7b482d80e6803b1dc05ba056d53 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Mon, 4 Aug 2025 18:38:47 -0300 Subject: [PATCH] Debug --- vendor/model/FinancialEntries.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vendor/model/FinancialEntries.class.php b/vendor/model/FinancialEntries.class.php index 3dd946f..3e10894 100644 --- a/vendor/model/FinancialEntries.class.php +++ b/vendor/model/FinancialEntries.class.php @@ -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);