@extends('layouts.user_dashboard_main')
@section('content')
@lang('public.Name') |
@lang('public.Amount') |
@lang('public.Date') |
@lang('public.Status') |
@lang('public.Action') |
{{-- @php
dd($all_transaction_list);
@endphp --}}
@foreach ($all_transaction_list as $key => $item)
@if ($item['status'] == 'Paid')
{{ $item['receiver_details']['name'] }}
@else
{{ $item['sender_details']['name'] }}
@endif
|
{{ $item['amount'] }}
|
{{ $item['date'] }}
|
|
|
@if ($item['status'] == 'Paid')
@lang('public.Paid_to')
@elseif($item['status'] == 'Withdraw')
@lang('public.Withdraw_from')
@else
@lang('public.Received_from')
@endif
@if ($item['status'] == 'Paid')
{{ $item['receiver_details']['name'] }}
@else
{{ $item['sender_details']['name'] }}
@endif
@if ($item['status'] == 'Paid')
{{ $item['receiver_details']['country_code'] }}
{{ $item['receiver_details']['phone'] }}
@else
{{ $item['sender_details']['country_code'] }}
{{ $item['sender_details']['phone'] }}
@endif
{{ $item['amount'] }}
@lang('public.Transfer_Details')
@lang('public.Transaction_ID')
{{ $item['id'] }}
@if ($item['status'] != 'Withdraw')
@lang('public.Credited_to')
@if ($item['status'] == 'Paid')
{{ $item['receiver_details']['name'] }}
@lang('public.Transcash_Wallet')
@else
{{ auth()->user()->name }}@lang('public.Transcash_Wallet')
@endif
+@if ($item['status'] == 'Paid')
{{ str_replace('-', '', $item['amount']) }}
@else
{{ str_replace('+', '', $item['amount']) }}
@endif
@endif
@endforeach
@if (Session::has('modal_message_success'))
@endif
@endsection