@extends('user.layouts.master') @push('css') @endpush @section('breadcrumb') @include('user.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("user.dashboard"), ] ], 'active' => __("Transactions")]) @endsection @section('content')

{{ __('Profit Investment') }}

@forelse ($profit_logs as $item) @empty @include('admin.components.alerts.empty',['colspan' => 10 , 'class' => "alert-warning"]) @endforelse
{{ __("Plan") }} {{ __("Duration") }} {{ __("Investment") }} {{ __("Profit") }} {{ __("Date") }}
{{ $item->invest->investPlan->name }} {{ $item->invest->investPlan->duration }} {{ __("Days") }} {{ get_amount($item->invest->invest_amount,$item->userWallet->currency->code,get_wallet_precision($item->userWallet->currency)) }} {{ get_amount($item->profit_amount,$item->userWallet->currency->code,get_wallet_precision($item->userWallet->currency)) }} {{ $item->created_at->format("d-m-Y H:i") }}
{{ get_paginate($profit_logs) }}
@endsection @push('script') @endpush