<?php
    $q = ['date_from' => $dateFrom, 'date_to' => $dateTo];
?>
<nav class="mb-6 flex flex-wrap gap-1 rounded-xl border border-slate-200 bg-white p-1 shadow-sm" aria-label="Bagian laporan">
    <a href="<?php echo e(route('owner.reports', $q)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-lg px-3 py-2 text-sm font-medium transition md:px-4',
        ($tab ?? '') === 'ringkasan' ? 'bg-sky-600 text-white shadow-sm' : 'text-slate-600 hover:bg-slate-50 hover:text-slate-900',
    ]); ?>">Ringkasan</a>
    <a href="<?php echo e(route('owner.reports.pl', $q)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-lg px-3 py-2 text-sm font-medium transition md:px-4',
        ($tab ?? '') === 'laba_rugi' ? 'bg-sky-600 text-white shadow-sm' : 'text-slate-600 hover:bg-slate-50 hover:text-slate-900',
    ]); ?>">Laba rugi</a>
    <a href="<?php echo e(route('owner.reports.daily', $q)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-lg px-3 py-2 text-sm font-medium transition md:px-4',
        ($tab ?? '') === 'harian' ? 'bg-sky-600 text-white shadow-sm' : 'text-slate-600 hover:bg-slate-50 hover:text-slate-900',
    ]); ?>">Harian</a>
    <a href="<?php echo e(route('owner.reports.items', $q)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-lg px-3 py-2 text-sm font-medium transition md:px-4',
        ($tab ?? '') === 'items' ? 'bg-sky-600 text-white shadow-sm' : 'text-slate-600 hover:bg-slate-50 hover:text-slate-900',
    ]); ?>">Item FnB</a>
    <a href="<?php echo e(route('owner.reports.services', $q)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-lg px-3 py-2 text-sm font-medium transition md:px-4',
        ($tab ?? '') === 'services' ? 'bg-sky-600 text-white shadow-sm' : 'text-slate-600 hover:bg-slate-50 hover:text-slate-900',
    ]); ?>">Layanan</a>
    <a href="<?php echo e(route('owner.reports.sources', $q)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-lg px-3 py-2 text-sm font-medium transition md:px-4',
        ($tab ?? '') === 'sources' ? 'bg-sky-600 text-white shadow-sm' : 'text-slate-600 hover:bg-slate-50 hover:text-slate-900',
    ]); ?>">Detail sumber</a>
</nav>
<?php /**PATH C:\xampp\htdocs\sysorder\resources\views/owner/reports/_nav.blade.php ENDPATH**/ ?>