@extends('layouts.layout') @section('content')
@foreach ($list as $item) @if ($item->name == 'Pending') @php $color = 'secondary';@endphp @endif {{-- --}} @endforeach
Order Id Custome Name Custome Address Tracking No Shipping Status Shipment Date Payment Method Estimated Date of Delivery Amount Actions
{{ $item->order_id }} {{ $item->username }} {{ $item['useraddress']['address_line1'] ?? 'N/A' }} {{ $item['useraddress']['city'] ?? '' }} , {{ $item['useraddress']['state'] ?? '' }} , {{ $item['useraddress']['country'] ?? '' }} {{ $item->tracking_number }} {{ $item->name }} {{ date('M d, Y', strtotime($item->created_at)) }}{{ format_est($item->created_at) }} Card Payment N/A ${{ number_format($item->amount, 2) }}/-
@csrf @method('DELETE')
{{--
Showing {{ $list->firstItem() }} to {{ $list->lastItem() }} of total {{ $list->total() }} entries

{{ $list->links() }}

--}}
@push('scripts') @endpush @endsection