@extends('org.layout.adminPanel') @section('title', 'Organisation') @section('section') Organisation {{ isset($data->name) ? '/ ' . $data->name : '' }} / Form @endsection @section('css') {{-- css --}} @endsection @section('content') {{-- content --}}
@if (!empty($data))

{{ $data->name }}

{{ protocol() . '://' . $data->sub_domain }}.{{ config('app.domain') }}
@else

Organisation

@endif
@csrf @if (!$isView)
@endif @error('organisation') @enderror @if (!$isView)
.{{ config('app.domain') }}
@endif @error('sub_domain') @enderror @if (!$isView)
@endif
@if ($isView) @isset($id)
@endisset @if (isset($id))
{{-- if edit --}}

Division

+ Add division
{{-- @foreach ($data->locationdata as $location) @php $manager = $location->assignTo->user ?? ''; $assignByUser = $location->assignTo->assignByUser ?? ''; @endphp @endforeach --}}
# Name Manager Assign by Action
{{ $location->id }} {{ $location->name }} {{ $manager->first_name ?? '' }} {{ $manager->last_name ?? '' }} {{ $assignByUser->first_name ?? '' }} {{ $assignByUser->last_name ?? '' }}
@endif @endif
{{-- trash popup --}} @endsection @section('js') {{-- js --}} @endsection