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