1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Bug fixes

This commit is contained in:
Hillel Coren 2016-07-11 23:36:51 +03:00
parent b233aa0744
commit 316284b7e2
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class QuoteController extends BaseController
'taxRateOptions' => $options,
'defaultTax' => $defaultTax,
'countries' => Cache::get('countries'),
'clients' => Client::scope()->viewable()->with('contacts', 'country')->orderBy('name')->get(),
'clients' => Client::scope()->with('contacts', 'country')->orderBy('name')->get(),
'taxRates' => TaxRate::scope()->orderBy('name')->get(),
'currencies' => Cache::get('currencies'),
'sizes' => Cache::get('sizes'),

View File

@ -213,7 +213,7 @@ class TaskController extends BaseController
private static function getViewModel()
{
return [
'clients' => Client::scope()->viewable()->with('contacts')->orderBy('name')->get(),
'clients' => Client::scope()->with('contacts')->orderBy('name')->get(),
'account' => Auth::user()->account,
];
}