@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
@php $today = \Carbon\Carbon::now()->format('Y-m-d'); @endphp
@if (request()->has('daterange'))
@forelse ($jazzcash_transactions ?? [] as $transaction) @empty @endforelse
# Order ID Transaction Ref No Merchant Name Provider Bill Reference Phone Number Amount Amount after Fees Status Response Message Response Message IPN Date/Time Action
{{ ($jazzcash_transactions->currentPage() - 1) * $jazzcash_transactions->perPage() + $loop->iteration }} {{ $transaction->order_id }} {{ $transaction->transaction_ref_no }} {{ $transaction->merchant_name ?? 'N/A' }} {{ $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->response_message_ipn ?? '' }} @if (!empty($transaction->created_at)) {{ \Carbon\Carbon::parse($transaction->created_at)->format('d/m/Y H:i') }} @endif
No records found for the selected filters.
@if (!empty($jazzcash_transactions)) @endif
@endif @if (request()->has('daterange'))
@endif
@endsection @section('script') @endsection