<div class="col-lg-max">
    <div class="form-group row">
        <div class="col-md-3">
            <?php echo Form::label('compte_aux', 'Compte auxiliaire'); ?>

            <?php echo Form::text('compte_aux', null, 
                ['disabled', 'placeholder' => '','class' => 'form-control']); ?>

        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <div class="tab-pane" id="compta">
                <legend>Liste des écritures</legend>
                <div class="form-group">
                    <div class="table">
                        <table id="_table" class="table table-condensed table-striped table-bordered" >
                        <?php if(count($ecritures)>0): ?>
                                <thead>
                                    <tr>
                                        <th nowrap width='1px'>N°</th>
                                        <th width='1px'>Transaction</th>
                                        <th width='1px'>Date</th>
                                        <th width='1px'>Ref</th>
                                        <th width='1px'>Journal</th> 
                                        <th width='1px'>Compte</th>
                                        <th >Désignation</th>
                                        <th width='1px'>Débit</th>
                                        <th width='1px'>Crédit</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $__currentLoopData = $ecritures; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ecriture): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td align="center" style="color:grey"><?php echo $ecriture->id; ?></td>
                                        <td align="center"><?php echo $ecriture->transaction; ?></td>
                                        <td align="center"><?php echo $ecriture->date_doc; ?></td>
                                        <td align="center"><?php echo $ecriture->ref_doc; ?></td>
                                        <td align="center"><?php echo $ecriture->journal; ?></td>
                                        <td align="center"><?php echo $ecriture->compte; ?></td>
                                        <td align="left"><?php echo $ecriture->designation; ?></td>
                                        <td align="right"><?php echo $ecriture->debit; ?></td>
                                        <td align="right"><?php echo $ecriture->credit; ?></td>
                                    </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            
                        <?php else: ?>
                            <thead>
                                <tr>
                                    <td nowrap width='1px' style="font-style:italic;color:darkred">
                                        Aucune écriture
                                    </td>
                                </tr>
                            </thead>
                            
                        <?php endif; ?>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/tiers/employeurs/rows_compta.blade.php ENDPATH**/ ?>