diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index c72d28365c7c..6113481d4cb0 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -1608,7 +1608,7 @@ class Invoice extends EntityModel implements BalanceAffecting return false; } - $invoice = static::scope($this->quote_invoice_id)->with('invitations')->first(); + $invoice = static::scope($this->quote_invoice_id, $this->account_id)->with('invitations')->first(); if (! $invoice) { return false;