@extends('org.layout.adminPanel') @section('title', 'Projects') @section('section') @php $with = [ 'subdomain' => $subdomain, 'id' => $dep_id, 'org_location_id' => $org_location_id, ]; $depdata = \App\Models\Department::where('id', decode($dep_id))->first(); $user = !empty($assign_to) ? $assign_to->user : ''; $permission = !empty($assign_to) ? $assign_to->permissions->toArray() : []; @endphp {{ $depdata->name }} / Projects / {{ $project->name }} / Assign / Form @endsection @section('css') {{-- css --}} @endsection @section('content') @isset($orgmsg) @endisset {{-- content --}}

{{ $project->name }} - Manager

Project Manager

@if (!empty(Session::get('err'))) @endif
@csrf {{--
--}} @if (empty($assign_to))
Type and click magnifying glass to search for existing user

or add new user


@endif @if (!isset($id))
@error('firstname') @enderror
@error('lastname') @enderror
@error('email') @enderror @endif
@php if (empty($assign_to)) { $ORGID = Session::get('org_id') ?? ''; if (empty($ORGID)) { $ORGINFO = Helper::navigationPath(decode($org_location_id), 'division'); $ORGID = $ORGINFO['organisation']['id']; } } @endphp @endsection @section('js') {{-- js --}} @if (empty($assign_to)) @endif @endsection