mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:14:40 -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(),
|
||||
'contact' => $contact,
|
||||
'hasToken' => $client->getGatewayToken(),
|
||||
'countGateways' => AccountGateway::scope()->count(),
|
||||
'countGateways' => AccountGateway::scope(false, $client->account->id)->count(),
|
||||
);
|
||||
|
||||
return View::make('invoices.view', $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user