@extends('admin.master') @section('title',@trans('Courses Distribution')) @section('content')
| # | @trans('City') | @trans('Year') | @trans('Week') | @trans('Course') | @trans('Currency') | @trans('Price') | @trans('Halls') | @trans('Repeat') | @trans('Status') | @trans('Created At') | @foreach ($query as $plan) @php $dates = explode(' - ', $plan->period_title); $startDate = \Carbon\Carbon::parse($dates[0])->format('l, Y-m-d'); $endDate = \Carbon\Carbon::parse($dates[1])->format('l, Y-m-d'); @endphp|
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ($query->currentPage() - 1) * $query->perPage() + $loop->iteration }} | {{ $plan->city_name }} | {{ $plan->year_name }} | {{ $startDate }} - {{ $endDate }} | {{ $plan->course_name }} | {{ $plan->currency_name }} | {{ $plan->price }} | {{ $plan->hall_name }} | {{ $plan->repeat }} | {{ $plan->status }} | {{ \Carbon\Carbon::parse($plan->created_at)->format('l, Y-m-d') }} |