@isset($transactions) @forelse ($transactions as $item)
@if ($item->attribute == payment_gateway_const()::SEND) @else @endif
@if ($item->type == payment_gateway_const()::TYPEADDMONEY)

{{ __("Add Balance via") }} {{ @$item->currency->name }}

@elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT)

{{ __("Withdraw Money") }} {{ @$item->currency->name }}

@elseif ($item->type == payment_gateway_const()::BILLPAY)

{{ __("Bill Pay") }} ({{ @$item->details->bill_type_name }})

@elseif ($item->type == payment_gateway_const()::MOBILETOPUP)

{{ __("Mobile Topup") }} ({{ @$item->details->topup_type_name }})

@elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE)

{{ __("Balance Update From Admin") }}{{ __(" (".$item->creator_wallet->currency->code.")") }}

@elseif ($item->type == payment_gateway_const()::TYPETRANSFERMONEY) @if ($item->attribute == payment_gateway_const()::SEND)

{{ __("Send Money to") }} ({{ $item->details->receiver->email??$item->details->receiver_email }})

@elseif ($item->attribute == payment_gateway_const()::RECEIVED)

{{ __("Received Money from") }} ({{ $item->details->sender->email??$item->details->sender_email }})

@endif @elseif ($item->type == payment_gateway_const()::AGENTMONEYOUT)

{{ __("Received Money from") }} {{ __(" @" .@$item->details->sender_username." (".@$item->details->sender_email.")") }}

@elseif ($item->type == payment_gateway_const()::SENDREMITTANCE) @if ($item->attribute == payment_gateway_const()::SEND)

{{ __("Send Remittance to") }} {{ __(" @" . $item->details->receiver_recipient->email) }}

@elseif ($item->attribute == payment_gateway_const()::RECEIVED)

{{ __("Received Remittance from") }} {{ __(" @" .@$item->details->sender->fullname." (".@$item->details->sender->full_mobile.")") }}

@endif @elseif ($item->type == payment_gateway_const()::MONEYIN) @if ($item->attribute == payment_gateway_const()::SEND)

{{ __("Money In To") }} {{ __(" @" . @$item->details->receiver_username." (".@$item->details->receiver_email.")") }}

@endif @elseif ($item->type == payment_gateway_const()::TYPEMONEYEXCHANGE)

{{ __("Exchange Money") }} {{ $item->details->charges->from_wallet_country }} {{ __("To") }} {{ $item->details->charges->to_wallet_country }}

@endif {{ __($item->stringStatus->value) }}
@if ($item->type == payment_gateway_const()::TYPEADDMONEY)

