@extends('page') @section('content')

Order # {{$order->id}}

@if(Auth::user()->hasRole(6) )
PLACED BY :@if($order->print_status == 1 && $company->company_id == 1) {{$order->companyCreator->name}} @else {{$order->creator->name}} @endif
VERIFIED BY : @if($order->print_status == 1 && $company->company_id == 1) {{$order->companyVerifier->name}} @else {{$order->userVerifier->name }} @endif
APPROVED BY : @if($order->print_status == 1 && $company->company_id == 1) {{$order->companyApprover->name}} @else {{$order->approver->name }} @endif
@if($order->status == 0 ) Rejected @elseif($order->status == 1) Veification Pending @elseif($order->status == 2) Verified @elseif($order->status == 3) Approved @elseif($order->status == 4) Printed @endif
ORDER DATE :{{date('d-m-Y', strtotime($order->date))}}
@endif
@php $x = 1; @endphp @if($order) @foreach($order->products as $dkey => $details) @php $x++; @endphp @endforeach
# Product Details Label Count
{{$x}}
{{$details->products->product_code}}
|
{{$details->products->product_name}}
|
{{$details->products->brand_name}}
|
{{$details->products->model_number}}
@if($details->products->category)
|
{{$details->products->category->category}}
@endif
{{$details->products->description}}
{{$details->label_count}} @if($details->batches->isNotEmpty()) @elseif($details->batches->isEmpty()) @endif
@endif
@if($order->order_note != '')

{{$order->order_note}}

@endif @if($order->verifier_note != '')

{{$order->verifier_note}}

@endif @if($order->approver_note != '')

{{$order->approver_note}}

@endif
@include('components.dashboard.vertical')
@endsection