This commit is contained in:
Kenio 2025-12-17 08:14:10 -03:00
parent 8184ced124
commit 851f258345

View file

@ -1265,31 +1265,31 @@ class FinancialMovements
if($this->movementUserConfirmed > 0){
/** Consulta SQL */
$this->sql = "update financial_movements set movement_date_paid = :movement_date_paid,
movement_value_paid = :movement_value_paid,
note = :note,
movement_value_fees = :movement_value_fees,
movement_value_registration_tariff = :movement_value_registration_tariff,
movement_value_settlement_tariff = :movement_value_settlement_tariff,
movement_date_update = CURRENT_TIMESTAMP,
user_id_update = :user_id_update
where financial_movements_id = :financial_movements_id ";
echo $this->sql = "update financial_movements set movement_date_paid = :movement_date_paid,
movement_value_paid = :movement_value_paid,
note = :note,
movement_value_fees = :movement_value_fees,
movement_value_registration_tariff = :movement_value_registration_tariff,
movement_value_settlement_tariff = :movement_value_settlement_tariff,
movement_date_update = CURRENT_TIMESTAMP,
user_id_update = :user_id_update
where financial_movements_id = :financial_movements_id ";
} else {
/** Consulta SQL */
$this->sql = "update financial_movements set movement_date_paid = :movement_date_paid,
movement_value_paid = :movement_value_paid,
note = :note,
movement_user_confirmed = :movement_user_confirmed,
movement_value_fees = :movement_value_fees,
movement_value_registration_tariff = :movement_value_registration_tariff,
movement_value_settlement_tariff = :movement_value_settlement_tariff,
status = 2,
movement_date_update = CURRENT_TIMESTAMP,
user_id_update = :user_id_update
where financial_movements_id = :financial_movements_id ";
$this->sql = "update financial_movements set movement_date_paid = :movement_date_paid,
movement_value_paid = :movement_value_paid,
note = :note,
movement_user_confirmed = :movement_user_confirmed,
movement_value_fees = :movement_value_fees,
movement_value_registration_tariff = :movement_value_registration_tariff,
movement_value_settlement_tariff = :movement_value_settlement_tariff,
status = 2,
movement_date_update = CURRENT_TIMESTAMP,
user_id_update = :user_id_update
where financial_movements_id = :financial_movements_id ";
}