Lista
{{$item->name or ''}}
{{!is_null($item->projectsPackage) ? $item->projectsPackage->serial : ''}}
@if($item->projectStatus->started == 1)
@if(!$users->isEmpty())
@foreach($users as $key => $user)
@endforeach
@endif
@endif
@include('timeline', [
'initComments'=>[
'user' => $item->userDraft,
'comments' => $item->commentSectionProjectInit,
'available_status' => in_array('draft', $packageStatusesPermanames)
],
'designComments'=>[
'user' => $item->userDesign,
'comments' => $item->commentSectionProjectDesign,
'available_status' => in_array('design', $packageStatusesPermanames)
],
'layoutComments'=>[
'user' => $item->userLayout,
'comments' => $item->commentSectionProjectLayout,
'available_status' => in_array('layout', $packageStatusesPermanames)
],
'colorComments'=>[
'user' => $item->userColor,
'comments' => $item->commentSectionProjectColor,
'available_status' => in_array('color', $packageStatusesPermanames)
],
'cropComments'=>[
'user' => $item->userCrop,
'comments' => $item->commentSectionProjectCrop,
'available_status' => in_array('crop', $packageStatusesPermanames)
],
'assemblyComments'=>[
'user' => $item->userAssembly,
'comments' => $item->commentSectionProjectAssembly,
'available_status' => in_array('assembly', $packageStatusesPermanames)
],
])
@if($item->projectStatus->started == 1)
@if($item->getEditableAssemblyAttribute() && isset($item['project_id']))
@endif
@else
@endif