@extends('layouts.main') @section('content')
🛒 Orders & Payments
@can('order_create') @endcan
@if(session('success'))
{{ session('success') }}
@endif
@foreach($orders as $order) @endforeach
ID User Service Amount Method Txn ID Order Payment Action
#{{ $order->id }} {{ $order->user->name ?? $order->user->first_name ?? 'N/A' }} {{ $order->service->title ?? 'N/A' }} ₹{{ optional($order->payment)->amount ?? '0' }} {{ $order->payment->payment_method ?? '-' }} {{ $order->payment->transaction_id ?? '-' }} {{ ucfirst($order->order_status) }} {{ ucfirst($order->payment_status) }}
@csrf @method('PUT')
@endsection