

<?php $__env->startSection('content'); ?>
<div class="row mb-3 g-3">

    
    <div class="col-sm-6 col-md-4">
        <div class="card overflow-hidden" style="min-width: 12rem">
            <div class="bg-holder bg-card"
                 style="background-image:url(<?php echo e(asset('admin/assets/img/icons/spot-illustrations/corner-1.png')); ?>);">
            </div>
            <div class="card-body position-relative">
                <h6>Payments Collected Today</h6>
                <div class="display-4 fs-4 mb-2 fw-normal font-sans-serif text-success"
                     data-countup='{"endValue":<?php echo e($todayPayments); ?>,"decimalPlaces":2}'>
                    0
                </div>
                <a class="fw-semi-bold fs--1 text-nowrap"
                   href="<?php echo e(url('/allpayments')); ?>">
                    View today’s payments
                    <span class="fas fa-angle-right ms-1"></span>
                </a>
            </div>
        </div>
    </div>

    
    <div class="col-sm-6 col-md-4">
        <div class="card overflow-hidden" style="min-width: 12rem">
            <div class="bg-holder bg-card"
                 style="background-image:url(<?php echo e(asset('admin/assets/img/icons/spot-illustrations/corner-2.png')); ?>);">
            </div>
            <div class="card-body position-relative">
                <h6>Payments This Month</h6>
                <div class="display-4 fs-4 mb-2 fw-normal font-sans-serif text-primary"
                     data-countup='{"endValue":<?php echo e($monthlyPayments); ?>,"decimalPlaces":2}'>
                    0
                </div>
                <a class="fw-semi-bold fs--1 text-nowrap"
                   href="<?php echo e(url('/paymentsreport')); ?>">
                    Monthly report
                    <span class="fas fa-angle-right ms-1"></span>
                </a>
            </div>
        </div>
    </div>

    
<div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden" style="min-width: 12rem">
        <div class="bg-holder bg-card"
             style="background-image:url(<?php echo e(asset('admin/assets/img/icons/spot-illustrations/corner-1.png')); ?>);">
        </div>
        <div class="card-body position-relative">
            <h6>Total Members</h6>

            <div class="display-4 fs-4 mb-2 fw-normal font-sans-serif text-primary"
                 data-countup='{"endValue":<?php echo e($totalMembers); ?>,"decimalPlaces":0}'>
                0
            </div>

            <a class="fw-semi-bold fs--1 text-nowrap"
               href="<?php echo e(url('/members')); ?>">
                View all members
                <span class="fas fa-angle-right ms-1"></span>
            </a>
        </div>
    </div>
</div>


</div>


<div class="row g-3">

    
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <h6 class="mb-0">Finance Actions</h6>
            </div>
            <div class="card-body">
                <a href="<?php echo e(url('/paymentsreport')); ?>" class="btn btn-primary me-2 mb-2">
                    <i class="fas fa-file-invoice-dollar me-1"></i> Payments Report
                </a>

                <a href="<?php echo e(url('/arrearsreport')); ?>" class="btn btn-warning me-2 mb-2">
                    <i class="fas fa-exclamation-circle me-1"></i> Arrears Report
                </a>

                <a href="<?php echo e(url('/wrongpayment')); ?>" class="btn btn-danger mb-2">
                    <i class="fas fa-ban me-1"></i> Wrong Payments
                </a>
            </div>
        </div>
    </div>

    
    <div class="col-md-6">
        <div class="card">
            <div class="card-header">
                <h6 class="mb-0">My Profile</h6>
            </div>
            <div class="card-body">
                <p class="mb-1"><strong>Name:</strong> <?php echo e(auth()->user()->name); ?></p>
                <p class="mb-1"><strong>Email:</strong> <?php echo e(auth()->user()->email); ?></p>
                <p class="mb-0"><strong>Role:</strong> Finance Officer</p>
            </div>
        </div>
    </div>

</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\WORK-STATION\MBBS\Insurance-Version Controls\03-01-2026\resources\views/finance/dashboard.blade.php ENDPATH**/ ?>