@@ -555,7 +555,7 @@ class Order extends ActiveRecordCommon | |||
$creditHistory = new CreditHistory; | |||
$creditHistory->id_user = $idUser; | |||
$creditHistory->id_order = $this->id; | |||
$creditHistory->amount = $amount; | |||
$creditHistory->amount = round($amount, 2); | |||
$creditHistory->type = $type; | |||
$creditHistory->id_producer = $idProducer; | |||
$creditHistory->id_user_action = $idUserAction; |