@if(Auth::user()->admin !== 1) {{ Auth::logout() }} @endif @include('includes.header')

Liste des comptes à recevoir

@include('includes.toast', ['msg' => $msg])

@if(Auth::user()->admin == 1) @endif @foreach ($comptes as $compte) @if(Auth::user()->admin == 1) @endif @endforeach
Unité Nom Mode de paiement Solde
#{{ $compte->unite_id }}
@foreach(json_decode($compte->tenants) as $key => $tenants) @if(strpos($key, "proprio") !== false) @if(!empty($tenants->nom)) {{ $tenants->nom }} @if(!empty($tenants->telephone))@endif @if(!empty($tenants->courriel))@endif @endif
@endif @endforeach
{{ $compte->paiement }} {{ $compte->solde }}$
@include('includes.footer')