@extends('layouts.dash') @section('title','Grand Livre') @section('title_card',"") @section('subtitle_card',"") @section('content')
@if (Session::has('message'))
{!! Session::get('message') !!}
@endif @if ($errors) @foreach ($errors->all() as $error)
{!! $error !!}
@endforeach @endif @if (Session::has('success'))
{!! \Session::get('success') !!}
@endif

Liste des Journaux @if($exercice_encours!=$exercice) Historique Non modififable @endif

{!! html()->hidden('checklist','')->attributes(['id'=>'checklist']) !!}
{!! html()->select('exercice',$exercices,$exercice)->attributes(['id' => 'exercice','class' => 'form-control']) !!}
@foreach ($journaux as $journal) @endforeach
N°Journal Date N°Compte Référence Libelle Débit Crédit Enc @if($user->can("JOU_AJO") || $user->HasRole("ADMINISTRATEUR")) @endif
@if($journal->IsCompensable) {!! html()->checkbox('box_'.$journal->id, '1',false)->attributes(['id'=>'box_'.$journal->id,'onclick'=>"check($journal->id)"]); !!} @endif {!! $journal->id !!} {!! $journal->date !!} {!! $journal->numcpt!!} {!! $journal->ref!!} {!! $journal->libelle!!} {!! number_format($journal->debit,0,","," ") !!} {!! number_format($journal->credit,0,","," ") !!} {!! $journal->enc!!}
@endsection @section('scripts') @endsection