@foreach($tuitions as $t)
{{ date('d F h:ia', strtotime($t->created_at)) }}
| Name | {{ $t->student->name }} |
|---|---|
| Class | {{ $c }} |
| Area | {{ $t->location ?: 'NaN' }} |
| REQs | {{ $t->requirements }} |
| Phone # | {{ $t->student->phone }} |
|---|---|
| Subjects | {{ $s }} |
| Address | {{ $t->address }} |
| Details | {{ $t->detail }} |
| Name | {{ $t->teacher->user->name }} View Full Profile |
|---|---|
| Gender | {{ $t->teacher->gender ? 'Male' : 'Female' }} |
| Phone | {{ $t->teacher->user->phone }} |
|---|---|
| Qualification | {{ $t->teacher->qualification }} |
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