Les investissements sur le Projet : {{$project->titre}}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session("success"))
{{session('success')}}
@elseif(session("error"))
{{session('error')}}
@endif @if(intval($project->start_remboursment) === intval(date('Y')))
start_remboursment)===intval(date('Y'))) action="{{ route('investment.remboursement.global') }}" @endif method="post"> @csrf @if(intval($project->start_remboursment)===intval(date('Y'))) @endif
@endif @if(intval($project->retour_capital) === intval(date('Y')))
retour_capital)===intval(date('Y'))) action="{{ route('investment.remboursement.global') }}" @endif method="post"> @csrf @if(intval($project->retour_capital)===intval(date('Y'))) @endif
@endif
@php $i=1; @endphp @foreach($project->contributions as $contribution) @php $payments = $contribution->payment_logs; $payment_sum=0; $month_sum=0; if(isset($payments) && count(payments) > 0){ foreach($payments as $payment){ $payment_sum += $payment->montant; $month_sum += $payment->number_month_paid; } } @endphp @php $i++; @endphp @endforeach
Status de paiement Status de remboursement Investisseur Nombre d'action Capital Total A Payer Capital Total Payer Capital Total Restant à payer Type Paiement % Gain Total Gain RSI Investis le
@if (!$contribution->investissement_payment_status) paiement en cours @else paiement finalisé @endif @switch($contribution->statut) @case("investir") En attente @break @case("gain_envoyer") Terminé @break @endswitch {{$contribution->user->first_name}} {{$contribution->user->last_name}} {{ $contribution->part }} {{$contribution->part*$project->action_prix}} XOF @if($project->obligation_mensuel==='mensuel' && $project->support_investissement!='actionnariat')
sur {{ $project->nbre_obligation_mensuelle_paiement }} mois @endif
{{$contribution->montant}} XOF @if($project->obligation_mensuel==='mensuel' && $project->support_investissement!='actionnariat')
sur {{!$contribution->investissement_payment_status ? $contribution->number_month_paid : $project->nbre_obligation_mensuelle_paiement }} mois @endif
@if ($contribution->investissement_payment_status) 0 @else {{($contribution->part*$project->action_prix) - ($contribution->montant)}} XOF @if($project->obligation_mensuel==='mensuel' && $project->support_investissement!='actionnariat')
sur {{ $project->nbre_obligation_mensuelle_paiement - $contribution->number_month_paid }} mois @endif @endif
{{ $contribution->type_payment }}
@if($contribution->type_payment=='virement') voir reçu @endif
{{ $project->pourcentage_gain }} % {{ (intVal((($project->action_prix * $contribution->part)*($project->pourcentage_gain/100)) * $project->date_gain )) }} XOF {{ (intVal($project->action_prix * $contribution->part)+intVal((($project->action_prix * $contribution->part)*($project->pourcentage_gain/100)) * $project->date_gain )) }} XOF {{date("d-m-Y h:i:s",strtotime($contribution->created_at))}}