@if($rides->count() > 0)
| # |
{{ __('admin.provider') }} |
{{ __('admin.scooter_code') }} |
{{ __('admin.status') }} |
{{ __('admin.cost') }} |
{{ __('admin.date') }} |
{{ __('admin.control') }} |
@foreach($rides as $ride)
| {{ $ride->id }} |
{{ $ride->provider?->name ?? '—' }} |
{{ $ride->scooter?->code ?? '—' }} |
{{ __('apis.ride_status.' . $ride->status) }} |
{{ number_format((float) $ride->cost, 2) }} |
{{ $ride->created_at?->format('Y-m-d H:i') ?? '—' }} |
|
@endforeach
@if($rides->hasPages())
{{ $rides->links('pagination::bootstrap-4') }}
@endif
@else
{{ __('admin.there_are_no_matches_matching') }}
@endif