@extends('layouts.layout') @section('content')
| Action | Order Id | Order Type | Charge Id | Order Date | Order Status | Custome Name | Custome Email | Grand Total / Paymemt Method | Tracking No. |
|---|---|---|---|---|---|---|---|---|---|
| @if ($order->order_type == 'normal') View @else View @endif | {{ $order->order_id }} | {{ $order->order_type == 'intake' ? 'Custom Order' : 'Normal' }} | @php if (!empty($order->method)) { if ($order->method == 'Financing - Affirm' || $order->method == 'Card Payment - Stripe') { echo $order->transaction_id; } else { echo $order->charge_id; } } else { echo 'N/A'; } @endphp | {{ format_est($order->created_at) }} | {{ $order->name }} | {{ ucfirst($order->first_name) }} {{ $order->last_name }} | {{ $order->email }} | $
{{ number_format($order->final_amount, 2) }}
/- {{ $order->method }} |
{{ !empty($order->tracking_number) ? $order->tracking_number : 'N/A' }} |
{{ $orders->appends(request()->query())->links() }}