@extends('admin.dashboard.layout.app') @section('style') @endsection @section('content') @include('admin.dashboard.layout.header', ['title' => 'EasyPaisa 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 ($easypaisa_transactions as $index => $transaction) @endforeach
# Order ID AsaanPay ID Transaction ID Merchant Name Amount Amount after Fees Email Number Date/Time Response Code Response Description Action
{{ $index + 1 }} {{ $transaction->order_id }} {{ $transaction->ap_transaction_id ?? 'N/A' }} {{ $transaction->transaction_id ?? 'N/A' }} {{ $transaction->merchant?->name }} {{ number_format($transaction->amount, 2) }} {{ number_format($transaction->amount_after_fees, 2) }} {{ $transaction->email }} {{ $transaction->number }} {{ $transaction->transaction_date_time }} {{ $transaction->response_code }} {{ $transaction->response_description }} @if ($transaction->response_code != 0000) @else @endif
@endif @if (request()->has('daterange'))
@endif
@endsection @section('script') @endsection