Fix for invoice link from quote
This commit is contained in:
parent
d9c031debb
commit
da50fc400c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue