@extends('layouts.erp_theme_01') @section('content')
{{ csrf_field() }}

Add Department

{{ csrf_field() }}
@if (session('err_msg'))
{{ session('err_msg') }}
@endif

Existing Departments

@if (session('err_msg_right'))
{{ session('err_msg_right') }}
@endif @if(isset($data)) @foreach($data as $item) @endforeach
Dept ID Dept Name Description Training Location Action
{{ $item->dept_id }} {{ $item->dept_name }} {{ $item->dept_details }} {{ $item->location_name }}
@else

No Department Added Yet!

@endif
{{ csrf_field() }}
@endsection @section('script') @endsection