Selaa lähdekoodia

[Backend] Correction creditHistorique, missing argument

prodstable
keun 7 vuotta sitten
vanhempi
commit
82b77e8b55
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. +5
    -1
      common/models/CommandeAuto.php

+ 5
- 1
common/models/CommandeAuto.php Näytä tiedosto

@@ -232,7 +232,11 @@ class CommandeAuto extends \yii\db\ActiveRecord {

if ($commande->getMontant() > 0) {
$commande->creditHistorique(
CreditHistorique::TYPE_PAIEMENT, $commande->getMontant(), $production->id_etablissement, $id_user_action
CreditHistorique::TYPE_PAIEMENT,
$commande->getMontant(),
$production->id_etablissement,
$commande->id_user,
$id_user_action
);
}
}

Loading…
Peruuta
Tallenna