@extends('layouts.frontend') @section('title', 'Transactions History') @section('css') @endsection @section('content')
@include('users.inc.sidebar')
@include('users.affiliates.quicklink') @if(Session::has('success'))
Success! {{Session::get('success')}}
@endif @if(Session::has('error'))
Error! {{Session::get('error')}}
@endif
Send Withdraw Request

Transaction history

@if(count($wallets)>0) @foreach($wallets as $index => $wallet) @endforeach @endif
SL Date Type Amount Payment Info Status
{{ $index+1 }} {{\Carbon\Carbon::parse($wallet->created_at)->format(Config::get('siteSetting.date_format'))}} ({{\Carbon\Carbon::parse($wallet->created_at)->format('h:i:s A')}}) {{ $wallet->type }} @if($wallet->amount<0 || $wallet->type == 'withdraw') - {{Config::get('siteSetting.currency_symble'). str_replace('-', '', $wallet->amount) }} @else {{Config::get('siteSetting.currency_symble'). str_replace('+', '', $wallet->ref_earning) }} @endif @if($wallet->type == 'withdraw') Pay Method: {{ ($wallet->paymentGateway) ? $wallet->paymentGateway->method_name : $wallet->payment_method }} @else Affiliate Earning @endif
@if($wallet->account_no) {{$wallet->account_no}}
@endif @if($wallet->transaction_details) {{$wallet->transaction_details}} @endif
@if($wallet->status == 'paid') {{$wallet->status}} @elseif($wallet->status == 'received') {{$wallet->status}} @elseif($wallet->status == 'cancel') {{$wallet->status}} @else {{$wallet->status}} @endif
@endsection @section('js') @endsection