{{-- profila info --}} {{ __('Профил') }} Информации за клиентот/инвеститорот
{{ __('Измени') }}
{{ $user->name }}
+3897
{{-- payment info --}} Информации за наплата Инфо за плаќање на клиентот/инвеститорот
@if(isset($user->id_card_picture_front)) @else / @endif
@if(isset($user->id_card_picture_back)) @else / @endif
{{-- projects info --}} Активни инвестиции Информации за платени инвестици
@foreach($user->payedInvestments() as $investor_user) @endforeach
# {{ __('Проект') }} {{ __('Влог') }} Датум на инвестирање Датум на уплата Почеток на градба Завршување на проектот Вкупна заработка Тип исплата {{ __('Профит') }}
{{ $loop->iteration }} {!! Str::words($investor_user->project->name, 5, '... ') !!} @if($investor_user->currencyValue == null) {!! number_format((float)str_replace(',', '', $investor_user->rangeValue) * (float)$investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @php $vlog = (float)str_replace(',', '', $investor_user->rangeValue) * (float)$investor_user->eur_to_mkd_rate; $profit = (float)str_replace(',', '', $investor_user->profit) * (float)$investor_user->eur_to_mkd_rate; @endphp @else @if($investor_user->currencyValue == 'eur') {!! number_format((float)str_replace(',', '', $investor_user->rangeValue) * (float)$investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @php $vlog = (float)str_replace(',', '', $investor_user->rangeValue) * (float)$investor_user->eur_to_mkd_rate; $profit = (float)str_replace(',', '', $investor_user->profit) * (float)$investor_user->eur_to_mkd_rate; @endphp @endif @if($investor_user->currencyValue == 'mkd') {!! number_format((float)$investor_user->rangeValue, 0, '.', ',') !!} @php $vlog = (float)str_replace(',', '', $investor_user->rangeValue); $profit = (float)str_replace(',', '', $investor_user->profit); @endphp @endif @endif {{ __('ден.') }} {{ $investor_user->investDate }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $investor_user->payed_date)->format('d/m/Y') }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $investor_user->project->start_date)->format('d/m/Y') }} @if($investor_user->id == 344) 15/07/2025 @else {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $investor_user->project->end_date)->format('d/m/Y') }} @endif {{ number_format((((float)$profit / (float)$vlog) * 100), 2, '.', ',') }}% {{-- {{ $investor_user->monthly_or_project_end_payment }} --}} @if($investor_user->monthly_or_project_end_payment == "monthly") Месечна @endif @if($investor_user->monthly_or_project_end_payment == "end_of_project") На крај од проект @endif @if($investor_user->currencyValue == null) {!! number_format((float)str_replace(',', '', $investor_user->profit) * (float)$investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @else @if($investor_user->currencyValue == 'eur') {!! number_format((float)str_replace(',', '', $investor_user->profit) * (float)$investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @endif @if($investor_user->currencyValue == 'mkd') {{ number_format($investor_user->profit, 0, '.', ',') }} @endif @endif {{ __('ден.') }} @if($investor_user->tip_uplata == "ednokratna") {{ __('Амортизационен план') }} @endif @if($investor_user->tip_uplata == "mesecna") {{ __('План за месечни уплати') }} @endif
{{-- zavrseni investicii --}} Завршени инвестиции Информации за завршени инвестици
@foreach($user->completedInvestments() as $c_investor_user) @endforeach
# {{ __('Проект') }} {{ __('Влог') }} Датум на инвестирање Датум на уплата Почеток на градба Завршување на проектот Вкупна заработка {{ __('Профит') }}
{{ $loop->iteration }} {!! Str::words($c_investor_user->project->name, 5, '... ') !!} @if($c_investor_user->currencyValue == null) {!! number_format((float)str_replace(',', '', $c_investor_user->rangeValue) * (float)$c_investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @php $vlog = (float)str_replace(',', '', $c_investor_user->rangeValue) * (float)$c_investor_user->eur_to_mkd_rate; $profit = (float)str_replace(',', '', $c_investor_user->profit) * (float)$c_investor_user->eur_to_mkd_rate; @endphp @else @if($c_investor_user->currencyValue == 'eur') {!! number_format((float)str_replace(',', '', $c_investor_user->rangeValue) * (float)$c_investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @php $vlog = (float)str_replace(',', '', $c_investor_user->rangeValue) * (float)$c_investor_user->eur_to_mkd_rate; $profit = (float)str_replace(',', '', $c_investor_user->profit) * (float)$c_investor_user->eur_to_mkd_rate; @endphp @endif @if($c_investor_user->currencyValue == 'mkd') {!! number_format((float)$c_investor_user->rangeValue, 0, '.', ',') !!} @php $vlog = (float)str_replace(',', '', $c_investor_user->rangeValue); $profit = (float)str_replace(',', '', $c_investor_user->profit); @endphp @endif @endif {{ __('ден.') }} {{ $c_investor_user->investDate }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $c_investor_user->payed_date)->format('d/m/Y') }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $c_investor_user->project->start_date)->format('d/m/Y') }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $c_investor_user->project->end_date)->format('d/m/Y') }} {{ number_format((((float)$profit / (float)$vlog) * 100), 2, '.', ',') }}% @if($c_investor_user->currencyValue == null) {!! number_format((float)str_replace(',', '', $c_investor_user->profit) * (float)$c_investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @else @if($c_investor_user->currencyValue == 'eur') {!! number_format((float)str_replace(',', '', $c_investor_user->profit) * (float)$c_investor_user->eur_to_mkd_rate, 0, '.', ',') !!} @endif @if($c_investor_user->currencyValue == 'mkd') {{ number_format($c_investor_user->profit, 0, '.', ',') }} @endif @endif {{ __('ден.') }} @if($c_investor_user->tip_uplata == "ednokratna") {{ __('Амортизационен план') }} @endif @if($c_investor_user->tip_uplata == "mesecna") {{ __('План за месечни уплати') }} @endif
{{-- potpisani neplateni --}} Неактивни инвестиции Потпишани неуплатени инвестици @foreach($user->signedInvestments() as $investor_userr) @endforeach
{{ __('Проект') }} {{ __('Влог') }} Почеток на градба Завршување на проектот Вкупна заработка {{ __('Профит') }}
{!! Str::words($investor_userr->project->name, 5, '... ') !!} @if($investor_userr->currencyValue == null) {!! number_format((float)str_replace(',', '', $investor_userr->rangeValue) * (float)$investor_userr->eur_to_mkd_rate, 0, '.', ',') !!} @else @if($investor_userr->currencyValue == 'eur') {!! number_format((float)str_replace(',', '', $investor_userr->rangeValue) * (float)$investor_userr->eur_to_mkd_rate, 0, '.', ',') !!} @endif @if($investor_userr->currencyValue == 'mkd') {!! number_format((float)$investor_userr->rangeValue, 0, '.', ',') !!} @endif @endif {{ __('ден.') }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $investor_userr->project->start_date)->format('d/m/Y') }} {{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $investor_userr->project->end_date)->format('d/m/Y') }} {{ number_format($investor_userr->investor_procenton, 2, '.', ',') }}% @if($investor_userr->currencyValue == null) {!! number_format((float)str_replace(',', '', $investor_userr->profit) * (float)$investor_userr->eur_to_mkd_rate, 0, '.', ',') !!} @else @if($investor_userr->currencyValue == 'eur') {!! number_format((float)str_replace(',', '', $investor_userr->profit) * (float)$investor_userr->eur_to_mkd_rate, 0, '.', ',') !!} @endif @if($investor_userr->currencyValue == 'mkd') {{ number_format($investor_userr->profit, 0, '.', ',') }} @endif @endif {{ __('ден.') }}
{{-- --}}