 <?php $__env->startSection('title','Reports'); ?> <?php $__env->startSection('content'); ?><div class="space-y-6"><h1 class="text-2xl font-black">Reports & Analytics</h1><div class="grid gap-4 sm:grid-cols-2 xl:grid-cols-5"><?php $__currentLoopData = $stats; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$v): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><div class="card p-5"><div class="text-xs uppercase text-slate-500"><?php echo e(str_replace('_',' ',$k)); ?></div><div class="mt-2 text-2xl font-black"><?php echo e($v); ?></div></div><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></div><div class="card p-5"><h2 class="font-bold">Exports</h2><div class="mt-4 flex flex-wrap gap-2"><?php $__currentLoopData = ['employees','interns','attendance','expenses']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $x): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><a class="btn btn-soft" href="<?php echo e(route('reports.csv',$x)); ?>"><?php echo e(ucfirst($x)); ?> CSV</a><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><a class="btn btn-primary" href="<?php echo e(route('reports.pdf','summary')); ?>">Summary PDF</a></div></div></div><?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/macbook/Desktop/crm/softsuite-cms/resources/views/reports/index.blade.php ENDPATH**/ ?>