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 062321ad7..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,6 +58,11 @@ {{ form.fields.slug|raw }} +
+ {{ form.fields.standard_price.setAttributes({ + 'required' :true, + }).input|raw }} +
{% if setting_value('visiosoft.module.advs::market_place') %} {{ addBlock('new-ad/fields', {'adv': adv})|raw }} @@ -66,14 +71,11 @@ {{ form.fields.standard_price.label|raw }} * -
- {{ form.fields.standard_price.setAttributes({ - 'required' :true, - }).input|raw }} -
+ {% set standardPriceValue = form.fields.standard_price.value|split('.') %}
- +