@extends('page') @section('content') Order # {{$order->id}} List Orders Order Details @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 STATUS : @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) # Product Details Label Count @foreach($order->products as $dkey => $details) {{$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()) {{$details->batches->count()}} Batches @elseif($details->batches->isEmpty()) Create Batch @endif @php $x++; @endphp @endforeach @endif @if($order->order_note != '') Creator Note {{$order->order_note}} @endif @if($order->verifier_note != '') Verifier Note {{$order->verifier_note}} @endif @if($order->approver_note != '') Approver Note {{$order->approver_note}} @endif Back @include('components.dashboard.vertical') Large Modal × Image Label @endsection
{{$order->order_note}}
{{$order->verifier_note}}
{{$order->approver_note}}