@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' => __("Statements")]) @endsection @section('content')

{{ __("Account Statement") }}

{{-- @csrf --}}
@php $time_period = request()->get('time_period'); @endphp
@php $status = request()->get('status'); @endphp
@if (isset($transactions) && count($transactions) > 0)
@endif
@if(isset($transactions))
@forelse ($transactions as $item ) @empty @include('admin.components.alerts.empty',['colspan' => 11]) @endforelse
{{ __("MTCN Number") }} {{ __("Sender Name") }} {{ __("Receiver Name") }} {{ __("Sending Amount") }} {{ __("Receiving Amount") }} {{ __("Sending Purpose") }} {{ __("Source Of Fund") }} {{ __("Transaction Type") }} {{ __("Payment Method") }} {{ __("Payable Amount") }} {{ __("Status") }}
{{ $item->trx_id ?? ''}} {{ $item->remittance_data->sender_name ?? '' }} {{ $item->remittance_data->first_name ?? '' }} {{ $item->remittance_data->middle_name ?? 'N/A' }} {{ $item->remittance_data->last_name ?? '' }} {{ get_amount($item->request_amount) ?? '' }} {{ $item->remittance_data->sender_currency }} {{ get_amount($item->will_get_amount) ?? '' }} {{ $item->remittance_data->receiver_currency }} {{ $item->remittance_data->sending_purpose ?? '' }} {{ $item->remittance_data->source ?? '' }} {{ __($item->remittance_data->type) ?? '' }} {{ $item->remark ?? '' }} {{ get_amount($item->payable) ?? '' }} @if ($item->status == global_const()::REMITTANCE_STATUS_REVIEW_PAYMENT) {{ __("Review Payment") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_PENDING) {{ __("Pending") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_CONFIRM_PAYMENT) {{ __("Confirm Payment") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_HOLD) {{ __("On Hold") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_SETTLED) {{ __("Settled") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_COMPLETE) {{ __("Completed") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_CANCEL) {{ __("Canceled") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_FAILED) {{ __("Failed") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_REFUND) {{ __("Refunded") }} @else {{ __("Delayed") }} @endif
@endif
@endsection @push('script') @endpush