@php $discountPercentage = 0; if ($offer['original_price'] > 0 && $offer['discounted_price'] > 0) { $discountPercentage = (($offer['original_price'] - $offer['discounted_price']) / $offer['original_price']) * 100; $discountPercentage = round($discountPercentage); } @endphp
{{ $offer['description'] }}
{{ $offer['discounted_price'] }} {{ $offer->getCurrencySymbol() }}
{{ $offer['original_price'] }} {{ $offer->getCurrencySymbol() }}