@extends('admin.master_layout') @section('contant') @push('scripts') @endpush
Verified Transactions
Total Verified Transactions: {{$transactions->count();}}
@csrf
 All Processed Transactions   
@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 @endforeach
SL Date Customer ID Sender Receiver TrxId Currency Status Amount(BDT) Actions
{{$loop->iteration}} {{$transaction->cdate}}
{{ \Carbon\Carbon::createFromFormat('H:i:s', $transaction->ctime)->format('h:i A') }}
{{$transaction->sender_id}} {{$customerName}}
{{$customerContact}}
@if($receiverName == "") No Receiver @else {{$receiverName}} @endif
{{$receiverContact}}
{{$transaction->trx_id}} {{$transaction->currency}} Verified {{number_format($transaction->equivalent_amount, 2)}}   Process
Transaction Processing
@csrf
User Image
Assign Local Agents
@push('js_scripts') @endpush @endsection