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);