@if (session()->has('alert'))
@slot('type', session('alert')['type'])
@slot('msg', session('alert')['msg'])
@endif
@if ($errors->any())
@endif
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{ __('Orders') }}
# | {{__('User')}} | {{__('Plan')}} | {{__('Order ID')}} | {{__('Amount')}} | {{ __('Payment Gateway') }} | {{__('Status')}} | {{__('Created At')}} | {{__('Action')}} |
---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $order->user->username }} | {{ $order->plan->title }} | {{ $order->order_id }} | {{ number_format($order->amount) }} | {{ ucfirst($order->payment_gateway ?? __('Unknown')) }} | {{__(ucfirst($order->status)) }} | {{ $order->created_at->format('Y-m-d H:i') }} |
@if($order->payment_gateway == 'custom')
|
{{__('No orders')}} |
{{ $orders->links() }}