Atualizando consolidação

This commit is contained in:
Kenio 2025-08-26 17:39:21 -03:00
parent b42d818839
commit 18a14d158b

View file

@ -514,7 +514,7 @@ class FinancialMovements
fm.user_id,
fm.company_id,
fm.companies_budgets_id,
fm.users_id_update,
fm.user_id_update,
fm.description,
fm.movement_value,
fm.movement_value_paid,
@ -1175,7 +1175,7 @@ class FinancialMovements
$this->sql = "update financial_movements set movement_date_scheduled = :movement_date_scheduled,
movement_value = :movement_value,
movement_date_update = CURRENT_TIMESTAMP,
users_id_update = :users_id_update,
user_id_update = :user_id_update,
description = :description,
reference = :reference
where financial_movements_id = :financial_movements_id
@ -1191,7 +1191,7 @@ class FinancialMovements
$this->stmt->bindParam('movement_value', $this->movementValue);
$this->stmt->bindParam('description', $this->description);
$this->stmt->bindParam('reference', $this->reference);
$this->stmt->bindParam('users_id_update', $_SESSION['USERSID']);/** Informa o usuário responsável pela movimentação cadastrada */
$this->stmt->bindParam('user_id_update', $_SESSION['USERSID']);/** Informa o usuário responsável pela movimentação cadastrada */
$this->stmt->bindParam('financial_movements_id', $this->financialMovementsId);
$this->stmt->bindParam('financial_entries_id', $this->financialEntriesId);