@extends('layouts.erp_theme_01') @section('content')
@if(isset($dept)) @php $item = $dept; @endphp
{{ csrf_field() }}

{{ $item->dept_name }} {{ $item->dept_id }}

{{ $item->dept_details }}


{{ csrf_field() }}

Current Training Location {{ isset($dept_location) ? $dept_location->location_name : "not set" }}

@if (session('err_msg_right'))
{{ session('err_msg_right') }}
@endif @if(isset($staffs)) @foreach($staffs as $item) @endforeach
Staff ID Staff Name Email
{{ $item->staff_id }} {{ $item->fname . ($item->mname != "" ? " " . $item->fname : "" ) . " " . $item->lname }} {{ $item->email }}
@else

No Staff Added Department Yet!

@endif
@else

No Department Added Yet!

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