mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 15:26:10 -06:00
#2647 emlak24 yapılacaklar
This commit is contained in:
parent
e360e2f101
commit
2006da4a96
@ -23,6 +23,7 @@ return [
|
||||
'latest-limit',
|
||||
'popular_ads_limit',
|
||||
'default_view_type',
|
||||
'hide_listing_standard_price',
|
||||
'hide_zero_price',
|
||||
'auto_approve',
|
||||
'estimated_pending_time',
|
||||
|
||||
@ -146,6 +146,13 @@ return [
|
||||
'mode' => 'checkbox'
|
||||
]
|
||||
],
|
||||
'hide_listing_standard_price' => [
|
||||
'type' => 'anomaly.field_type.boolean',
|
||||
'config' => [
|
||||
'default_value' => false,
|
||||
'mode' => 'checkbox'
|
||||
]
|
||||
],
|
||||
'enabled_currencies' => [
|
||||
'bind' => 'streams::currencies.enabled',
|
||||
'env' => 'ADV_ENABLED_CURRENCIES',
|
||||
|
||||
@ -111,6 +111,9 @@ return [
|
||||
'name' => 'Make Map Required',
|
||||
'instructions' => 'Require the user to place a pin on the map when creating an ad',
|
||||
],
|
||||
'hide_listing_standard_price' => [
|
||||
'name' => 'Hide Listing Standard Price',
|
||||
],
|
||||
'enabled_currencies' => [
|
||||
'name' => 'Enabled Currencies',
|
||||
],
|
||||
|
||||
@ -21,11 +21,13 @@
|
||||
<div class="col-md-3 text-left justify-content-center align-self-center">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p class="theme-price-old small mb-0"><del>
|
||||
{{ adv.standard_price != adv.price and adv.standard_price != '0'
|
||||
? adv.standard_price.currency()
|
||||
: '' }}
|
||||
</del></p>
|
||||
{% if not setting_value('visiosoft.module.advs::hide_listing_standard_price') %}
|
||||
<p class="theme-price-old small mb-0"><del>
|
||||
{{ adv.standard_price != adv.price and adv.standard_price != '0'
|
||||
? adv.standard_price.currency()
|
||||
: '' }}
|
||||
</del></p>
|
||||
{% endif %}
|
||||
<b>{{ adv.price != '0'
|
||||
? adv.price.currency()
|
||||
: trans('visiosoft.module.advs::field.free') }}</b>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user