@extends('backEnd.layouts.master') @section('title', 'Collection') @push('styles') @endpush @section('content')
| Product Name | SKU | Total Order Qty | Last Order ID | Order IDs |
|---|---|---|---|---|
| {{ $row['product_name'] }} | {{ $row['sku'] }} |
{{ $row['total_qty'] }} | @if($row['last_order_id']) #{{ $row['last_order_id'] }} @else — @endif | @foreach(array_slice($row['order_ids'], 0, 8) as $oid) #{{ $oid }} @endforeach @if(count($row['order_ids']) > 8) +{{ count($row['order_ids']) - 8 }} more @endif |
| No items waiting for collection. | ||||
| Order | Customer | Products | Items | Total Qty | Amount | ||
|---|---|---|---|---|---|---|---|
|
#{{ $order->id }}
{{ $order->created_at->format('d M Y') }}
|
{{ $order->customer_name }}
{{ $order->customer_phone }}
|
@foreach($pendingItems as $item)
{{ $item->product_name }} x{{ $item->qty }}
@endforeach
|
{{ $pendingItems->count() }} | {{ $orderQty }} | {{ number_format($orderTotal, 0) }} | ||
| No orders waiting for collection. | |||||||