
<?php echo $with_navbar=false; ?>

<?php $__env->startSection('title'); ?> Transaction <?php $__env->stopSection(); ?>
<?php $__env->startSection('title_card',"Consulter une Transaction"); ?>


<?php $__env->startSection('content'); ?>
<div class="card">
        <?php if($errors): ?>
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class='bg-danger alert'><?php echo $error; ?></div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>

        <?php if(Session::has('message')): ?>
            <div class="alert alert-success"><?php echo Session::get('message'); ?></div>
        <?php endif; ?>


        <div class="col-lg-max col-lg-offset-1 container-fluid"> 

            <?php echo Form::model($grand_livre_ligne,
                ['grand_livre_ligne' => 'form', 'url' => '/grand_livre/'.$grand_livre_ligne->id, 'class' => 'form-horizontal', 'method' => 'PUT']); ?>


            <?php echo Form::hidden('id_ecriture_base',$grand_livre_ligne->id); ?>

            <?php echo $__env->make("comptabilite.grandlivre.content", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

            <div class='form-group row'>
                <div class="col-md-12">
                    <?php if($user->hasRole("ADMINISTRATEUR") || $user->can("GLI_MAJ")): ?>
                    <a href="<?php echo url('grand_livre/'.$grand_livre_ligne->id.'/edit'); ?>" 
                        class="btn btn-info " style="margin-right: 3px;">
                        Modifier
                    </a>
                    <?php endif; ?>
                    <a class="btn btn-warning"  href="<?php echo url('grand_livre'); ?>">Retour</a>
                </div>
            </div>
            <?php echo Form::close(); ?>

        </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.dash', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/comptabilite/grandlivre/show.blade.php ENDPATH**/ ?>