From eb5ad3a4eaefb10c534882235e9910525b46cfa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 22 Dec 2020 13:55:40 +0100 Subject: [PATCH] html engine, new $product1-4 variables --- app/Utils/HtmlEngine.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index 6dd82e753438..5d733fbe9013 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -307,6 +307,10 @@ class HtmlEngine $data['$product.line_total'] = ['value' => '', 'label' => ctrans('texts.line_total')]; $data['$product.description'] = ['value' => '', 'label' => ctrans('texts.description')]; $data['$product.unit_cost'] = ['value' => '', 'label' => ctrans('texts.unit_cost')]; + $data['$product.product1'] = ['value' => '', 'label' => $this->makeCustomField('product1')]; + $data['$product.product2'] = ['value' => '', 'label' => $this->makeCustomField('product2')]; + $data['$product.product3'] = ['value' => '', 'label' => $this->makeCustomField('product3')]; + $data['$product.product4'] = ['value' => '', 'label' => $this->makeCustomField('product4')]; $data['$task.date'] = ['value' => '', 'label' => ctrans('texts.date')]; $data['$task.discount'] = ['value' => '', 'label' => ctrans('texts.discount')];