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') @if ($module->price == '0.0000')
{{ trans('modules.free') }} {{ trans('modules.free') }}
@else @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 @endif
</strong> </strong>
</small> </small>

View File

@ -7,7 +7,12 @@
@if ($module->price == '0.0000') @if ($module->price == '0.0000')
{{ trans('modules.free') }} {{ trans('modules.free') }}
@else @else
{!! $module->yearly_per_monthly_price !!} <span class="small">{{ trans('modules.per_month') }}</span> @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 @endif
</div> </div>
</strong> </strong>
@ -37,7 +42,12 @@
@if ($module->price == '0.0000') @if ($module->price == '0.0000')
{{ trans('modules.free') }} {{ trans('modules.free') }}
@else @else
{!! $module->monthly_price !!} <span class="small">{{ trans('modules.per_month') }}</span> @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 @endif
</div> </div>
</strong> </strong>