<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['columns', 'print' => false, 'exportExcel' => false, 'exportPdf' => false]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['columns', 'print' => false, 'exportExcel' => false, 'exportPdf' => false]); ?>
<?php foreach (array_filter((['columns', 'print' => false, 'exportExcel' => false, 'exportPdf' => false]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<div id="loading-icon" style="display: none;">
    <img src="<?php echo e(asset('assets/img/loading.gif')); ?>" alt="Loading..." />
</div>
<div class="m-0 float-right" id="column-panel-parent">
    <?php if($print): ?>
    <a class="btn btn-secondary btn__export" id="print-btn" href="#" data-toggle="tooltip" title="Print" >
        <i class="fas fa-print"></i>
    </a>
    <?php endif; ?>
    <?php if($exportExcel): ?>
    <a class="btn btn-secondary btn__export" id="excel-btn" href="#" data-toggle="tooltip" title="Download as excel">
        <i class="fas fa-file-excel"></i>
    </a>
    <?php endif; ?>
    <?php if($exportPdf): ?>
    <a class="btn btn-secondary btn__export" id="pdf-btn" href="#" data-toggle="tooltip" title="Download as PDF">
        <i class="fas fa-file-pdf"></i>
    </a>
    <?php endif; ?>
    <?php if(isset($columns)): ?>    
        <a class="btn btn-secondary btn__export" href="#" data-toggle="collapse" data-target="#column-toggle-panel">
            <i class="fas fa-columns"></i>
        </a>
    <?php endif; ?>
    <?php if(isset($columns)): ?>
        <div id="column-toggle-panel" class="collapse border rounded-bottom shadow">
            <?php $__currentLoopData = $columns; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="form-check">
                    <input type="checkbox" class="toggle-column column-form-check-input" 
                        value="<?php echo e($id); ?>" 
                        id="toggle-<?php echo e($id); ?>" 
                        checked style="display:none;"
                        data-column-name="<?php echo e($label); ?>"
                        checked>
                    <label class="column-form-check-label" for="toggle-<?php echo e($id); ?>"><?php echo e($label); ?></label>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <button class="restorebutton">Restore Visibility</button>
        </div>
    <?php endif; ?>
</div>
<?php /**PATH /var/www/html/EdueasyCollege/resources/views/components/report-actions.blade.php ENDPATH**/ ?>