@extends('adminlte::page') @section('title', 'location') @section('content_header') @stop @section('content')

Location

List of Location

@if (Session::has('error'))

{{ session()->get('error') }}

@elseif (session()->has('success'))
Well done !!!

{{ session()->get('success') }}

@endif
@if(!empty($locations)) @foreach ($locations as $location) @endforeach @endif
Department Name Location Name Visibility Status Actions
{{ $location->department->name ?? 'N/A' }} {{ $location->location_name }} @if ($location['visibility'] == 1) public @else private @endif @if ($location['status'] == 1) Active @else Inactive @endif
     
Name Visibility Status Actions
@stop @section('js') @include('admin.location.scripts.index') @stop