Sfoglia il codice sorgente

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

refactoring
parent
commit
41d4a5aa61
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

@@ -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…
Annulla
Salva