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