@extends('layouts.frontend-member') @section('title', __('message.report')) @section('content')
{{__('message.transaction history')}} @include('frontend.inc.change-language')
#
{{__('message.transaction type')}}
{{__('message.amount')}}
{{__('message.status')}}
{{__('message.created date')}}
@forelse ($depositWithdraws as $index=> $depositWithdraw)
{{$index+1}}
@if($depositWithdraw->cash_type=='cash_in') {{__('message.deposit')}} @else {{__('message.withdraw')}} @endif
@if($depositWithdraw->cash_type=='cash_in') {{ number_format(abs($depositWithdraw->amount),0) }} {{$setting_->currency_name}} @else {{ number_format(abs($depositWithdraw->amount),0) }} {{$setting_->currency_name}} @endif
@if ($depositWithdraw->status == 0) {{ __('message.pending') }} @elseif ($depositWithdraw->status == 1) {{ __('message.approved') }} @else {{ __('message.reject') }} @endif
{{ $depositWithdraw->created_at->format('d/m/Y H:i') }}
@empty

@endforelse
{{ $depositWithdraws->appends($_GET)->links() }}
@include('app.sweetAlert') @endsection