 <?php $__env->startSection('title','Payroll'); ?> <?php $__env->startSection('content'); ?><div class="flex flex-col gap-4 sm:flex-row sm:justify-between"><div><p class="text-sm font-semibold text-blue-600">FINANCE</p><h1 class="text-3xl font-black">Employee Payroll</h1><p class="mt-1 text-slate-500">Intern stipends are deliberately stored in separate stipend tables.</p></div><form method="POST" action="<?php echo e(route('payroll.calculate')); ?>" class="flex gap-2"><?php echo csrf_field(); ?><input type="month" name="period" value="<?php echo e(now()->format('Y-m')); ?>" class="rounded-xl border-slate-200"><button class="btn btn-primary">Calculate</button></form></div><div class="mt-6 card overflow-x-auto"><table class="w-full text-sm"><thead class="bg-slate-50 text-left"><tr><th class="p-4">Period</th><th class="p-4">Status</th><th class="p-4">Employees</th><th class="p-4">Calculated</th></tr></thead><tbody><?php $__currentLoopData = $batches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><tr class="border-t"><td class="p-4 font-semibold"><?php echo e($b->period); ?></td><td class="p-4"><span class="badge"><?php echo e($b->status); ?></span></td><td class="p-4"><?php echo e($b->items_count); ?></td><td class="p-4"><?php echo e(optional($b->calculated_at)->format('d M Y H:i')); ?></td></tr><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></tbody></table></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/payroll/index.blade.php ENDPATH**/ ?>