mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:44:28 -04:00
Fix for Viewing invoice as Guest #250
This commit is contained in:
parent
612a61c595
commit
886fccadfd
@ -185,7 +185,7 @@ class InvoiceController extends \BaseController
|
|||||||
'invoiceLabels' => $client->account->getInvoiceLabels(),
|
'invoiceLabels' => $client->account->getInvoiceLabels(),
|
||||||
'contact' => $contact,
|
'contact' => $contact,
|
||||||
'hasToken' => $client->getGatewayToken(),
|
'hasToken' => $client->getGatewayToken(),
|
||||||
'countGateways' => AccountGateway::scope()->count(),
|
'countGateways' => AccountGateway::scope(false, $client->account->id)->count(),
|
||||||
);
|
);
|
||||||
|
|
||||||
return View::make('invoices.view', $data);
|
return View::make('invoices.view', $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user