@if(($mode!='show') && ($grand_livre_ligne->verrou!="1")) @endif @php $total_debit=0;$total_credit=0;$numligne=0; @endphp @if(count($ecritures)>0) @foreach ($ecritures as $ecriture) @php $numligne++; $total_debit+=$ecriture->debit; $total_credit+=$ecriture->credit; @endphp @if(($mode!='show')&&($grand_livre_ligne->verrou!="1")) @endif @endforeach @endif @if(($mode!='show')&&($grand_livre_ligne->verrou!="1")) @endif
Id Compte Libelle Compte Aux. Libelle Designation Débit Crédit @if(!$is_new) @if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("GLI_MAJ")) Nouvelle ligne @endif @endif
{!! $ecriture->id !!} {!! $ecriture->compte !!} {!! $ecriture->compte_label!!} {!! $ecriture->compte_aux !!} {!! $ecriture->compte_aux_label !!} {!! $ecriture->designation !!} {!! $ecriture->debit !!} {!! $ecriture->credit !!} @if($ecriture->verrou!="1") @if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("GLI_MAJ")) @if($numligne>1) @endif @endif @endif
TOTAL {!! $total_debit !!} {!! $total_credit !!}