            <table id="_table" width="100%" class="table table-condensed table-bordered ">
                <thead>
                    <tr>
                        <th width='1%'>Transaction</th>
                        <th width='1%'>Date</th>
                        <th >Référence</th> 
                        <th width='1%'>journal</th> 
                        <th width='1%'>Débit</th>
                        <th width='1%'>Crédit</th>
                        <?php if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")|| $user->canPermissionName("GLI_MAJ")): ?>
                            <th width='1px'>

                            </th>
                        <?php endif; ?> 
                    </tr>
                </thead>
                <tbody>
                    <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                        $equilibre=(abs($transaction->debit-$transaction->credit)==0)
                    ?>
                    <tr style="">
                        <td align="center">
                            <?php if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")|| $user->canPermissionName("GLI_VISU")): ?>
                            <a href="<?php echo url('transaction/'.$transaction->transaction); ?>" >
                                <?php echo str_pad($transaction->transaction,5,"0",STR_PAD_LEFT); ?>

                            </a>
                            <?php else: ?>
                                <?php echo str_pad($transaction->transaction,5,"0",STR_PAD_LEFT); ?>

                            <?php endif; ?>
                        </td>
                        <td nowrap><?php echo $transaction->date_doc; ?></td>
                        <td nowrap>
                            <?php echo $transaction->ref_doc; ?>

                            <?php if(!$equilibre): ?>
                                <span class="right badge badge-danger">TRANSACTION PARIELLE (non équilibrée)</span>
                            <?php endif; ?>
                        </td>
                        <td nowrap><?php echo $transaction->journal; ?></td>
                        <td align='right' nowrap style="<?php echo (!$equilibre)?'color:red':''; ?>"><?php echo $transaction->debit; ?></td>
                        <td align='right' nowrap style="<?php echo (!$equilibre)?'color:red':''; ?>"><?php echo $transaction->credit; ?></td>
                        <?php if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")|| $user->canPermissionName("GLI_MAJ")): ?>
                            <td nowrap>
                            <?php if((($transaction->verrou!=1)&&(1==0)) || ($user->hasRole("ADMINISTRATEUR"))): ?>
                                    <?php echo Form::open(['url' => url('transaction/' . $transaction->transaction), 'method' => 'DELETE']); ?>                                
                                    <?php echo e(csrf_field()); ?>

                                        <?php if($transaction->IsSupprimable): ?> 
                                            <button class="btn btn-danger btn-sm"><span class='fa fa-trash'></span></button>
                                        <?php endif; ?>
                                    <?php echo Form::close(); ?>

                            <?php endif; ?>
                            </td>
                        <?php endif; ?>
                    </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
            </table><?php /**PATH C:\xampp7422\htdocs\sysinfo\cpswf\sipre_new\resources\views/comptabilite/grandlivre/liste_transactions.blade.php ENDPATH**/ ?>