Bug fixes
This commit is contained in:
parent
b233aa0744
commit
316284b7e2
2 changed files with 2 additions and 2 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue