@extends('admin.dashboard.layout.app') @section('style') @endsection @section('content') @include('admin.dashboard.layout.header', ['title' => 'JazzCash Collection']) @if (request()->has('daterange')) @php $exploded_date = explode(' to ', request()->get('daterange')); $start_date = $exploded_date[0] ?? null; $end_date = $exploded_date[1] ?? null; @endphp @endif
| # | Order ID | Transaction Ref No | Merchant Name | Provider | Bill Reference | Phone Number | Amount | Amount after Fees | Status | Date/Time | Action | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $transaction->order_id }} | {{ $transaction->transaction_ref_no }} | {{ $transaction->merchant?->name }} | {{ $transaction->provider ?? 'N/A' }} | {{ $transaction->bill_reference }} | {{ $transaction->mobile_number }} | {{ number_format($transaction->amount, 2) }} | {{ number_format($transaction->amount_after_fees, 2) }} | {{ $transaction->status }} | {{ $transaction->response_message }} | {{ $transaction->created_at->format('d/m/Y H:i') }} | @if ($transaction->response_code != 000 && $transaction->response_code != 121) @else @endif |