@extends("osadmin.adminmainlayout") @section("content")
@if (Session::has("success"))
{{ Session::get("success") }}
@endif

Order Details

Order Id: {{$od->order_id}}

Emp Id: {{$od->empid}}
Name: {{$od->empname}}
Email: {{$od->email}}
Mobile: {{$od->mobile}}
Address:
{{$od->address1}}
{{$od->address2}}
{{$od->country}} - {{$od->pcode}}
@if($od->orderProducts->isNotEmpty()) @foreach($od->orderProducts as $index => $product)

Product {{$index + 1}}

Product Size Qty Image Status Action
{{ $product->product }} {{ $product->size }} {{ $product->qty }} Product Image {{ $product->status }} Add
@endforeach @else

No products found for this order.

@endif
@endsection {{-- View orders Blade --}} @extends("osadmin.adminmainlayout") @section("content")

View Orders


@if (Session::has("success"))
{{Session::get("success")}}
@endif
@if($ord->isNotEmpty()) @foreach ($ord as $vr) @endforeach
Order Id Emp Id Name Mobile Product Size Qty Status Action
{{$vr->order_id}} {{$vr->empid}} {{$vr->empname}} {{$vr->mobile}} @foreach($vr->orderProducts as $product) @endforeach
{{$product->product}} {{$product->size}} {{$product->qty}}
Edit View
{{$ord->links()}} @else

No orders found.

@endif
@endsection