<?php $__env->startSection('title', 'All Product'); ?>

<?php $__env->startSection('body'); ?>
    <div class="page-header">
        <div>
            <h1 class="page-title">Dashboard</h1>
        </div>
    </div>

    <!-- Row -->

        <div class="row">
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-blue">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">Cash on Hand</h3>
                                <p class="fs-25 mb-0"><?php if(isset($cashOnHand->balance)): ?><?php echo e(number_format($cashOnHand->balance, 0,)); ?><?php endif; ?> TK</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-danger-gradient">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">Today's Income</h3>
                                <p class="fs-25 mb-0"><?php if(isset($income)): ?><?php echo e(number_format($income, 0,)); ?><?php endif; ?> TK</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-blue">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">Today's Expenses</h3>
                                <p class="fs-25 mb-0"><?php if(isset($cost)): ?><?php echo e(number_format($cost, 0,)); ?><?php endif; ?> TK</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-primary">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">Today's Patient</h3>
                                <p class="fs-25 mb-0"><?php if(isset($countInvoice)): ?><?php echo e(number_format($countInvoice, 0,)); ?><?php endif; ?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-success">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">Today's Tests</h3>
                                <p class="fs-25 mb-0"><?php if(isset($countTest)): ?><?php echo e(number_format($countTest, 0,)); ?><?php endif; ?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    <!-- End Row -->
        <!-- Row -->
        <div class="row">
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-danger-gradient">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">This Month Income</h3>
                                <p class="fs-25 mb-0"><?php if(isset($monthIncome)): ?><?php echo e(number_format($monthIncome, 0,)); ?><?php endif; ?> TK</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-danger-gradient">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">This Month Expenses</h3>
                                <p class="fs-25 mb-0"><?php if(isset($monthCost)): ?><?php echo e(number_format($monthCost, 0,)); ?><?php endif; ?> TK</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-danger-gradient">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">This Month Patient</h3>
                                <p class="fs-25 mb-0"><?php if(isset($monthInvoice)): ?><?php echo e(number_format($monthInvoice, 0,)); ?><?php endif; ?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-sm-12 col-md-6 col-xl-4">
                <div class="card overflow-hidden btn-danger-gradient">
                    <div class="card-body">
                        <div class="row">
                            <div class="col">
                                <h3 class=" mb-2 fw-semibold">This Month Test</h3>
                                <p class="fs-25 mb-0"><?php if(isset($monthTest)): ?><?php echo e(number_format($monthTest, 0,)); ?><?php endif; ?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    </div>
    <!-- End Row -->

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


<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\primary\resources\views/admin/dashboard/diagnostic.blade.php ENDPATH**/ ?>