@extends('home.partial.layout') @auth @php $user = Auth::user(); $role = $user->role; @endphp @endauth @section('content') @if(session('error'))
{{ session('error') }}
@endif

Staff Concern Form

@csrf
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach($employees as $employee) @endforeach
Emp Name Emp No. Designation D.O.J Scf Date Status Action

{{$employee->name}} {{$employee->lname}}@if($employee->designations){{$employee->designations->name}}@else @endif

{{$employee->employee_no}} @if($employee->designations){{$employee->designations->name}}@else @endif @if(NULL!=$employee->joiningdate) {{date('d-m-Y', strtotime($employee->joiningdate))}} @endif @if($employee->scf) {{date('d-m-Y', strtotime($employee->scf->scf_date))}} @endif @if($user->hasRole('Principal') ||$user->hasRole('Vp') || $user->hasRole('Hr') ) @if($employee->scf) @endif @endif @if($employee->scf) @else @endif @if($employee->scf) @endif @if($user->hasRole(SUPER_ADMIN_ROLE)) @if($employee->scf) @endif @endif
@endsection