@extends(template() . 'layout.master2') @section('content2')
{{ __('Investment History') }}
{{ __('Back') }}
{{ __('Investment Log') }}
@forelse($transactions as $key => $transaction) @empty @endforelse
{{ __('Trx') }} {{ __('User') }} {{ __('Gateway') }} {{ __('Amount') }} {{ __('Currency') }} {{ __('Charge') }} {{ __('Payment Date') }} {{ __('Upcoming Payment') }}
{{ $transaction->transaction_id }} {{ @$transaction->user->fname . ' ' . @$transaction->user->lname }} @if ($transaction->gateway_id == 0) {{ __('Invest Using Balance') }} @else {{ @$transaction->gateway->gateway_name ?? 'Account Transfer' }} @endif {{ $transaction->amount }} @if ($transaction->gateway_id == 0) {{ $general->site_currency }} @else {{ $transaction->gateway->gateway_parameters->gateway_currency }} @endif {{ $transaction->charge . ' ' . $transaction->currency }} {{ $transaction->created_at->format('Y-m-d') }}

@if ($transaction->next_payment_date == null) {{__('Complete')}} @endif

{{ __('No Invest Found') }}
@if ($transactions->hasPages()) {{ $transactions->links() }} @endif
@endsection