@extends('tpl') @section('body')

Etapa asamblare

@if(isset($items) && count($items)) @include('searchForm')
@foreach($items as $key => $item) @if(!$item->projects->isEmpty()) @endif @endforeach
{{trans('e.serial')}} Nume colet Nume client Data crearii
{{$item->serial or '' }} {{$item->name}} {{isset($item->client) ? $item->client->name : ''}} {{date('d/m/Y H:i', strtotime($item->created_at))}} @if(!empty($item->fan_courier_file)) FanCourier @endif @if($item->projects()->forAssemblyArrived()->count() == $item->projects()->isNotCanceled()->count() && $item->projects()->forAssemblyPrinted()->count() == $item->projects()->forAssemblyArrived()->count() && !$item->projects()->isNotCanceled()->get()->isEmpty()) @if($item->projects()->forAssemblyArrived()->count() == $item->projects()->isNotCanceled()->count() && $item->projects()->forAssemblyPrinted()->count() == $item->projects()->forAssemblyArrived()->count() && !$item->projects()->isNotCanceled()->get()->isEmpty()) @endif
@foreach($item->projects as $project) @endforeach
Schita proiect Nume proiect Etapa parcursa
{{$project->name or ''}} {{trans('e.'.$project->status)}} @if($project->getEditableAssemblyAttribute())  Editare @elseif($project->projectStatus->started == 2) @endif
@else
{{trans('e.empty_list')}}
@endif
@endsection