Merge pull request #678 from openclassify/muammer

#2171 oc.com discount doesn't seen. Completed.
This commit is contained in:
Fatih Alp 2020-09-25 12:32:43 +03:00 committed by GitHub
commit 71eb6957b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -296,4 +296,6 @@ return [
// New create page
'options' => 'Options',
'free' => 'Free'
];

View File

@ -20,7 +20,14 @@
<div class="col-md-3 text-left justify-content-center align-self-center">
<div class="row">
<div class="col-md-12">
<b>{{ adv.price.currency(null,'currency') }}</b>
<p class="theme-price-old small mb-0"><del>
{{ adv.standard_price != adv.price and adv.standard_price != '0'
? adv.standard_price.currency(null,"currency")
: '' }}
</del></p>
<b>{{ adv.price != '0'
? adv.price.currency(null,"currency")
: trans('visiosoft.module.advs::field.free') }}</b>
</div>
{% if setting_value('visiosoft.module.location::list_page_location') %}
<div class="col-md-12 justify-content-center align-self-center text-truncate">