<?php if (isset($component)) { $__componentOriginalbe23554f7bded3778895289146189db7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalbe23554f7bded3778895289146189db7 = $attributes; } ?>
<?php $component = Filament\View\LegacyComponents\Page::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('filament::page'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Filament\View\LegacyComponents\Page::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Balance Info</h2>
    <div class="space-y-4">
        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
            <!-- Available Balance Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Available Balance</h2>
                <p class="text-xl font-bold"><?php echo e(number_format($availableBalance, 2)); ?></p>
            </div>

            <!-- Total Deposited Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Total Deposited</h2>
                <p class="text-xl font-bold"><?php echo e(number_format($totalDeposited, 2)); ?></p>
            </div>

            <!-- Today's Deposited Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Today's Deposited</h2>
                <p class="text-xl font-bold"><?php echo e(number_format($todaysDeposited, 2)); ?></p>
            </div>
        </div>
    </div>

     <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Today's Orders</h2>
    <div class="space-y-4">
        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
            <!-- Today's Orders Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Total Orders</h2>
                <p class="text-xl font-bold"><?php echo e($todaysOrders); ?></p>
            </div>

            <!-- Today's Completed Orders Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Completed Orders</h2>
                <p class="text-xl font-bold"><?php echo e($todaysCompletedOrders); ?></p>
            </div>

            <!-- Today's Cancelled Orders Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Cancelled Orders</h2>
                <p class="text-xl font-bold"><?php echo e($todaysCancelledOrders); ?></p>
            </div>

            <!-- Today's Pending Orders Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Pending Orders</h2>
                <p class="text-xl font-bold"><?php echo e($todaysPendingOrders); ?></p>
            </div>

            <!-- Today's Processing Orders Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Processing Orders</h2>
                <p class="text-xl font-bold"><?php echo e($todaysProcessingOrders); ?></p>
            </div>
        </div>
    </div>

    <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">User's Info</h2>
    <div class="space-y-4">
       <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
            <!-- Total Users Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Total Users</h2>
                <p class="text-xl font-bold"><?php echo e($totalUsers); ?></p>
            </div>
            <!-- New Users Today Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">New Users (Today)</h2>
                <p class="text-xl font-bold"><?php echo e($newUsersToday); ?></p>
            </div>
        </div>
    </div>

    <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Voucher's Info</h2>
    <div class="space-y-4">
       <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
    <!-- Available Codes Card -->
    <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
        <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Available</h2>
        <p class="text-xl font-bold"><?php echo e($availableCodes); ?></p>
    </div>

    <!-- Sold Codes Card -->
    <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
        <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Sold</h2>
        <p class="text-xl font-bold"><?php echo e($soldCodes); ?></p>
    </div>

    <!-- Today's Sold Codes Card -->
    <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
        <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Today's Sold</h2>
        <p class="text-xl font-bold"><?php echo e($todaysSoldCodes); ?></p>
    </div>
</div>
    </div>



<style>
    @media (min-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
</style>

    <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Billing Info</h2>
    <div class="space-y-4">
        <div class="grid grid-cols-2 md:grid-cols-4 gap-4">

            <!-- Today Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Today</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($todaysCompletedBilling, 2)); ?></p>
            </div>

            <!-- Yesterday's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Yesterday</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($yesterdaysCompletedBilling, 2)); ?></p>
            </div>

            <!-- This Week's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Week</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($thisWeekCompletedBilling, 2)); ?></p>
            </div>

            <!-- Last Week's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Last Week</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($lastWeekCompletedBilling, 2)); ?></p>
            </div>

            <!-- This Month's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Month</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($thisMonthCompletedBilling, 2)); ?></p>
            </div>

            <!-- Last Month's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Last Month</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($lastMonthCompletedBilling, 2)); ?></p>
            </div>

            <!-- This Year's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Year</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($thisYearCompletedBilling, 2)); ?></p>
            </div>

            <!-- Last Year's Billing -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Last Year</h3>
                <p class="text-xl font-bold"><?php echo e(number_format($lastYearCompletedBilling, 2)); ?></p>
            </div>
        </div>
    </div>


<h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Profit Info</h2>
<div class="space-y-4">
    <div class="grid grid-cols-2 md:grid-cols-4 gap-4">

        <!-- Today's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Today</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($todaysCompletedProfit, 2)); ?></p>
        </div>

        <!-- Yesterday's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Yesterday</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($yesterdaysCompletedProfit, 2)); ?></p>
        </div>

        <!-- This Week's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Week</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($thisWeekCompletedProfit, 2)); ?></p>
        </div>

        <!-- Last Week's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Last Week</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($lastWeekCompletedProfit, 2)); ?></p>
        </div>

        <!-- This Month's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Month</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($thisMonthCompletedProfit, 2)); ?></p>
        </div>

        <!-- Last Month's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Last Month</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($lastMonthCompletedProfit, 2)); ?></p>
        </div>

        <!-- This Year's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Year</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($thisYearCompletedProfit, 2)); ?></p>
        </div>

        <!-- Last Year's Profit -->
        <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
            <h3 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Last Year</h3>
            <p class="text-xl font-bold"><?php echo e(number_format($lastYearCompletedProfit, 2)); ?></p>
        </div>

    </div>
</div>


    <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Visitor's Info</h2>
    <div class="space-y-4">
        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
            <!-- Today's Visitors Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Today's Visitors</h2>
                <p class="text-xl font-bold"><?php echo e($todaysVisitors); ?></p>
            </div>

            <!-- Yesterday's Visitors Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Yesterday's Visitors</h2>
                <p class="text-xl font-bold"><?php echo e($yesterdaysVisitors); ?></p>
            </div>

            <!-- This Week's Visitors Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Week's Visitors</h2>
                <p class="text-xl font-bold"><?php echo e($thisWeekVisitors); ?></p>
            </div>

            <!-- This Month's Visitors Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">This Month's Visitors</h2>
                <p class="text-xl font-bold"><?php echo e($thisMonthVisitors); ?></p>
            </div>

            <!-- Total Visitors Card -->
            <div class="rounded-xl bg-white p-6 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
                <h2 class="label text-sm font-medium text-gray-500 dark:text-gray-400 mb-2">Total Visitors</h2>
                <p class="text-xl font-bold"><?php echo e($totalVisitors); ?></p>
            </div>
        </div>
    </div>
    
     <h2 class="text-xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-2xl">Product Stock</h2>

    <div class="filament-card">
        <table class="w-full text-sm divide-y divide-gray-200">
            <thead>
                <tr>
                    <th class="px-4 py-2 text-left">ID</th>
                    <th class="px-4 py-2 text-left">Name</th>
                    <th class="px-4 py-2 text-left">Stock</th>
                    <th class="px-4 py-2 text-left">Amount</th>
                    <th class="px-4 py-2 text-left">Buy Price</th>
                </tr>
            </thead>
            <tbody>
                <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $unipins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $unipin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr class="">
                        <td class="px-4 py-2"><?php echo e($unipin->id); ?></td>
                        <td class="px-4 py-2"><?php echo e($unipin->title); ?></td>
                        <td class="px-4 py-2"><?php echo e($unipin->stock); ?></td>
                        <td class="px-4 py-2"><?php echo e($unipin->price); ?></td>
                        <td class="px-4 py-2"><?php echo e($unipin->buy_rate); ?></td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
            </tbody>
        </table>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalbe23554f7bded3778895289146189db7)): ?>
<?php $attributes = $__attributesOriginalbe23554f7bded3778895289146189db7; ?>
<?php unset($__attributesOriginalbe23554f7bded3778895289146189db7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalbe23554f7bded3778895289146189db7)): ?>
<?php $component = $__componentOriginalbe23554f7bded3778895289146189db7; ?>
<?php unset($__componentOriginalbe23554f7bded3778895289146189db7); ?>
<?php endif; ?><?php /**PATH /home/jrsmulti/autouidtopup.com/core/resources/views/filament/pages/statements.blade.php ENDPATH**/ ?>