<h1 class="mb-5 text-center w-75"><?php echo e($name); ?></h1>
<?php if($verif && !isset($filters['end_date'])): ?>
    <h3 class="mb-5 text-center">Merci de sélectionner une date de fin pour afficher les marchés à renouveler sur les 6
        prochains mois. </h3>
<?php endif; ?>
<?php if($verif): ?>
    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.noData','data' => []]); ?>
<?php $component->withName('noData'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php endif; ?>
<?php if(!$renewalMarkets['renewalMarket']->isEmpty()): ?>
    <table class="table table-bordered" id="sortTable">
        <thead>
        <tr class="bg-primary text-white">
            <th scope="col">Libellé marché
            </th>
            <th scope="col">Dates de fin de marché
            </th>
        </tr>
        </thead>
        <tbody>
        <?php $__currentLoopData = $renewalMarkets['renewalMarket']->items(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $renewalMarket): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <th scope="row"><?php echo e($renewalMarket->libelle_marche); ?></th>
                <td><?php echo e(strftime('%d-%m-%Y',strtotime($renewalMarket->date_fin))); ?></td>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>
    <?php echo e($renewalMarkets['renewalMarket']->appends(request()->except('renewalPage'))->links()); ?>

    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.saveAsExcel','data' => ['data' => $renewalMarkets['allData'],'nameFile' => 'Renouvellement des marchés sur les 6 prochains mois']]); ?>
<?php $component->withName('saveAsExcel'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($renewalMarkets['allData']),'nameFile' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Renouvellement des marchés sur les 6 prochains mois')]); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php endif; ?>
<?php /**PATH /var/www/html/resources/views/components/charts/renewalMarketTab.blade.php ENDPATH**/ ?>