@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'))
@foreach ($jazzcash_transactions as $transaction) @endforeach
# Order ID Transaction Ref No Merchant Name Provider Bill Reference Phone Number Amount Amount after Fees Status Response Message 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
@endif @if (request()->has('daterange'))
@endif
@endsection @section('script') @endsection