diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index 76b21947b29a..b4335aa166db 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -550,7 +550,7 @@ class Invoice extends EntityModel implements BalanceAffecting public function canBePaid() { - return floatval($this->balance) > 0 && ! $this->is_deleted; + return floatval($this->balance) > 0 && ! $this->is_deleted && $this->isInvoice(); } /**