From 39c94fb522f46f2009e140aa0885f11fb3436ae3 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 19 Jan 2018 07:39:13 +0200 Subject: [PATCH] accountAddress not showing in footer #1827 --- app/Http/Controllers/QuoteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/QuoteController.php b/app/Http/Controllers/QuoteController.php index 27eed69b64..238cad710e 100644 --- a/app/Http/Controllers/QuoteController.php +++ b/app/Http/Controllers/QuoteController.php @@ -97,7 +97,7 @@ class QuoteController extends BaseController return [ 'entityType' => ENTITY_QUOTE, - 'account' => $account, + 'account' => Auth::user()->account->load('country'), 'products' => Product::scope()->orderBy('product_key')->get(), 'taxRateOptions' => $account->present()->taxRateOptions, 'clients' => Client::scope()->with('contacts', 'country')->orderBy('name')->get(),