@foreach($trainreservations as $key=> $row) @if ($row->role != 'super_admin')
@endif {{ $row->trainner->name }} {{ $row->patient->name }} {{ $row->branch->name }} {{ $row->dating }} {{ $row->timing }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->role == 'super_admin') {{ __('dashboard.edit') }} @else @if($row->deleted_at) {{ __('dashboard.restore') }} @else {{ __('dashboard.edit') }} @endif @endif @endforeach @if( count( $trainreservations ) && $trainreservations->hasPages() ) {{ $trainreservations->links() }} @endif