diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index db95b09c8e02..830ab1de081e 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -452,7 +452,7 @@ class Invoice extends BaseModel return false; break; case 'when_sent': - return $this->status_id == self::STATUS_DRAFT; + return $this->status_id == self::STATUS_SENT; break; case 'when_paid': return $this->status_id == self::STATUS_PAID || $this->status_id == self::STATUS_PARTIAL;