Email {{$profile->email}}
Phone {{$profile->phone}}
Date of Birth @if( $profile->date_of_birth != '0000-00-00' ) {{ date('F j, Y', strtotime($profile->date_of_birth)) }} @else Not set @endif
Gender {{$profile->gender}}
Address {{$profile->address}}
    @if(!empty($timeline)) @foreach($timeline as $activity)
  1. {{ $activity->activity }}
  2. @endforeach @else
  3. No activities found.
  4. @endif
@if( $profile->role == 'student' )
@if( $user->role != 'student' && $user->role != 'instructor' ) @endif
Courses
@if(!empty($enrollments)) @foreach($enrollments as $index => $enrollment) @endforeach @else @endif
# Name Duration Classes Started Progress
{{ $index + 1 }} {{ $enrollment->name }} {{ $enrollment->duration }} {{ $enrollment->period }} {{ $enrollment->total_theory + $enrollment->total_practical }} {{ date('F j, Y', strtotime($enrollment->created_at)) }} {{ round((($enrollment->completed_theory + $enrollment->completed_practical) / ($enrollment->total_theory + $enrollment->total_practical)) * 100) }}%
It's empty here.
@endif @if( $profile->role == 'instructor' || $profile->role == 'student' )

Missed Practical Theory Complete

{{ $profile->fname }}'s Schedule
@endif @if( $user->role != 'student' && $user->role != 'instructor' && $profile->role == 'student' )
Invoices
@if(!empty($invoices)) @foreach($invoices as $index => $invoice) @endforeach @else @endif
# Ref Amount Paid Balance Date View
{{$index + 1}} #{{$invoice->reference}} {{ money($invoice->amount) }} {{ money($invoice->amountpaid) }} {{ money($invoice->amount - $invoice->amountpaid) }} {{date('d F Y',strtotime($invoice->created_at))}} View

It's empty here.

Payments
@if(!empty($payments)) @foreach($payments as $index => $payment) @endforeach @else @endif
# Invoice Amount Date Method Action
{{$index+1}} #{{$payment->reference}} {{ money($payment->amount) }} {{ date('d F Y',strtotime($payment->created_at)) }} {{ $payment->method }}
It's empty here.
@endif @if( $user->role != 'student' && $user->role != 'instructor' )
Notes
@if(!empty($notes)) @foreach($notes as $index => $note) @endforeach @else @endif
# Note By Note Action
{{$index + 1}} @if( !empty($note->avatar) ) @else @endif {{ $note->fname }} {{ $note->lname }} {{date('d F Y', strtotime($note->created_at))}} @if ( strlen($note->note) > 50 ) {{ substr($note->note,0,50).'...'; }} @else {{ $note->note; }} @endif
It's empty here.
Attachments
@if(!empty($attachments)) @foreach($attachments as $key => $attachment) @endforeach @else @endif
# Name Uploaded By Date Action
{{$key+1}} {{ $attachment->name }} {{ $attachment->fname }} {{ $attachment->lname }} {{ date('F j, Y',strtotime($attachment->created_at))}}
It's empty here.
@endif