From 81209ea3b6eccb1b9e97438498c17355f80b9846 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Tue, 5 Aug 2025 10:15:10 -0300 Subject: [PATCH] Atualizando --- .../companies_budgets/companies_budgets_financial_entries.php | 2 +- vendor/model/FinancialEntries.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/action/companies_budgets/companies_budgets_financial_entries.php b/vendor/action/companies_budgets/companies_budgets_financial_entries.php index 99adc1b..fc70739 100644 --- a/vendor/action/companies_budgets/companies_budgets_financial_entries.php +++ b/vendor/action/companies_budgets/companies_budgets_financial_entries.php @@ -88,7 +88,7 @@ try{ $next = $FinancialEntriesValidate->getDescription() . ' - '.($i).'/'.$FinancialEntriesValidate->getDuration(); /** Gera a referência da movimentação para gravar no boleto */ - $reference = $Result->financial_movements_id.$Result->reference_client.'-'; + $reference = $Result->financial_movements_id.((int)$Result->reference_client).'-'; /** Atualiza a movimentação */ $FinancialMovements->SaveMovementBudgets($Result->financial_movements_id, diff --git a/vendor/model/FinancialEntries.class.php b/vendor/model/FinancialEntries.class.php index bd063a3..8b834c7 100644 --- a/vendor/model/FinancialEntries.class.php +++ b/vendor/model/FinancialEntries.class.php @@ -494,7 +494,7 @@ class FinancialEntries $this->clientBudgetsResult = $this->GetBudgets($this->companiesBudgetsId); /** Gera a referência da movimentação para gravar no boleto */ - $this->reference = $this->lastid.$this->clientBudgetsResult->reference_client.'-'.($i+1); + $this->reference = $this->lastid.((int)$this->clientBudgetsResult->reference_client).'-'.($i+1); /** Consulta SQL */