@extends('admin.layouts.master') @push('css') @endpush @section('page-title') @include('admin.components.page-title',['title' => __($page_title)]) @endsection @section('breadcrumb') @include('admin.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("admin.dashboard"), ] ], 'active' => __("Exchange Money Logs")]) @endsection @section('content')
{{ $page_title }}
@if(count($transactions) > 0) @endif
@forelse ($transactions ?? [] as $key => $item) @empty @include('admin.components.alerts.empty',['colspan' => 12]) @endforelse
{{ __("TRX ID") }} {{ __("User Type") }} {{ __("User Email") }} {{ __("From Country") }} {{ __("To Country") }} {{ __("Exchange Amount") }} {{ __("Exchange Rate") }} {{ __("Exchangeable Amount") }} {{ __("charge") }} {{ __("Payable") }} {{ __(("Status")) }} {{ __("Time") }}
{{ $item->trx_id }} @if($item->user_id != null) {{ __("USER") }} @elseif($item->agent_id != null) {{ __("AGENT") }} @elseif($item->merchant_id != null) {{ __("MERCHANT") }} @endif @if($item->user_id != null) {{ $item->creator->email }} @elseif($item->agent_id != null) {{ $item->creator->email }} @elseif($item->merchant_id != null) {{ $item->creator->email }} @endif {{ $item->details->charges->from_wallet_country}} {{ $item->details->charges->to_wallet_country}} {{ get_amount($item->details->charges->request_amount,$item->details->charges->request_currency,get_wallet_precision($item->creator_wallet->currency)) }} {{ get_amount(1,$item->details->charges->request_currency) ." = ".get_amount($item->details->charges->exchange_rate,$item->details->charges->exchange_currency,$item->details->charges->r_precision_digit??2) }} {{ get_amount($item->details->charges->exchange_amount,$item->details->charges->exchange_currency,$item->details->charges->r_precision_digit??2) }} {{ get_amount($item->charge->total_charge,$item->details->charges->request_currency,get_wallet_precision($item->creator_wallet->currency)) }} {{ get_amount($item->details->charges->payable,$item->details->charges->request_currency,get_wallet_precision($item->creator_wallet->currency)) }} {{ __($item->stringStatus->value) }} {{ $item->created_at->format('d-m-y h:i:s A') }}
{{ get_paginate($transactions) }}
@endsection @push('script') @endpush