@extends('layouts.employee') @section('content')

Education

@if(session('alert-green'))
{{ session('alert-green') }}
@endif @if(session('alert-danger'))
{{ session('alert-danger') }}
@endif @if($errors->any())
@foreach ($errors->all() as $error)
* {{$error}}
@endforeach
@endif
@csrf @if(isset($employee->education) && $employee->education()->exists()) @foreach($employee->education as $education) @endforeach @endif
Level Year Result Institution
{{ $education->education_level ?? '' }} {{ $education->year ?? '' }} {{ $education->result ?? '' }} {{ $education->institution ?? '' }} @if(Auth::user()->user_type == "HR") @endif
@endsection @section('script') @endsection