
<?php $__env->startSection('pageTitle',isset($pageTitle) ? $pageTitle : 'Administration'); ?>

<?php $__env->startSection('content'); ?>

<div class="row mb-3 ">
    <div class="col-md-6 col-sm-12">
        <div class="title">
            <h2 class="h3 mb-0">Administration</h2>
        </div>
    </div>
    <div class="col-md-6 col-sm-12 text-right">
        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('list-exercice',['ExChange' => true]);

$__html = app('livewire')->mount($__name, $__params, 'BCpgNL9', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
    </div>
</div>



<?php if(getCurrentExercice()): ?>

    <div class="row">
        <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 mb-30">
            <div class="card-box height-100-p overflow-hidden">
                <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('administration');

$__html = app('livewire')->mount($__name, $__params, 'kUTIyKj', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
            </div>
        </div>
    </div>

<?php else: ?>
<div class="alert alert-danger d-flex align-items-center" role="alert">
    <div>
        <i class="icon-copy bi bi-shield-fill-x"></i> Veuillez faire une configuration initiale  
        &nbsp;
        <a href="<?php echo e(route('home')); ?>" class="alert-link">go to Accueil</a>
    </div>
</div>
<?php endif; ?>

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


<?php $__env->startPush('scripts'); ?>
<script>
           window.addEventListener('showConfirmModalTauxChange', event => {
					$('#confirmation_modal_taux_change').modal('show');
				})
            
            window.addEventListener('hideConfirmModalTauxChange', event => {
					$('#confirmation_modal_taux_change').modal('hide');
				})
            
            window.addEventListener('showConfirmCloturePeriode', event => {
                $('#confirmation_modal_cloture_periode').modal('show');
            })
        
            window.addEventListener('hideConfirmCloturePeriode', event => {
                $('#confirmation_modal_cloture_periode').modal('hide');
            })

            window.addEventListener('showConfirmClotureExercice', event => {
                $('#confirmation_modal_cloture_exercice').modal('show');
            })
        
            window.addEventListener('hideConfirmClotureExercice', event => {
                $('#confirmation_modal_cloture_exercice').modal('hide');
            })
</script>
    
<?php $__env->stopPush(); ?>


<?php echo $__env->make('layout.page-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\access\resources\views/pages/administrationView.blade.php ENDPATH**/ ?>