@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
@if ($offer['is_new']) {{ __('messages.new') }} @endif @if ($offer['is_featured']) {{ __('messages.featured') }} @endif
@if ($discountPercentage > 0) {{ $discountPercentage }}% {{ __('messages.discount') }} @endif
{{ $offer['name'] }}
{{ $offer['name'] }}

{{ $offer['description'] }}

{{ $offer['discounted_price'] }} {{ $offer->getCurrencySymbol() }}

{{ $offer['original_price'] }} {{ $offer->getCurrencySymbol() }}


{{ __('messages.expired_at') }}: {{ \Carbon\Carbon::parse($offer['end_date'])->format('d/m/Y') }}