{{ $task->title }}
@if (!empty($task->description))Description:
@extends('layouts.head_office_app') @section('title', 'Bespoke Form Template') @section('sub-header') {{--
--}} @endsection @section('content')| Status | {{--Active | --}}Actions |
|---|---|---|
|
New
|
{{-- --}} | |
|
Final Approval
|
{{-- --}} | |
|
Complete
{{-- Complete --}}
This will close the case and mark it as Complete
|
{{-- --}} | |
|
New Update
Set when a closed case is updated by a site; the case reopens with this status
|
||
|
In Progress
|
||
|
{{ $status->status }}
|
{{-- --}} @if($status->status != 'In Progress') @endif | @endif
Description:
| Task Title | Task Description | Assign Type | Assign To | Start Date | Deadline Duration | Deadline Users | Overdue Type | Overdue Users | Files | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $task->title }} | {{ $task->description }} | @if (!$task->type) Users @elseif($task->type == 1) Profiles @else Leave Unassigned @endif | {{ $task->profiles ? $task->profiles : 'Leave Unassigned' }} | {{ $task->dead_line_start_from }} | {{ $task->dead_line_duration }} {{ $task->dead_line_unit }} | {{ $task->dead_line }} | {{ $task->task_over_due_duration }} {{ $task->task_over_due_unit }} | {{ $task->over_due }} | @if (count($task->documents)) | @include( 'head_office.be_spoke_forms.default_task', ['task' => $task] ) |
There are no uploaded documents
@else| Name | Status | Description | Files | Info | |
|---|---|---|---|---|---|
| {{ $document->title }} |
{{ $document->active == true ? 'Live' : 'Not Live' }}
|
{{ $document->description }} |
| Name | Status | Description | Info | |
|---|---|---|---|---|
|
{{ $document->link }} |
{{ $document->is_active == true ? 'Live' : 'Not Live' }}
|
{{ $document->link_description }} |
| # | {{--Type | --}}Name | Connected with | Action |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{--{{$card->default_card->type}} | --}}{{ $card->name }} | @foreach ($card->group() as $connected_card) @if ($connected_card->from_card && $connected_card->form_card_id != $card->id) {{ $connected_card->from_card->name }}, @endif @endforeach |
| Locations | Case Priority Values | @if (isset($ho_user->user_profile_assign->profile->is_manage_team) && $ho_user->user_profile_assign->profile->is_manage_team)@endif | |
|---|---|---|---|
|
{{ $setting->head_office_user->user->name }} |
@php
// Convert the locations into arrays for easy comparison
$allLocations = $head_office->locations->pluck('id')->toArray();
$settingLocations = isset($setting->location_id) ? json_decode($setting->location_id,true) : null;
$allExist = !array_diff($allLocations, $settingLocations);
@endphp
@if ($allExist)
All @elseif(isset($settingLocations[0])){{ optional($head_office->locations->where('id', $settingLocations[0])->first()?->location)->trading_name ?? 'N/A' }} {{count($settingLocations)}} |
{{$setting->min_prority}} - {{$setting->max_prority}} |
@if (isset($ho_user->user_profile_assign->profile->is_manage_team) &&
$ho_user->user_profile_assign->profile->is_manage_team)
@endif |
@foreach ($task->documents as $doc)-
{{ $doc->document->original_file_name() }}
@if ($doc->type == 'image')
@endif
@endforeach