<?php
    $cards = $this->focusedCards(); // fetch loan, grant, tax_refund, credit_card
    $currency = $this->currencySymbol;
?>

<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($cards['loan'] || $cards['grant'] || $cards['tax_refund']): ?>
    <div
        class="bg-white/80 dark:bg-gray-800/80 backdrop-blur-xl rounded-2xl shadow-lg dark:shadow-gray-900/50 overflow-hidden border border-white/20 dark:border-gray-700/50">

        <!-- Header -->
        <div
            class="px-4 py-2 bg-linear-to-r from-slate-50/80 to-slate-100/50 dark:from-slate-800/50 dark:to-slate-700/50 border-b border-slate-100/50 dark:border-slate-600/70 flex items-center justify-between gap-3 flex-wrap">
            <div class="flex items-center">
                <div class="w-6 h-6 bg-slate-500 dark:bg-slate-600 rounded-lg flex items-center justify-center mr-2">
                    <?php if (isset($component)) { $__componentOriginalda6e47aecf1695047ea823532321ccd7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalda6e47aecf1695047ea823532321ccd7 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::icon.arrows-right-left','data' => ['class' => 'w-3 h-3 text-white']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::icon.arrows-right-left'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'w-3 h-3 text-white']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalda6e47aecf1695047ea823532321ccd7)): ?>
<?php $attributes = $__attributesOriginalda6e47aecf1695047ea823532321ccd7; ?>
<?php unset($__attributesOriginalda6e47aecf1695047ea823532321ccd7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalda6e47aecf1695047ea823532321ccd7)): ?>
<?php $component = $__componentOriginalda6e47aecf1695047ea823532321ccd7; ?>
<?php unset($__componentOriginalda6e47aecf1695047ea823532321ccd7); ?>
<?php endif; ?>
                </div>
                <h3 class="text-sm font-bold text-slate-900 dark:text-slate-50">Financial Services</h3>
            </div>

            <a href="<?php echo e(route('user.transactions')); ?>"
                class="text-xs font-medium text-sky-700 dark:text-sky-400 hover:underline">View Details</a>
        </div>

        <!-- Services Grid -->
        <div class="grid grid-cols-1 gap-4">

            
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($cards['loan']): ?>
                <?php if (isset($component)) { $__componentOriginal3f21310ba3b2fac0111568d07efcc09f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3f21310ba3b2fac0111568d07efcc09f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.financial-card','data' => ['title' => 'Loans','status' => 'Processed','amount' => ''.e($currency).''.e(number_format($cards['loan']->amount, 2)).'','icon' => 'building-library','bgFrom' => 'from-blue-50','bgTo' => 'to-blue-100','textColor' => 'text-blue-700','link' => route('user.loans.index')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('financial-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Loans','status' => 'Processed','amount' => ''.e($currency).''.e(number_format($cards['loan']->amount, 2)).'','icon' => 'building-library','bgFrom' => 'from-blue-50','bgTo' => 'to-blue-100','textColor' => 'text-blue-700','link' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('user.loans.index'))]); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3f21310ba3b2fac0111568d07efcc09f)): ?>
<?php $attributes = $__attributesOriginal3f21310ba3b2fac0111568d07efcc09f; ?>
<?php unset($__attributesOriginal3f21310ba3b2fac0111568d07efcc09f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3f21310ba3b2fac0111568d07efcc09f)): ?>
<?php $component = $__componentOriginal3f21310ba3b2fac0111568d07efcc09f; ?>
<?php unset($__componentOriginal3f21310ba3b2fac0111568d07efcc09f); ?>
<?php endif; ?>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

            
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($cards['grant']): ?>
                <?php if (isset($component)) { $__componentOriginal3f21310ba3b2fac0111568d07efcc09f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3f21310ba3b2fac0111568d07efcc09f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.financial-card','data' => ['title' => 'Grants','status' => 'Processed','amount' => ''.e($currency).''.e(number_format($cards['grant']->amount, 2)).'','icon' => 'hand-helping','bgFrom' => 'from-green-50','bgTo' => 'to-green-100','textColor' => 'text-green-700','link' => route('user.grants.index')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('financial-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Grants','status' => 'Processed','amount' => ''.e($currency).''.e(number_format($cards['grant']->amount, 2)).'','icon' => 'hand-helping','bgFrom' => 'from-green-50','bgTo' => 'to-green-100','textColor' => 'text-green-700','link' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('user.grants.index'))]); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3f21310ba3b2fac0111568d07efcc09f)): ?>
<?php $attributes = $__attributesOriginal3f21310ba3b2fac0111568d07efcc09f; ?>
<?php unset($__attributesOriginal3f21310ba3b2fac0111568d07efcc09f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3f21310ba3b2fac0111568d07efcc09f)): ?>
<?php $component = $__componentOriginal3f21310ba3b2fac0111568d07efcc09f; ?>
<?php unset($__componentOriginal3f21310ba3b2fac0111568d07efcc09f); ?>
<?php endif; ?>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

            
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($cards['tax_refund']): ?>
                <?php if (isset($component)) { $__componentOriginal3f21310ba3b2fac0111568d07efcc09f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3f21310ba3b2fac0111568d07efcc09f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.financial-card','data' => ['title' => 'Tax Refund','status' => 'Pending','amount' => 'Filing ID: '.e($cards['tax_refund']->filing_id ?? 'Required').'','icon' => 'hand-helping','bgFrom' => 'from-purple-50','bgTo' => 'to-purple-100','textColor' => 'text-purple-700','link' => route('user.tax.refund.index')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('financial-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Tax Refund','status' => 'Pending','amount' => 'Filing ID: '.e($cards['tax_refund']->filing_id ?? 'Required').'','icon' => 'hand-helping','bgFrom' => 'from-purple-50','bgTo' => 'to-purple-100','textColor' => 'text-purple-700','link' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('user.tax.refund.index'))]); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3f21310ba3b2fac0111568d07efcc09f)): ?>
<?php $attributes = $__attributesOriginal3f21310ba3b2fac0111568d07efcc09f; ?>
<?php unset($__attributesOriginal3f21310ba3b2fac0111568d07efcc09f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3f21310ba3b2fac0111568d07efcc09f)): ?>
<?php $component = $__componentOriginal3f21310ba3b2fac0111568d07efcc09f; ?>
<?php unset($__componentOriginal3f21310ba3b2fac0111568d07efcc09f); ?>
<?php endif; ?>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        </div>


    </div>
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
<?php /**PATH /Users/macuser/Herd/Novabank/resources/views/partials/quick-show.blade.php ENDPATH**/ ?>