@extends('layouts.dash') @section('title','Grand Livre') @section('title_card',"Grand Livre") @section('subtitle_card',"Liste complète") @section('content')
| Transaction | Ref | Date | Piece | journal | Code Compte | Compte | Code Compte Aux. | Nom Compte AUx. | Designation | Débit | Crédit | @if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")|| $user->canPermissionName("GLI_MAJ"))@endif |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")|| $user->canPermissionName("GLI_VISU")) {!! $ligneGL->IdTransaction !!} @else {!! $ligneGL->IdTransaction !!} @endif | {!! $ligneGL->ref_doc !!} | {!! $ligneGL->date_doc !!} | @if(strlen($ligneGL->type)>=7) @if(substr($ligneGL->type,0,7)=="SALAIRE") {!! "Bulletin N° ".str_pad($ligneGL->piece,"0",4,STR_PAD_RIGHT) !!} @endif @if(substr($ligneGL->type,0,7)=="FACTURE") {!! "Achat N° ".str_pad($ligneGL->piece,"0",4,STR_PAD_RIGHT) !!} @endif @endif | {!! $ligneGL->journal !!} | {!! $ligneGL->compte !!} | {!! $ligneGL->CompteLabel !!} | {!! $ligneGL->compte_aux !!} | {!! $ligneGL->compte_aux_label !!} | {!! $ligneGL->designation !!} | {!! $ligneGL->debit !!} | {!! $ligneGL->credit !!} | @if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")|| $user->canPermissionName("GLI_MAJ"))@if($ligneGL->verrou!=1) {!! Form::open(['url' => url('grand_livre/' . $ligneGL->id), 'method' => 'DELETE']) !!} {{ csrf_field() }} @if($ligneGL->IsSupprimable) @endif {!! Form::close() !!} @endif | @endif