Sfoglia il codice sorgente

Crédit : problème utilisateurs avec crédit pas arrondi #869

refactoring
Guillaume Bourgeois 1 anno fa
parent
commit
6b85523a44
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      common/models/Order.php

+ 1
- 1
common/models/Order.php Vedi File

@@ -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;

Loading…
Annulla
Salva