This commit is contained in:
Kenio 2025-08-04 18:27:50 -03:00
parent 9848f84ba3
commit 565a508e55
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ try{
/** Parametros de entrada */
$companiesBudgetsId = isset($_POST['companies_budgets_id']) ? (int)filter_input(INPUT_POST,'companies_budgets_id', FILTER_SANITIZE_SPECIAL_CHARS) : 0;
$companyId = $_SESSION['USERSCOMPANYID'];
/** Controles */
$movementDateScheduled = null;

View file

@ -335,7 +335,7 @@ class FinancialEntries
/** Preencho os parâmetros do SQL */
$this->stmt->bindParam('financial_entries_id', $this->financialEntriesId);
$this->stmt->bindParam('company_id', $this->companyId);
echo $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);