added app special price show fixed..

This commit is contained in:
Cüneyt Şentürk 2021-11-22 18:44:54 +03:00
parent c83e0b3ebe
commit dc6fa1bb0b
2 changed files with 17 additions and 3 deletions

View File

@ -69,7 +69,11 @@
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
{{ trans('modules.monthly_price', ['price' => $module->yearly_per_monthly_price]) }}
@if (isset($module->is_discount))
{!! trans('modules.monthly_price', ['price' => '<del class="text-danger">' . $module->yearly_per_monthly_price . '</del>' . $module->yearly_per_monthly_special_price]) !!}
@else
{!! trans('modules.monthly_price', ['price' => $module->yearly_per_monthly_price]) !!}
@endif
@endif
</strong>
</small>

View File

@ -6,9 +6,14 @@
<div class="text-xl">
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
@if (isset($module->is_discount))
<del class="text-danger">{!! $module->yearly_per_monthly_price !!}</del>
{!! $module->yearly_per_monthly_special_price !!} <span class="small">{{ trans('modules.per_month') }}</span>
@else
{!! $module->yearly_per_monthly_price !!} <span class="small">{{ trans('modules.per_month') }}</span>
@endif
@endif
</div>
</strong>
</div>
@ -36,9 +41,14 @@
<div class="text-xl">
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
@if (isset($module->is_discount))
<del class="text-danger">{!! $module->monthly_price !!}</del>
{!! $module->monthly_special_price !!} <span class="small">{{ trans('modules.per_month') }}</span>
@else
{!! $module->monthly_price !!} <span class="small">{{ trans('modules.per_month') }}</span>
@endif
@endif
</div>
</strong>
</div>