Project Name / Task ID - @php
echo isset($taskDetails) ? $taskDetails[0]->task_id : '0';
@endphp
{{--
Danger This is Danger alert.
--}}
×
@php
echo isset($taskDetails) ? $taskDetails[0]->name : 'Name of Object';
@endphp
|
@php
echo isset($taskDetails) ? $taskDetails[0]->priority : 'Low';
@endphp
|
|
@php
echo isset($taskDetails) ? $taskDetails[0]->owner : 'User';
@endphp
|
@if(Session::has('task_Id') && Session::has('getByUnityTeam'))
|
@php
echo isset($taskDetails) ? $taskDetails[0]->user_3d : 'User';
@endphp
|
@elseif(Session::has('task_Id') && Session::has('getByTester'))
|
@php
echo isset($taskDetails) ? $taskDetails[0]->user_3d : 'User';
@endphp
|
|
@php
echo isset($taskDetails) ? $taskDetails[0]->user_unity : 'User';
@endphp
|
@endif
|
@php
echo $task_cat_id = isset($taskDetails) ? $taskDetails[0]->category : print_r('none');
@endphp
|
|
@php
echo $task_cat_id = isset($taskDetails) ? $taskDetails[0]->model_count : print_r('none');
@endphp
|
|
@php
$task_due_date = isset($taskDetails) ? $taskDetails[0]->date_added : '0000-00-00';
echo date_format(date_create_from_format('Y-m-d', $task_due_date), 'd-m-Y');
@endphp
|
ATTACHMENTS
@php
$task_ref_links = isset($taskDetails) ? $taskDetails[0]->ref_links : '';
$task_all_ref_links = explode(',', $task_ref_links);
@endphp
@if (isset($task_all_ref_links))
@foreach ($task_all_ref_links as $task_ref_link)
@endforeach
@endif
@if((Session::has('task_Id') && Session::has('getByUnityTeam')) || Session::has('draftedUnityTeamTaskId'))
@if(Session::has('draftedUnityTeamTaskId'))
UPLOADED UNITY TEAM BEFORE
@if(isset($taskDetails) && isset($taskDetails[0]->windows_file))
@endif
@if(isset($taskDetails) && isset($taskDetails[0]->android_file))
@endif
@if(isset($taskDetails) && isset($taskDetails[0]->ios_file))
@endif
@if(isset($taskDetails) && isset($taskDetails[0]->macos_file))
@endif
@if(isset($taskDetails) && isset($taskDetails[0]->webgl_file))
@endif
@endif
@elseif(Session::has('task_Id') && Session::has('getByTester'))
@elseif(Session::has('drafted3dteamTaskId'))
UPLOADED BEFORE
@if(isset($taskDetails) && isset($taskDetails[0]->max_file))
@endif
@if(isset($taskDetails) && isset($taskDetails[0]->fbx_file))
@endif
@if(isset($taskDetails) && isset($taskDetails[0]->maps_file))
@endif
@else
@endif
@if(Session::has('drafted3dteamTaskId'))
COMMENTS
@php
$task_comments_json = isset($taskDetails) ? $taskDetails[0]->comments_json : '';
if($task_comments_json != ''){
$task_comments_details = json_decode($task_comments_json, true);
}
@endphp
@if (isset($task_comments_details))
@foreach ($task_comments_details as $comment_details)
@if($comment_details['comment_owner_type'] == 'Owner')
{{$comment_details['comment_owner']}}({{$comment_details['comment_owner_type']}}) {{$comment_details['comment_date']}}
{{$comment_details['comment']}}
@endif
@if($comment_details['comment_owner_type'] == '3D Team')
{{$comment_details['comment_owner']}}({{$comment_details['comment_owner_type']}}) {{$comment_details['comment_date']}}
{{$comment_details['comment']}}
@endif
@endforeach
@endif
@elseif(Session::has('draftedUnityTeamTaskId'))
COMMENTS
@php
$task_comments_json = isset($taskDetails) ? $taskDetails[0]->comments_json : '';
if($task_comments_json != ''){
$task_comments_details = json_decode($task_comments_json, true);
}
@endphp
@if (isset($task_comments_details))
@foreach ($task_comments_details as $comment_details)
@if(($comment_details['comment_owner_type'] == 'Owner') || ($comment_details['comment_owner_type'] == '3D Team'))
{{$comment_details['comment_owner']}}({{$comment_details['comment_owner_type']}}) {{$comment_details['comment_date']}}
{{$comment_details['comment']}}
@endif
@if($comment_details['comment_owner_type'] == 'Unity Team')
{{$comment_details['comment_owner']}}({{$comment_details['comment_owner_type']}}) {{$comment_details['comment_date']}}
{{$comment_details['comment']}}
@endif
@endforeach
@endif
@else
COMMENTS
@php
$task_comments_json = isset($taskDetails) ? $taskDetails[0]->comments_json : '';
if($task_comments_json != ''){
$task_comments_details = json_decode($task_comments_json, true);
}
@endphp
@if (isset($task_comments_details))
@foreach ($task_comments_details as $comment_details)
{{$comment_details['comment_owner']}}({{$comment_details['comment_owner_type']}}) {{$comment_details['comment_date']}}
{{$comment_details['comment']}}
@endforeach
@endif
@if(!Session::has('getByTester'))
@endif
@endif
@if((Session::has('task_Id') && Session::has('getByUnityTeam')) || Session::has('draftedUnityTeamTaskId'))
@elseif(Session::has('task_Id') && Session::has('getByTester'))
@else
@endif