<?php
    $financeNav = app(\App\Services\Finance\FinanceNavService::class);
?>
<div class="mt-4 mb-4 border-b border-slate-200/80 pb-0">
    <div class="flex flex-wrap items-end justify-between gap-4">
        <div class="top-submenu text-sm font-medium">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $financePrimaryTabs ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tab): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $active = $financeNav->isTabActive($tab); ?>
                <a href="<?php echo e($financeNav->tabUrl($tab)); ?>"
                   class="<?php echo e($active ? 'top-submenu-tab is-active' : 'top-submenu-tab'); ?>">
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($tab['icon'])): ?>
                        <i class="bi <?php echo e($tab['icon']); ?> mr-1"></i>
                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    <?php echo e($tab['label']); ?>

                </a>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($financeSetupTabs)): ?>
            <div class="flex flex-wrap items-center gap-2 pb-2">
                <span class="inline-flex items-center gap-1 self-center text-xs font-semibold uppercase tracking-wider text-slate-400">
                    <i class="bi bi-gear"></i> Setup
                </span>
                <nav class="top-submenu top-submenu--boxed text-sm" aria-label="Finance setup tabs">
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $financeSetupTabs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tab): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php $active = $financeNav->isTabActive($tab); ?>
                        <a href="<?php echo e($financeNav->tabUrl($tab)); ?>"
                           class="top-submenu-tab top-submenu-tab--boxed <?php echo e($active ? 'is-active' : ''); ?>">
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($tab['icon'])): ?>
                                <i class="bi <?php echo e($tab['icon']); ?> mr-1"></i>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            <?php echo e($tab['label']); ?>

                        </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </nav>
            </div>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>
</div>
<?php /**PATH /var/www/html/kiyohr/v2_version/resources/views/finance/top-submenu.blade.php ENDPATH**/ ?>