@extends('backend.layouts.app') @section('content')
| # | Name | Phone | Address | Shipping | Subtotal | Products | Qty | Total | Date | Action | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $orders->firstItem() + $key }} | {{ $item->name }} | {{ $item->phone }} | {{ \Illuminate\Support\Str::limit($item->address, 40) }} | {{ $item->shipping_charge }} | {{ $item->subtotal }} | {{-- PRODUCTS (NO BACKGROUND, ONLY TEXT + HOVER) --}}@php $variations = is_array($item->variations) ? $item->variations : json_decode($item->variations, true); @endphp {{ $item->products_count }} Products | {{-- QUANTITY --}}@php $totalQty = 0; $variations = is_array($item->variations) ? $item->variations : json_decode($item->variations, true); if (!empty($variations)) { foreach ($variations as $v) { $totalQty += $v['qty'] ?? 0; } } @endphp {{ $totalQty }} | {{ $item->grand_total }} | {{ \Carbon\Carbon::parse($item->created_at)->format('d M Y h:i A') }} | Submit | |
| No Missing Orders Found | |||||||||||