From f3c57e87f18f75f4b526daab9632c9e7160cd7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 22 Dec 2020 09:43:14 +0100 Subject: [PATCH] Set default margin to standard A4 printing --- app/Utils/HtmlEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index 24794f11ca..6dd82e7534 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -92,7 +92,7 @@ class HtmlEngine } $data = []; - $data['$global_margin'] = ['value' => '1cm', 'label' => '']; + $data['$global_margin'] = ['value' => '0cm', 'label' => '']; $data['$tax'] = ['value' => '', 'label' => ctrans('texts.tax')]; $data['$app_url'] = ['value' => $this->generateAppUrl(), 'label' => '']; $data['$from'] = ['value' => '', 'label' => ctrans('texts.from')];