Pārlūkot izejas kodu

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

dev
Guillaume Bourgeois pirms 5 gadiem
vecāks
revīzija
41d4a5aa61
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      common/models/Order.php

+ 1
- 1
common/models/Order.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt