@extends('user.layout.master') @section('content') @php $Departments = $pageData['Departments']; $Organisations = $pageData['Organisations']; @endphp
@include('user/organisation/header')

Add Department

@csrf

Your Departments

@if($Departments != null && count($Departments) > 0 ) @else @include('user/layout/norecords') @endif
@if($Departments != null && count($Departments) > 0 ) @foreach($Departments as $key => $Department) @endforeach @else @endif
Sr.No Department Name Organization Name Contact Person Mobile Number Action

Warning: Undefined variable $key in C:\xampp\htdocs\resources\views\user\organisation\departments.blade.php on line 158
1
{{ $Department['department_name'] }} {{ Organisation($Department['org_id'])->organisation_name }} {{ $Department['contact_person'] }} {{ $Department['contact_number'] }}
No Records Available

Tree View

@if($Organisations != null && count($Organisations) > 0 )
    @foreach($Organisations as $key => $Organisation)

  • Warning: Undefined variable $Organisation in C:\xampp\htdocs\resources\views\user\organisation\departments.blade.php on line 210

    Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\resources\views\user\organisation\departments.blade.php on line 210
  • @endforeach
@else @include('user/layout/norecords') @endif
@endsection('content')