@extends('theme.master') @section('title', "$user->fname") @section('content') @include('admin.message') @include('sweetalert::alert')
{{ __('Instructor') }}

{{ $user['fname'] }} {{ $user['lname'] }}

@auth
{{ $user['email'] }}
@endauth
{{ __('Totalstudents') }}
@php $data = App\Order::where('instructor_id', $user->id)->count(); if($data > 0){ echo $data; } else{ echo "0"; } @endphp