mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
parent
9ce2fbb243
commit
141dee9da7
@ -106,14 +106,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="select-price">
|
<div class="select-price{{ setting_value('visiosoft.module.advs::hide_standard_price_field') or setting_value('visiosoft.module.advs::market_place') != true ? ' d-none' }}">
|
||||||
{% set HideStandardPrice = setting_value('visiosoft.module.advs::hide_standard_price_field') or setting_value('visiosoft.module.advs::market_place') != true ? ' d-none' %}
|
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<span class="{{ HideStandardPrice }}">
|
{{ form.fields.standard_price.label }}
|
||||||
{{ form.fields.standard_price.label }}
|
<span class="required">*</span>
|
||||||
<span class="required">*</span>
|
|
||||||
</span>
|
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="col-12 standard-price-hidden d-none">
|
<div class="col-12 standard-price-hidden d-none">
|
||||||
@ -123,16 +119,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<span class="w-100 {{ HideStandardPrice }}">
|
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
|
||||||
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
|
<input class="mt-3 border-0 text-right standard-price-field whole-price flex-fill"
|
||||||
<input class="mt-3 border-0 text-right standard-price-field whole-price flex-fill w-100"
|
placeholder="0" value="{{ standardPriceValue|first }}" type="text">
|
||||||
placeholder="0" value="{{ standardPriceValue|first }}" type="text">
|
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
||||||
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
<input class="mt-3 border-0 ml-2 text-center standard-price-decimal decimal-price"
|
||||||
<input class="mt-3 border-0 ml-2 text-center standard-price-decimal decimal-price"
|
placeholder="00" type="text" value="{{ standardPriceValue[1] }}"
|
||||||
placeholder="00" type="text" value="{{ standardPriceValue[1] }}"
|
maxlength="2">
|
||||||
maxlength="2">
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
</span>
|
|
||||||
<select name="currency" class="mt-3 border-0 ml-2" id="currency" required>
|
<select name="currency" class="mt-3 border-0 ml-2" id="currency" required>
|
||||||
{% for currency in config_get('streams::currencies.enabled') %}
|
{% for currency in config_get('streams::currencies.enabled') %}
|
||||||
<option value="{{ currency }}">
|
<option value="{{ currency }}">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user