@extends('layout.app') @section('content')
@if(auth()->user()->isTraitant()) Mes @endif Factures (Payées {{ $paids->count() }} / {{ $paids->count() + $unpaids->count() }} soit @if(($paids->count() + $unpaids->count()) > 0){{ round($paids->count() / ($paids->count() + $unpaids->count()) * 100) }}@else 0 @endif % - {{ number_format($totalPaid, 0, '', ' ') }} / {{ number_format($totalDue, 0, '', ' ') }} {!! htmlentities(auth()->user()->company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!})  

@if(!auth()->user()->isComptable()) @endif @foreach($paids as $paid) @php $data = $paid @endphp @if(!auth()->user()->isComptable()) @endif @endforeach @if(!auth()->user()->isComptable()) @endif @foreach($unpaids as $unpaid) @php $data = $unpaid @endphp @if(!auth()->user()->isComptable()) @endif @endforeach