changed it.

This commit is contained in:
Cüneyt Şentürk 2021-11-22 18:56:39 +03:00
parent 4c0c1c2510
commit f612e90b04

View File

@ -26,15 +26,7 @@
<div class="text-center text-sm mt-3 mb--2">
<span style="font-size: 12px;">
@if (!empty($module->is_discount))
@php
$price = '<del class="text-danger">' . '$' . $module->raw_monthly_price * 4 . '</del> ' . '$' . $module->raw_monthly_special_price * 4;
@endphp
{!! trans('modules.save_year', ['price' => $price]) !!}
@else
{!! trans('modules.save_year', ['price' => '$' . $module->raw_monthly_price * 4]) !!}
@endif
{!! trans('modules.save_year', ['price' => '$' . $module->raw_monthly_price * 4]) !!}
</span>
</div>