@extends("agentportal.layouts.layout") @section("title", trans("message_lang.LBL_REFERRAL_TXNS_REPORT")) @section("page_style") @endsection @section("content")

{!! trans("message_lang.LBL_REFERRAL_TXNS_REPORT") !!}

@csrf



@include('agentportal.layouts.date_filter')
{!! trans("message_lang.BTN_CLEAR_SEARCH") !!}
@if($transactions)
@endif
@if($request->has('txn_type') && $request->txn_type == "send") @elseif($request->has('txn_type') && $request->txn_type == "receive") @endif @forelse ($transactions as $key => $transaction) @if($request->has('txn_type') && $request->txn_type == "send") @elseif($request->has('txn_type') && $request->txn_type == "receive") @endif @empty @endforelse
# {!! trans("message_lang.LBL_DATE") !!} {!! trans("message_lang.LBL_REFERRAL_CODE") !!} {!! trans("message_lang.LBL_REFERENCE") !!} {!! trans("message_lang.LBL_PHONE_NUMBER") !!} {!! trans("message_lang.LBL_SENDING_AMOUNT") !!} {!! trans("message_lang.LBL_SENDING_FEE") !!}{!! trans("message_lang.LBL_TOTAL_AMOUNT") !!}{!! trans("message_lang.LBL_RECEIVING_AMOUNT") !!}
{!! $key + 1 !!} {!! format_date_tz($transaction->created_at)!!} {!! $transaction->code !!} {!! $transaction->reference_no !!} {!! $transaction->phone_number !!} {!! number_format($transaction->sending_amount, 2)." (".$transaction->sending_currency.")" ?? 0.00 !!} {!! number_format($transaction->fee, 2)." (".$transaction->sending_currency.")" ?? 0.00 !!}{!! number_format(($transaction->sending_amount + $transaction->fee + $transaction->sending_tax), 2)." (".$transaction->sending_currency.")" ?? 0.00 !!}{!! number_format(($transaction->payout_amount), 2)." (".$transaction->payout_currency.")" ?? 0.00 !!}
{!! trans('message_lang.DATATABLE_LBL_NO_DATA_AVAILABLE') !!}
@endsection @section("page_script") @endsection