@trans('Export to Excel')
@include('admin.pages.course.price._model_search')
@csrf
{{-- @dump($course_distribution) --}} @foreach ($course_distribution as $item) @php // Format the week start and end date using Carbon $weekStart = \Carbon\Carbon::parse($item->week_start)->format('l, Y-m-d'); $weekEnd = \Carbon\Carbon::parse($item->week_end)->format('l, Y-m-d'); @endphp @include('admin.pages.course.price._model_delete') @include('admin.pages.course.price._model_all_delete') @endforeach
# @trans('City') @trans('Year') @trans('Week') @trans('Currency') @trans('Price') @trans('Halls') @trans('Repeat') @trans('Status') @trans('Created At') @trans('Settings')
{{ ($course_distribution->currentPage() - 1) * $course_distribution->perPage() + $loop->iteration }} {{ $item->city_name }} {{ $item->year_name }} {{ $weekStart }} - {{ $weekEnd }} {{ $item->currency_name }} {{ $item->Price_distribution }} {{ $item->hall_name }} {{ $item->repeat }} {{ $item->status }} {{ \Carbon\Carbon::parse($item->created_at)->format('l, Y-m-d') }}
{{-- Pagination Links --}}