mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#3984 new advs currency bug
This commit is contained in:
parent
c424d31980
commit
9ce2fbb243
@ -106,10 +106,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="select-price{{ setting_value('visiosoft.module.advs::hide_standard_price_field') or setting_value('visiosoft.module.advs::market_place') != true ? ' d-none' }}">
|
<div class="select-price">
|
||||||
|
{% set HideStandardPrice = setting_value('visiosoft.module.advs::hide_standard_price_field') or setting_value('visiosoft.module.advs::market_place') != true ? ' d-none' %}
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
{{ form.fields.standard_price.label }}
|
<span class="{{ HideStandardPrice }}">
|
||||||
<span class="required">*</span>
|
{{ form.fields.standard_price.label }}
|
||||||
|
<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">
|
||||||
@ -119,14 +123,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
|
<span class="w-100 {{ HideStandardPrice }}">
|
||||||
<input class="mt-3 border-0 text-right standard-price-field whole-price flex-fill"
|
{% set standardPriceValue = form.fields.standard_price.value|split('.') %}
|
||||||
placeholder="0" value="{{ standardPriceValue|first }}" type="text">
|
<input class="mt-3 border-0 text-right standard-price-field whole-price flex-fill w-100"
|
||||||
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
placeholder="0" value="{{ standardPriceValue|first }}" type="text">
|
||||||
<input class="mt-3 border-0 ml-2 text-center standard-price-decimal decimal-price"
|
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
|
||||||
placeholder="00" type="text" value="{{ standardPriceValue[1] }}"
|
<input class="mt-3 border-0 ml-2 text-center standard-price-decimal decimal-price"
|
||||||
maxlength="2">
|
placeholder="00" type="text" value="{{ standardPriceValue[1] }}"
|
||||||
{% endif %}
|
maxlength="2">
|
||||||
|
{% 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