@extends('tpl') @section('body')
| {{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())
@foreach($item->projects()->isNotCanceled()->get() as $project)
@endif
{{$item->serial or ''}}
@if(!empty($project->file))
{{$project->price or 0}} {{ !is_null($item->currency) ? $item->currency->name : '' }}
@endif
@if($item->projects()->count() > 1)
@endif
@endforeach
|
@if($item->projects()->forAssemblyArrived()->count() == $item->projects()->isNotCanceled()->count() && $item->projects()->forAssemblyPrinted()->count() == $item->projects()->forAssemblyArrived()->count() && !$item->projects()->isNotCanceled()->get()->isEmpty()) @endif | |||||||||||||||||||||||
|
|||||||||||||||||||||||||||||