@extends("../dashboard._blank") @section("sidebar") @include("../dashboard._sidebar") @endsection @section("css_add") @endsection @section("content")
@if ($errors->any())
@endif @if(session("success"))
{{ session('success') }}
@elseif(session("error"))
{{ session('error') }}
@endif

Détails des paiements

Client: {{ $contribution->user->first_name }} {{ $contribution->user->last_name }} | Projet: {{ $project->titre }}

Retour @if(($contribution->type_payment !='virement' || $contribution->reference !='virement') && $project->support_investissement!='actionnariat') Ajouter un paiement @endif Télécharger rapport
Client

{{ $contribution->user->first_name }} {{ $contribution->user->last_name }}

Nombre de parts

{{ $contribution->part }}

Prix par part

{{ $project->action_prix }} XOF

Montant total à investir

{{ intVal($project->action_prix)*intVal($contribution->part) }} XOF

Rendement annuel

{{ $project->pourcentage_gain }} %

Gain annuel

{{ intVal((($project->action_prix * $contribution->part)*($project->pourcentage_gain/100))) }} XOF

Gain sur {{ $project->date_gain }} {{ $project->frequence_paiement }}

{{ intVal((($project->action_prix * $contribution->part)*($project->pourcentage_gain/100)) * $project->date_gain ) }} XOF

Retour total sur investissement

{{ (intVal($project->action_prix)*intVal($contribution->part)) + (intVal((($project->action_prix * $contribution->part)*($project->pourcentage_gain/100)) * $project->date_gain )) }} XOF

Montant total payé

{{ $total_payments }}

XOF
Total restant à payer

{{ (intVal($project->action_prix)*intVal($contribution->part)) - $total_payments }}

XOF
Statut de l'investissement
@if($contribution->investissement_payment_status) Complété @else En cours @endif

Historique des paiements

@if($payments->count() > 0) @foreach($payments as $payment) @endforeach
Référence Montant Mensualités payées Date de paiement
{{ $payment->reference }} {{ number_format($payment->montant, 0, ',', ' ') }} XOF {{ $payment->number_month_paid }} {{ date("d/m/Y H:i", strtotime($payment->created_at)) }}
@else

Aucun paiement enregistré

Les paiements apparaîtront ici une fois qu'ils seront ajoutés.

@endif
@endsection @section('script') @endsection