Fix for Viewing invoice as Guest #250
This commit is contained in:
parent
612a61c595
commit
886fccadfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue