@extends('web.layout.default') @section('page_title') | {{ trans('labels.my_wallet') }} @endsection @section('content')
@include('web.layout.usersidebar')

{{ trans('labels.my_wallet') }} :- {{ helper::currency_format(Auth::user()->wallet) }}

  • {{ trans('labels.fast_payment') }}
  • {{ trans('labels.secure_payment') }}
  • {{ trans('labels.no_document_required') }}
  • {{ trans('labels.wallet_note') }}
@if (count($gettransactions) > 0)
@foreach ($gettransactions as $tdata) @endforeach
{{ trans('labels.date') }} {{ trans('labels.amount') }} {{ trans('labels.description') }} {{ trans('labels.status') }}
{{ helper::date_format($tdata->created_at) }} {{ helper::currency_format($tdata->amount) }} @if (in_array($tdata->transaction_type, [101, 102, 103])) @if ($tdata->transaction_type == 101) {{ trans('labels.referral_earning') }} [{{ $tdata->username }}] @elseif ($tdata->transaction_type == 102) {{ trans('labels.wallet_recharge') }} {{ trans('labels.added_by_admin') }} @elseif ($tdata->transaction_type == 103) {{ trans('labels.deducted_by_admin') }} @endif @elseif(in_array($tdata->transaction_type, [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14])) {{ trans('labels.wallet_recharge') }} {{ helper::getpayment($tdata->transaction_type) }} {{ $tdata->transaction_id }} @elseif ($tdata->transaction_type == 2) {{ trans('labels.order_cancelled') }} @elseif ($tdata->transaction_type == 1) {{ trans('labels.order_placed') }} @else - @endif @if (in_array($tdata->transaction_type, [1, 2])) [{{ $tdata->order_number }}] @endif @if (in_array($tdata->transaction_type, [101, 102, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]))
{{ trans('labels.credit') }}
@else
{{ trans('labels.debit') }}
@endif
{{ $gettransactions->links() }}
@else @include('web.nodata') @endif
@endsection