@extends('user.layouts.master') @section('title', __('Investment History')) @section('content')

{{ __("Investment History") }}

{{ __("List of your investment plan that you have invested.") }}

{{ __("All Plans") }}
@if(filled($investments))
@foreach($investments as $invest) @endforeach
{{ __("ID") }} {{ __("Plan") }} {{ __("Date") }} {{ __("Invested") }} {{ __("Received") }} {{ __("Status") }}  
{{ the_inv(data_get($invest, 'ivx')) }} {{ data_get($invest, 'scheme.name') }} {{ show_date(data_get($invest, 'term_start'), true) }} {{ money(data_get($invest, 'amount'), data_get($invest, 'currency')) }} {{ money(data_get($invest, 'received'), data_get($invest, 'currency')) }} {{ __(ucfirst(data_get($invest, 'status'))) }}
@if(filled($investments) && $investments->hasPages())
{{ $investments->appends(request()->all())->links('misc.pagination') }}
@endif @else

{{ __('No investment plan found.') }}

@endif
@endsection @push('modal') @endpush