@extends('layouts.theme') @php $user = Auth::user(); @endphp @section('title',__('Wallet')) @section('main-wrapper')
{{ __('My Wallet') }}
{{env('APP_NAME')}} {{__('Wallet')}} @if(isset($user->wallet)) {{ $user->wallet->balance }} @else 0 @endif
@csrf
{{__('Add Money To Wallet')}}

{{ __('Once the money is added in wallet its non refundable.') }}

{{ __('You can use this money to purchase product on this portal.') }}

{{ __('Money will expire after 1 year from credited date.') }}

{{ __(' Wallet amount will always added in default currency which is: ') }} {{ $currency_code }}

@if(isset($wallethistory) && count($wallethistory) > 0)
@foreach($wallethistory as $wallet) @endforeach
{{__('Transactions')}} {{__('Amount')}}
{{$wallet->log}}
{{date('d M Y, h:i A', strtotime($wallet->created_at))}}
  • {{__('Transaction ID')}} : {{$wallet->txn_id}}
  • @if($wallet->type == 'Credit' || $wallet->type == 'credit')
  • {{__('Expire ON')}} : {{date('d M Y, h:i A', strtotime($wallet->expire_at))}}
  • @endif
@if($wallet->type == 'Credit' || $wallet->type == 'credit') + {{$wallet->amount}} @else - {{$wallet->amount}} @endif
@endif
@endsection