@if($loop->first)
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$this->yarnColours->where('id', $line['yarn_colours_id'])->first()->yarn->description}}
{{$this->yarnColours->where('id', $line['yarn_colours_id'])->first()->yarn->counts->count}}
@endif
|
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$this->yarnColours->where('id', $line['yarn_colours_id'])->first()->reference}}
({{$this->yarnColours->where('id', $line['yarn_colours_id'])->first()->description}})
@endif
|
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$line['qty']}}
@endif
|
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$form->order->suppliers->currency}}{{$line['price']}}
@endif
|
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$line['ship_date']}}
@endif
|
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$line['actual_ship_date']}}
@endif
|
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$line['delivery_date']}}
@endif
|
@can('finance:update')
@if(Gate::check('finance:update') && !empty($line['id']) && !$viewOnly)
@else
{{$line['invoice_no'] ?? ""}}
@endif
|
@if(Gate::check('finance:update') && !empty($line['id']) && !$viewOnly)
@else
{{$line['invoiced_qty'] ?? ""}}
@endif
|
@if(Gate::check('finance:update') && !empty($line['id']) && !$viewOnly)
@else
{{$line['fn_notes'] ?? ""}}
@endif
|
@endcan
@endif
@if(!empty($style))
@if(Gate::check('order:update') && !$viewOnly)
@else
{{$style['customer_order_lines']['customer_orders']['customer_po'] ?? ""}}
@endif
@endif
|
@if(!empty($style))
@if(Gate::check('order:update') && !$viewOnly)
{{-- {{$form->orderEdit['yarn_order_lines'][$i]['yarn_order_line_styles'][$s]['customer_orders_id'] ?? 'NONE'}} --}}
@else
{{$style['customer_order_lines']['colourways']['style_versions']['styles']['designs_id'] ?? ""}} |
{{$style['customer_order_lines']['colourways']['style_versions']['styles']['customer_ref'] ?? ""}}
({{$style['customer_order_lines']['colourways']['style_versions']['name'] ?? ""}})
{{$style['customer_order_lines']['colourways']['name'] ?? ""}}
@endif
@endif
|
@if($loop->first)
@if(Gate::check('order:update') && !$viewOnly)
|
@endif
@endif
@endforeach
@endforeach