

<div class="form-group row">
    <div class="col-md-12">
        <div class="form-group row">
            <div class='col-md-4'>
                <?php echo html()->label( 'Référence : ','releve_ref'); ?>

                <?php echo html()->text('releve_ref', '', ['class' => 'form-control']); ?>

            </div>
        </div>
    </div>
</div>



<table id="_table" class="table table-striped table-hover dataTable dtr-inline" role="grid">
    <thead>
        <tr>
            <th width="1px" nowrap>Sel.
                <input id="box_all" class="form-control" name="sel" type="checkbox" value="1" onchange='select_all();'>
            </th>
            <th width='1%' title="Numéro de l'imputation">Imput</th>
            <th width='1%' title="Numéro du Mandat">Mandat</th>
            <th width='1%' title="Type d'imputation">Imput</th>
            <th width='1%' title="Compte">CompteImput.</th>
            <th width='1%' title="Contrepartie">Contrepartie</th>
            <th width='1%' title="Date du Mandat">DateMandat</th>
            <th width='1%' title="Type Mandat">TypeMandat</th>
            <th title="Designation">Designation</th>
            <th width='1%'>Montant</th>
        </tr>
    </thead>

    <tbody>
        <?php


        ?>
        <?php $__currentLoopData = $t_lignes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $imputation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
            $compte_dest=App\Models\MyApp::getCompteImputation($imputation->type_imp);
        ?>
        <tr>
            <td style='margin:0px'>
                <input id="box_<?php echo $imputation->id; ?>" class="form-control" name="box_<?php echo $imputation->id; ?>" type="checkbox" value="1" onchange='calcul_select();'>
            </td>
            <td nowrap><?php echo $imputation->id; ?></td>
            <td><a href="<?php echo e(url('mandats/'.$imputation->idmandat)); ?>" target='_blank'><?php echo $imputation->idmandat; ?></a></td>
            <td nowrap><?php echo $imputation->type_imp; ?></td>
            <td nowrap><?php echo $imputation->cpt_imp; ?></td>
            <td nowrap><?php echo $compte_dest; ?></td>
            <td><?php echo $imputation->MandatDate; ?></td>
            <td nowrap><?php echo $imputation->MandatType; ?></td>
            <td><?php echo $imputation->designation; ?></td>
            <td nowrap><?php echo number_format($imputation->montant,0, ',', ' '); ?></td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>

<?php if($t_lignes->count()>0): ?>
<div class='form-group row'>
    <div class="col-md-12">
        <button type="submit" class="btn btn-success"
            onclick='if(!confirm("Voulez-vous vraiment générer les écritures ?")) return false;'>Transférer les lignes sélectionnées</a>
    </div>
</div>
<?php endif; ?>







<?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/comptabilite/transferts/liste_imputations.blade.php ENDPATH**/ ?>