mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Fix for invoice link from quote
This commit is contained in:
parent
d9c031debb
commit
da50fc400c
@ -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…
Reference in New Issue
Block a user