@php
$investorCaption = getContent('investor.caption',true);
@endphp
@if($investorCaption)
@php
$topInvestor = \App\Invest::with('user')
->selectRaw('SUM(amount) as totalAmount, user_id')
->orderBy('totalAmount', 'desc')
->groupBy('user_id')
->limit(6)
->get()->toArray();
@endphp
{{__(@$investorCaption->data_values->short_details)}}{{__(@$investorCaption->data_values->title)}}
{{json_decode(json_encode($data['user']['username']))}}
@lang('Total Invest') : {{$general->cur_sym}}{{$data['totalAmount'] }}