@extends('layouts.dash') {!! $with_navbar=false !!} @section('title') Transaction @stop @section('title_card',"") @section('content')

Transaction - consultation ({{ $grand_livre_ligne->IdTransaction }})

{{ html()->modelForm($grand_livre_ligne, 'PUT', url('/grand_livre/' . $grand_livre_ligne->id))->open() }} @if(Session::has('transacstore')) {!! html()->hidden('transacstore', Session::get('transacstore'))->attributes(['id'=>'transacstore']) !!} @endif
{!! html()->label('DateCpt','date_doc') !!} {!! html()->text('created_at', $grand_livre_ligne->date_doc)->attributes(['style'=>'text-align:center','disabled','class' => 'form-control']) !!}
{!! html()->label('Journal','journal') !!} {!! html()->text('journal', $grand_livre_ligne->journal)->attributes(['disabled','style'=>'text-align:center','class' => 'form-control']) !!}
{!! html()->label('Référence','ref_doc') !!} {!! html()->text('ref_doc', $grand_livre_ligne->ref_doc)->attributes([(($mode=='show')?'disabled':''),'class' => 'form-control']) !!}
$grand_livre_ligne->date_doc {!! html()->label('Date de création','created_at') !!} {!! html()->text('created_at', $grand_livre_ligne->DateCreation)->attributes(['disabled','style'=>'text-align:center','class' => 'form-control']) !!}
@if($grand_livre_ligne->verrou) @endif
@php $total_credit=0;$total_debit=0;$verrou=0; @endphp @foreach($ecritures as $ecriture) @php $total_credit+=$ecriture->credit; $total_debit+=$ecriture->debit; if(!$verrou) $verrou=$ecriture->verrou; @endphp @endforeach
Compte Compte Auxiliaire IdPièce DatePièce Libellé Opération Débit Crédit
{{ $ecriture->compte." - ".$ecriture->compte_label }} {{ $ecriture->compte_aux." - ".$ecriture->compte_aux_label }} {{ $ecriture->id_ref }} {{ $ecriture->date_ref }} {{ $ecriture->designation }} {{ $ecriture->debit }} {{ $ecriture->credit }}
TOTAL {{ $total_credit }} {{ $total_debit }}
@if(!$verrou) @if($user->hasRole("ADMINISTRATEUR") || $user->can("GLI_MAJ")) Modifier @endif @endif @if($submenu=="comptes") Retour @elseif($submenu=="ecritures") Retour @else Retour @endif
{{ html()->closeModelForm() }}
@endsection @section('scripts0') @endsection @section('scripts') @endsection