@extends('admin.layout.app') @section('preload-section') @endsection @section('content')
| # | {{ __('keywords.Cart_id') }} | {{ __('keywords.Cart price') }} | {{ __('keywords.User') }} | Order Date | Expected Delivery Date | {{ __('keywords.Cart Products') }} | {{ __('keywords.Payment') }} | {{ __('keywords.Order Status') }} | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $order->cart_id }} | {{ $order->total_price }} | {{ $order->user?->name }} ({{ $order->user?->user_phone }}) |
{{ $order->order_date }} | {{ $order->delivery_date }} | @if ($order->payment_status == 'success' || $order->payment_status == 'Success') | {{ $order->payment_method }} | Paid | @endif @if ($order->payment_status == 'cod' || $order->payment_status == 'COD' || $order->payment_status == 'Cod')Cash on Delivery | @endif @if ($order->payment_status == 'pending' || $order->payment_status == 'Pending')Pending | @endif
{{ $order->order_status }} |
| {{ __('keywords.No data found') }} | @for ($i = 1; $i < 10; $i++) @endfor