@php $pages = $partsocial->pages; $nb_page_partsocial = $partsocial->nb_page; $total_debit = 0; $total_credit = 0; $total_droit = 0; $i = 0; $p = 0; @endphp @foreach ($pages as $operations) {{-- @include('guichet.pdf.entete-journal') --}}
N° | FOLIO | NOM ET PRENOM | N° PIECE | Démission | Adhésion | Droit |
---|---|---|---|---|---|---|
{{ $i }} | {{ $operation->id_tiers }} | {{ substr($operation->nom_tiers.' '.$operation->prenom_tiers, 0,30) }} | {{ $operation->num_piece }} | {{ number_format($operation->debit, 2, ',',' ') }} | {{ number_format($operation->credit, 2, ',',' ') }} | {{ number_format($operation->droit, 2, ',',' ') }} |
SOUS-TOTAL | {{ App\Lib\Format::number($st_credit, 2, ',',' ') }} | {{ App\Lib\Format::number($st_debit, 2, ',',' ') }} | {{ App\Lib\Format::number($st_droit, 2, ',',' ') }} | |||
TOTAL | {{ App\Lib\Format::number($total_credit, 2, ',',' ') }} | {{ App\Lib\Format::number($total_debit, 2, ',',' ') }} | {{ App\Lib\Format::number($total_droit, 2, ',',' ') }} |