@extends('admin.master_layout')
@section('contant')
@push('scripts')
@endpush
{{ $bdt->count() }}
Total BDT Request
{{ $bkash->count() }}
Total bKash Request
{{ $nagad->count() }}
Total Nagad Request
{{ $rocket->count() }}
Total Rocket Request
{{ $recharge->count() }}
Total Request Recharge
{{ $customer->count() }}
Total Customer
Recent Verified Transactions
SL |
Date |
Customer ID |
Sender |
Receiver |
TrxId |
Currency |
Status |
Amount(BDT) |
@php
@endphp
@foreach($transactions as $transaction)
@php
try {
$cid = $transaction->sender_id;
$customer = App\Http\Controllers\TransactionsController::getCustomer($cid);
$customerName = $customer->name;
$customerContact = $customer->contact;
}catch (exception $e) {
$customerName = "";
$customerContact = "";
}
try {
$rid = $transaction->receiver_id;
$receiver = App\Http\Controllers\TransactionsController::getReceiver($rid);
$receiverName = $receiver->name;
$receiverContact = $receiver->contact;
}catch (exception $e) {
$receiverName = "";
$receiverContact = "";
}
@endphp
{{$loop->iteration}} |
{{$transaction->cdate}} |
{{$transaction->sender_id}}
|
{{$customerName}}
|
{{$receiverName}}
|
{{$transaction->trx_id}} |
{{$transaction->currency}} |
Verified |
{{number_format($transaction->equivalent_amount, 2)}} |
@endforeach
@push('js_scripts')
@endpush
@endsection