From 068a4be41664a167aeb88656110d44fe4948466a Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 15 Aug 2022 09:51:48 +0000 Subject: - Rechnungen Sammel git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8069 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/order/index.phtml | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) (limited to 'views/order/index.phtml') diff --git a/views/order/index.phtml b/views/order/index.phtml index da8a62e..74f6c5b 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -235,7 +235,7 @@
-
+ view['arData']) && sizeof($this->view['arData']) > 0) { ?> @@ -451,7 +451,7 @@ let el_customer_inform = document.getElementById('customer_inform'); document.getElementById('wpsg_action').addEventListener('change', (event) => { - + if (parseInt(event.target.value) >= 0) { el_customer_inform.style.display = 'inline-block'; @@ -462,6 +462,18 @@ } + let el_doaction = document.getElementById('doaction'); + + if (event.target.value === 'writeMultiRechnung') { + + el_doaction.style.display = 'none'; + + } else { + + el_doaction.style.display = 'block'; + + } + }); @@ -484,6 +496,34 @@
+ +
+ + + + + + + +
-- cgit v1.2.3