Debug
This commit is contained in:
parent
8184ced124
commit
851f258345
1 changed files with 20 additions and 20 deletions
40
vendor/model/FinancialMovements.class.php
vendored
40
vendor/model/FinancialMovements.class.php
vendored
|
|
@ -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 ";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue