@foreach($tuitions as $t)

Tuition # {{ $t->unique_id }} @if($t->price) Rs {{ $t->price }} Per Month @endif

{{ date('d F h:ia', strtotime($t->created_at)) }}

@foreach(explode('|', $t->class) as $c) @endforeach
Name {{ $t->student->name }}
Class {{ $c }}
Area {{ $t->location ?: 'NaN' }}
REQs {{ $t->requirements }}
@foreach(explode('|', $t->subjects) as $s) @endforeach
Phone # {{ $t->student->phone }}
Subjects {{ $s }}
Address {{ $t->address }}
Details {{ $t->detail }}
@if($t->teacher_id)
TUTOR INFORMATION
@if($t->status) @endif
Name {{ $t->teacher->user->name }} View Full Profile
Gender {{ $t->teacher->gender ? 'Male' : 'Female' }}
@if($t->status) @endif
Phone {{ $t->teacher->user->phone }}
Qualification {{ $t->teacher->qualification }}
@endif @if($t->status == 0)

UNDER PROCESSING

@elseif($t->status == 1) Start Trial @elseif($t->status == 2 && diffInDays($t->created_at) >= 2) @elseif($t->status == 3) @if($t->reviews->where('teacher_id', $t->teacher_id)->count() == 0) @endif @elseif($t->status == 4)

We will arange you another tutor as soon as possible.

@endif
@endforeach