<?php $__env->startSection('title'); ?>
    Reports
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page_css'); ?>
    <link href="<?php echo e(mix('assets/style/css/report.css')); ?>" rel="stylesheet" type="text/css"/>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <div class="animated fadeIn">
            <div class="page-header">
                <h3 class="page__heading">Reports</h3>

                <div class="filter-container">
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage_reports')): ?>
                        <div class="mr-2">
                            <label class="lbl-block"><b>Created By</b></label>
                            <?php echo Form::select('created_by', $users, null,['id'=>'filterCreatedBy','class'=>'form-control','style'=>'min-width:150px;', 'placeholder' => 'All']); ?>

                        </div>
                    <?php endif; ?>
                    <a href="<?php echo route('reports.create'); ?>" class="btn btn-primary filter-container__btn">
                        New Report
                    </a>
                </div>
            </div>
            <?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div class="row">
                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-body">
                            <?php echo $__env->make('reports.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <script>
        let reportUrl = "<?php echo e(url('reports')); ?>/";
        let usersOfProjects = "<?php echo e(url('users-of-projects')); ?>";
        let projectsOfClient = "<?php echo e(url('projects-of-client')); ?>";
    </script>
    <script src="<?php echo e(mix('assets/js/report/report.js')); ?>"></script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/dev/Documents/WebDevProjects/infy-tracker/resources/views/reports/index.blade.php ENDPATH**/ ?>