@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Home Work @section('main-content')
@if (Session::has('success')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Records / Home Work

Notification List
{{-- --}} @if (isset($homework) && count($homework) != 0) @foreach ($homework as $key => $value) --}} @endforeach @else @endif
S.No Title Work Date FileStatusActions
{{ $key + 1 }} {{ ucwords($value->title) }} {{ dateformatter($value->created_at) }} {{ $value->is_approved === 1 ? 'Approve' : ($value->is_approved === 0 ? 'Disapprove' : 'Pending') }} {{-- @if ($value->image) @else Contain No File @endif
{{ 'No record found' }}
@endsection