Browse Source

[Backend] Correction creditHistorique, missing argument

master
keun 7 years ago
parent
commit
82b77e8b55
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      common/models/CommandeAuto.php

+ 5
- 1
common/models/CommandeAuto.php View File



if ($commande->getMontant() > 0) { if ($commande->getMontant() > 0) {
$commande->creditHistorique( $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…
Cancel
Save