mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for approving quotes
This commit is contained in:
parent
b13e79ad85
commit
7825378125
@ -79,7 +79,8 @@ class InvoiceService extends BaseService
|
|||||||
|
|
||||||
public function approveQuote($quote, $invitation = null)
|
public function approveQuote($quote, $invitation = null)
|
||||||
{
|
{
|
||||||
$account = Auth::user()->account;
|
$account = $quote->account;
|
||||||
|
|
||||||
if (!$quote->is_quote || $quote->quote_invoice_id) {
|
if (!$quote->is_quote || $quote->quote_invoice_id) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user