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 | |||||
); | ); | ||||
} | } | ||||
} | } |