@extends('layouts.tabler') @section('content')
| ID | Invoice No | Customer | Phone | City | Address | Total | Status | Payment Type | Order Date | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $order->id }} | {{ $order->invoice_no ?? '-' }} | {{ $order->customer_name ?? '-' }} | {{ $order->customer_email ?? '-' }} | {{ $order->customer_phone ?? '-' }} | {{ $order->customer_city ?? '-' }} | {{ $order->customer_address ?? '-' }} | {{ number_format((float)($order->total ?? 0), 2) }} | @if((int) $order->order_status === 1) Completed @else Pending @endif | {{ $order->payment_type ?? '-' }} | {{ $order->order_date ? \Carbon\Carbon::parse($order->order_date)->format('Y-m-d H:i') : '-' }} | |
| No orders found | |||||||||||