mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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;
|
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) {
|
if (! $invoice) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user