From cf17c3c20506c4fc50602b4f99e584e99cd51512 Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Mon, 12 Oct 2020 22:38:43 +0300 Subject: [PATCH] Muammer (#714) * #2253 Do not show GET if it's off * #2253 Do not show GET if it's off Co-authored-by: Muammer Top --- .../resources/views/new-ad/new-create.twig | 47 ++++++++++--------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig index 29416109b..4ccfbcfda 100644 --- a/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig @@ -58,28 +58,33 @@ {{ form.fields.slug|raw }} - - {{ addBlock('new-ad/fields', {'adv': adv})|raw }} - -
- -
- {{ form.fields.standard_price.setAttributes({ - 'required' :true - }).input|raw }} -
- {% set standardPriceValue = form.fields.standard_price.value|split('.') %} -
- -
-
- -
+
+ {{ form.fields.standard_price.setAttributes({ + 'required' :true, + }).input|raw }}
+ {% if setting_value('visiosoft.module.advs::market_place') %} + {{ addBlock('new-ad/fields', {'adv': adv})|raw }} + +
+ + + {% set standardPriceValue = form.fields.standard_price.value|split('.') %} +
+ +
+
+ +
+
+ {% endif %} +