From bd2e6ea998079e46bc916ec75d186742550bb3fa Mon Sep 17 00:00:00 2001 From: Daniel Stock Date: Tue, 9 Dec 2025 15:11:33 +0100 Subject: [PATCH] Fix wron company address in invoice preview data --- app/Http/Controllers/InvoiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index 7b3f725..af65c72 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -202,7 +202,7 @@ public function preview($id) 'giroCode' => $giroCode, 'totalPages' => 1, 'companyName' => Setting::get('company.name'), - 'companyAddress' => Setting::get('company.address') + 'companyAddress' => json_decode(Setting::get('company.address'), true) ]); }