| # | {{ __('app.type') }} | {{ __('app.name') }} | {{ __('app.activated_by') }} | {{ __('app.amount') }} | {{ __('app.from_date') }} | {{ __('app.to_date') }} | {{ __('app.created_at') }} | @canany(['view subscription', 'delete subscription', 'force delete subscription']){{ __('app.actions') }} | @endcanany
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | @if ($item->restaurant) {{ __('app.restaurant') }} @elseif($item->driver) {{ __('app.driver') }} @elseif($item->slider) {{ __('app.slider') }} @else {{ __('app.not_selected') }} @endif | @if ($item->restaurant) {{ $item->restaurant->name }} @elseif($item->driver) {{ $item->driver->name }} @elseif($item->slider) {{ $item->slider->name }} @else {{ __('app.not_selected') }} @endif | {{ $item->user->name }} | {{ number_format($item->amount, 2) }} | {{ $item->from_date->format('Y-m-d') }} | {{ $item->to_date->format('Y-m-d') }} | {{ $item->created_at->format('Y-m-d') }} | @canany(['view subscription', 'delete subscription', 'force delete subscription'])@endcanany |
| {{ __('app.no_results_found') }} | ||||||||