{{ get_amount($item->request_amount,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}

{{ isCrypto($item->payable,$item->currency->currency_code??get_default_currency_code(),$item->currency->gateway->crypto) }}
@elseif($item->type == payment_gateway_const()::TYPEMONEYOUT)
{{ get_amount($item->request_amount,withdrawCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->details->charges->payable??$item->request_amount,withdrawCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }}

@elseif($item->type == payment_gateway_const()::BILLPAY)

{{ get_amount($item->request_amount,billPayCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->payable,billPayCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }}
@elseif($item->type == payment_gateway_const()::MOBILETOPUP)

{{ get_amount($item->request_amount,topUpCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->payable,topUpCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }}
@elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE)

{{ get_transaction_numeric_attribute($item->attribute) }}{{ get_amount($item->request_amount,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->available_balance,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}
@elseif ($item->type == payment_gateway_const()::TYPETRANSFERMONEY) @if ($item->attribute == payment_gateway_const()::SEND)
{{ get_amount($item->details->charges->sender_amount??$item->request_amount,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->details->charges->payable??$item->payable,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}

@elseif ($item->attribute == payment_gateway_const()::RECEIVED)
{{ get_amount($item->details->charges->receiver_amount??$item->request_amount,$item->details->charges->receiver_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
@endif @elseif ($item->type == payment_gateway_const()::AGENTMONEYOUT) @if ($item->attribute == payment_gateway_const()::RECEIVED)
{{ get_amount($item->details->charges->receiver_amount,$item->details->charges->receiver_currency,get_wallet_precision($item->creator_wallet->currency)) }}
@endif @elseif ($item->type == payment_gateway_const()::SENDREMITTANCE) @if ($item->attribute == payment_gateway_const()::SEND)
{{ get_amount($item->request_amount,$item->details->charges->sender_cur_code??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->payable,$item->details->charges->sender_cur_code??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}

@elseif ($item->attribute == payment_gateway_const()::RECEIVED)
{{ get_amount($item->payable,$item->details->charges->receiver_currency??get_default_currency_code()) }}
@endif @elseif($item->type == payment_gateway_const()::MONEYIN)

{{ get_amount($item->details->charges->sender_amount??$item->request_amount,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->details->charges->payable??$item->payable,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
@elseif ($item->type == payment_gateway_const()::TYPEMONEYEXCHANGE)

{{ get_amount($item->request_amount,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}

{{ get_amount($item->payable,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}
@endif
{{ __("type") }}
{{ @$item->type == "MONEY-OUT" ? "WITHDRAW" : @$item->type }}
{{ __("web_trx_id") }}
{{ $item->trx_id }}
@if ($item->type != payment_gateway_const()::TYPETRANSFERMONEY ) @if ($item->type != payment_gateway_const()::AGENTMONEYOUT ) @if ($item->type != payment_gateway_const()::SENDREMITTANCE )
{{ __("Exchange Rate") }}
@if ($item->type == payment_gateway_const()::TYPEADDMONEY) 1 {{ $item->creator_wallet->currency->code}} = {{ isCrypto($item->details->amount->exchange_rate??$item->currency->rate,$item->currency->currency_code??get_default_currency_code(),$item->currency->gateway->crypto) }} @elseif ($item->type == payment_gateway_const()::SENDREMITTANCE) 1 {{ get_default_currency_code() }} = {{ get_amount($item->details->to_country->rate,$item->details->to_country->code) }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT) 1 {{ withdrawCurrency($item)['wallet_currency'] }} = {{ isCrypto($item->details->charges->exchange_rate??$item->currency->rate??1,$item->currency->currency_code??get_default_currency_code(),$item->currency->gateway->crypto) }} @elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE) 1 {{ get_default_currency_code() }} = {{ get_amount($item->creator_wallet->currency->rate,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::BILLPAY) {{ get_amount(1,$item->details->charges->wallet_currency)." = ".get_amount($item->details->charges->exchange_rate,$item->details->charges->sender_currency,get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::MOBILETOPUP) @if($item->details->topup_type == "MANUAL") {{ get_amount(1,$item->details->charges->destination_currency)." = ".get_amount($item->details->charges->exchange_rate,$item->details->charges->sender_currency,get_wallet_precision($item->creator_wallet->currency)) }} @elseif($item->details->topup_type == "AUTOMATIC") {{ get_amount(1,$item->details->charges->sender_currency)." = ".get_amount($item->details->charges->exchange_rate,$item->details->charges->destination_currency,get_wallet_precision($item->creator_wallet->currency)) }} @endif @elseif ($item->type == payment_gateway_const()::MONEYIN) {{ get_amount(1,$item->details->charges->sender_currency??get_default_currency_code())." = ".get_amount($item->details->charges->exchange_rate??get_default_currency_rate(),$item->details->charges->receiver_currency??get_default_currency_code(),$item->details->charges->r_precision_digit??2) }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYEXCHANGE) 1 {{ $item->creator_wallet->currency->code }} = {{ get_amount($item->details->charges->exchange_rate,$item->details->charges->exchange_currency,$item->details->charges->r_precision_digit??2) }} @endif
@endif @endif @endif @if ($item->type == payment_gateway_const()::BILLPAY )
{{ __("bill Type") }}
{{ @$item->details->bill_type_name }}
{{ __("Bill Month") }}
{{ @$item->details->bill_month }}
{{ __("Bill Number") }}
{{ @$item->details->bill_number }}
{{ __("Conversion Amount") }}
{{get_amount($item->details->charges->conversion_amount,$item->details->charges->sender_currency,get_wallet_precision($item->creator_wallet->currency)) }}
@endif @if ($item->type == payment_gateway_const()::MOBILETOPUP ) @if($item->details->topup_type == "MANUAL")
{{ __("Will Get") }}
{{get_amount($item->details->charges->sender_amount,$item->details->charges->sender_currency,get_wallet_precision($item->creator_wallet->currency)) }}
@elseif($item->details->topup_type == "AUTOMATIC")
{{ __("Will Get") }}
{{get_amount($item->details->charges->conversion_amount,$item->details->charges->destination_currency,get_wallet_precision($item->creator_wallet->currency)) }}
@endif
{{ __("TopUp Type") }}
{{ @$item->details->topup_type_name }}
{{ __("Mobile Number") }}
{{ @$item->details->mobile_number }}
@endif @if ($item->type == payment_gateway_const()::TYPETRANSFERMONEY) @if ($item->attribute == payment_gateway_const()::SEND)
{{ __("Exchange Rate") }}
{{ get_amount(1,$item->details->charges->sender_currency??get_default_currency_code())." = ".get_amount($item->details->charges->exchange_rate??get_default_currency_rate(),$item->details->charges->receiver_currency??get_default_currency_code(),$item->details->charges->r_precision_digit??2) }}
{{ __("fees And Charges") }}
{{ get_amount($item->charge->total_charge,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("Recipient Received") }}
{{ get_amount($item->details->charges->receiver_amount??$item->details->recipient_amount,$item->details->charges->receiver_currency??get_default_currency_code(),$item->details->charges->r_precision_digit??2) }}
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("remark") }}
{{ @$item->remark}}
@else
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->details->charges->receiver_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("remark") }}
{{ @$item->remark}}
@endif @else @if ($item->type != payment_gateway_const()::AGENTMONEYOUT ) @if ($item->type != payment_gateway_const()::SENDREMITTANCE ) @if ($item->type != payment_gateway_const()::MONEYIN )
{{ __("fees And Charges") }}
@if ($item->type == payment_gateway_const()::TYPEADDMONEY) {{ isCrypto($item->charge->total_charge??0,$item->currency->currency_code??get_default_currency_code(),$item->currency->gateway->crypto) }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT) {{ get_amount($item->charge->total_charge??0,withdrawCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::SENDREMITTANCE) {{ get_amount($item->charge->total_charge,get_default_currency_code()) }} @elseif ($item->type == payment_gateway_const()::BILLPAY) {{ get_amount($item->charge->total_charge,billPayCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::MOBILETOPUP) {{ get_amount($item->charge->total_charge,topUpCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE) {{ get_amount($item->charge->total_charge,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYEXCHANGE) {{ get_amount($item->charge->total_charge,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }} @endif
@endif @endif @endif @if ($item->type != payment_gateway_const()::BILLPAY) @if ($item->type != payment_gateway_const()::MOBILETOPUP) @if ($item->type != payment_gateway_const()::SENDREMITTANCE) @if ($item->type != payment_gateway_const()::MONEYIN) @if ($item->type != payment_gateway_const()::AGENTMONEYOUT) @if ($item->type != payment_gateway_const()::TYPEMONEYEXCHANGE)
@if ($item->type == payment_gateway_const()::TYPEADDMONEY) {{ __("Current Balance") }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT) {{ __("Will Get") }} @elseif ($item->type == payment_gateway_const()::BILLPAY) {{ __("Payable Amount") }} @elseif ($item->type == payment_gateway_const()::MOBILETOPUP) {{ __("Payable Amount") }} @elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE) @if($item->attribute == payment_gateway_const()::SEND) {{ __("Total Deducted") }} @else {{ __("total Received") }} @endif @endif
@if ($item->type == payment_gateway_const()::TYPEADDMONEY) {{ get_amount($item->available_balance,$item->creator_wallet->currency->code??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT) {{ isCrypto($item->details->charges->will_get ?? $item->payable,withdrawCurrency($item)['gateway_currency'],$item->currency->gateway->crypto) }} @elseif ($item->type == payment_gateway_const()::BILLPAY) {{ get_amount($item->payable,get_default_currency_code()) }} @elseif ($item->type == payment_gateway_const()::MOBILETOPUP) {{ get_amount($item->payable,topUpCurrency($item)['wallet_currency']) }} @elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE) {{ get_amount($item->payable,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }} @endif
@endif @endif @endif @endif @endif @endif @if ($item->type != payment_gateway_const()::TYPEADDMONEY) @if ($item->type != payment_gateway_const()::SENDREMITTANCE) @if ($item->type != payment_gateway_const()::MONEYIN) @if ($item->type != payment_gateway_const()::AGENTMONEYOUT) @if ($item->type != payment_gateway_const()::TYPEMONEYEXCHANGE)
@if ($item->type == payment_gateway_const()::TYPEADDMONEY) {{ __("Total Amount") }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT) {{ __("Current Balance") }} @elseif ($item->type == payment_gateway_const()::BILLPAY) {{ __("Current Balance") }} @elseif ($item->type == payment_gateway_const()::MOBILETOPUP) {{ __("Current Balance") }} @elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE) {{ __("remark") }} @endif
@if ($item->type == payment_gateway_const()::TYPEADDMONEY) {{ get_amount($item->payable,@$item->currency->currency_code??get_default_currency_code()) }} @elseif ($item->type == payment_gateway_const()::TYPEMONEYOUT) {{ get_amount($item->available_balance,withdrawCurrency($item)['wallet_currency']??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::BILLPAY) {{ get_amount($item->available_balance,billPayCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::MOBILETOPUP) {{ get_amount($item->available_balance,topUpCurrency($item)['wallet_currency'],get_wallet_precision($item->creator_wallet->currency)) }} @elseif ($item->type == payment_gateway_const()::TYPEADDSUBTRACTBALANCE) {{ $item->remark }} @endif
@endif @endif @endif @endif @endif @endif @if ($item->type == payment_gateway_const()::SENDREMITTANCE) @if ($item->attribute == payment_gateway_const()::SEND)
{{ __("Exchange Rate") }}
1 {{ $item->details->charges->sender_cur_code??get_default_currency_code() }} = {{ get_amount($item->details->charges->exchange_rate??$item->details->to_country->rate,$item->details->to_country->code,$item->details->charges->r_precision_digit??2)}}
{{ __("fees And Charges") }}
{{ get_amount($item->charge->total_charge,$item->details->charges->sender_cur_code??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
@endif
{{ __("sending Country") }}
{{ @$item->details->form_country }}
{{ __("Receiving Country") }}
{{ @$item->details->to_country->country }}
@if ($item->attribute == payment_gateway_const()::SEND)
{{ __("Sender Recipient Name") }}
{{ @$item->details->sender_recipient->firstname.' '.@$item->details->sender_recipient->lastname}}
{{ __("Receiver Recipient Name") }}
{{ @$item->details->receiver_recipient->firstname.' '.@$item->details->receiver_recipient->lastname}}
@endif
{{ __("Transaction Type") }}
@if( @$item->details->remitance_type == "wallet-to-wallet-transfer") {{@$basic_settings->site_name}} {{__("Wallet")}} @else {{ ucwords(str_replace('-', ' ', @$item->details->remitance_type))}} @endif
@if( @$item->details->remitance_type == "bank-transfer")
{{ __("bank Name") }}
{{ ucwords(str_replace('-', ' ', @$item->details->receiver_recipient->alias))}}
@endif @if( @$item->details->remitance_type == "cash-pickup")
{{ __("Pickup Point") }}
{{ ucwords(str_replace('-', ' ', @$item->details->receiver_recipient->alias))}}
@endif @if ($item->attribute == payment_gateway_const()::SEND)
{{ __("Receipient Get") }}
{{ get_amount($item->details->recipient_amount,$item->details->to_country->code,$item->details->charges->r_precision_digit??2) }}
@else
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->details->charges->receiver_cur_code??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
@endif
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->details->charges->sender_cur_code??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
@endif @if ($item->type == payment_gateway_const()::MONEYIN)
{{ __("fees And Charges") }}
{{ get_amount($item->charge->total_charge,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("Recipient Received") }}
{{ get_amount($item->details->charges->receiver_amount??$item->details->recipient_amount,$item->details->charges->receiver_currency??get_default_currency_code(),$item->details->charges->r_precision_digit??2) }}
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->details->charges->sender_currency??get_default_currency_code(),get_wallet_precision($item->creator_wallet->currency)) }}
@endif @if ($item->type == payment_gateway_const()::AGENTMONEYOUT)
{{ __("Recipient Received") }}
{{ get_amount($item->details->charges->receiver_amount,$item->details->charges->receiver_currency,get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("Profit Amount") }}
{{ get_amount($item->details->charges->agent_total_commission,$item->details->charges->receiver_currency,get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->details->charges->receiver_currency,get_wallet_precision($item->creator_wallet->currency)) }}
{{ __("remark") }}
{{ @$item->remark}}
@endif @if ($item->type == payment_gateway_const()::TYPEMONEYEXCHANGE)
{{ __("Exchangeable Balance") }}
{{ get_amount($item->details->charges->exchange_amount,$item->details->charges->exchange_currency,$item->details->charges->r_precision_digit??2) }}
{{ __("Current Balance") }}
{{ get_amount($item->available_balance,$item->creator_wallet->currency->code,get_wallet_precision($item->creator_wallet->currency)) }}
@endif
{{ __("Time & Date") }}
{{ $item->created_at->format('d-m-y h:i:s A') }}
@if (@$item->type == payment_gateway_const()::TYPEADDMONEY) @if ($item->gateway_currency->gateway->isTatum($item->gateway_currency->gateway) && $item->status == payment_gateway_const()::STATUSWAITING)
@csrf @php $input_fields = $item->details->payment_info->requirements ?? []; @endphp @foreach ($input_fields as $input)
{{ $input->label }}
@endforeach
@endif @endif @if( $item->status == 4 || $item->status == 6 && $item->reject_reason != null)
{{ __("Rejection Reason") }}
{{ __($item->reject_reason) }}
@endif
@empty
{{ __("No data found!") }}
@endforelse {{ get_paginate($transactions) }} @endisset