From 536c9c4a8230ea7e808fb8579c9b0881bb735e59 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 23 Jan 2020 09:47:50 +1100 Subject: [PATCH] Fixes for export attributes --- app/Http/Controllers/Migration/StepsController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Migration/StepsController.php b/app/Http/Controllers/Migration/StepsController.php index a7c5b5896a..ca31bdb808 100644 --- a/app/Http/Controllers/Migration/StepsController.php +++ b/app/Http/Controllers/Migration/StepsController.php @@ -108,7 +108,7 @@ class StepsController extends BaseController 'size_id' => $this->account->size_id, 'enable_modules' => $this->account->enabled_modules, 'custom_fields' => $this->account->custom_fields, - 'uses_inclusive_taxes' => $this->account->inclusive_taxes, + //'uses_inclusive_taxes' => $this->account->inclusive_taxes, 'created_at' => $this->account->created_at ? $this->account->created_at->toDateString() : null, 'updated_at' => $this->account->updated_at ? $this->account->updated_at->toDateString() : null, ]; @@ -325,6 +325,7 @@ class StepsController extends BaseController 'footer' => $invoice->invoice_footer, 'public_notes' => $invoice->public_notes, 'private_notes' => $invoice->private_notes, + 'uses_inclusive_taxes' => $this->account->inclusive_taxes, 'terms' => $invoice->terms, 'tax_name1' => $invoice->tax_name1, 'tax_name2' => $invoice->tax_name2,