| {{ __('Name') }} | {{ __('Discount') }} | {{ __('Validity') }} | {{ __('Status') }} | {{ __('Actions') }} |
|---|---|---|---|---|
| {{ $offer->name }} | {{ $offer->discount_percent > 0 ? $offer->discount_percent.'%' : '' }} {{ $offer->discount_amount > 0 ? number_format($offer->discount_amount, 2) : '' }} | @php $startDate = $offer->start_date; $endDate = $offer->end_date; @endphp {{ is_object($startDate) ? $startDate->format('Y-m-d') : ($startDate ?? '-') }} / {{ is_object($endDate) ? $endDate->format('Y-m-d') : ($endDate ?? '-') }} | {{ $offer->active ? __('Active') : __('Inactive') }} | {{ __('Edit') }} |