Преглед на файлове

Adaptation du statut de paiement d'une commande en fonction du montant payé

dev
Guillaume Bourgeois преди 5 години
родител
ревизия
41d4a5aa61
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      common/models/Order.php

+ 1
- 1
common/models/Order.php Целия файл

@@ -349,7 +349,7 @@ class Order extends ActiveRecordCommon
{
// payé
if ($this->getAmount() - $this->getAmount(self::AMOUNT_PAID) < 0.01 &&
$this->getAmount() - $this->getAmount(self::AMOUNT_PAID) >= 0)
$this->getAmount() - $this->getAmount(self::AMOUNT_PAID) > -0.01)
{
return self::PAYMENT_PAID ;
}

Loading…
Отказ
Запис