{ | { | ||||
// payé | // payé | ||||
if ($this->getAmount() - $this->getAmount(self::AMOUNT_PAID) < 0.01 && | 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 ; | return self::PAYMENT_PAID ; | ||||
} | } |