@can('export subscriptions') @endcan @can('view deleted subscriptions')
@endcan
@canany(['view subscription', 'delete subscription', 'force delete subscription']) @endcanany @forelse ($subscriptions as $item) @canany(['view subscription', 'delete subscription', 'force delete subscription']) @endcanany @empty @endforelse
# {{ __('app.type') }} {{ __('app.name') }} {{ __('app.activated_by') }} {{ __('app.amount') }} {{ __('app.from_date') }} {{ __('app.to_date') }} {{ __('app.created_at') }}{{ __('app.actions') }}
{{ $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') }}
@can('view subscription') @endcan @can('force delete subscription') @endcan @can('delete subscription') @if (!$item->trashed()) @endif @endcan
{{ __('app.no_results_found') }}
{{ $subscriptions->links() }}
{{-- delete modal --}} {{-- force delete modal --}}