<?php $__env->startSection('title', 'Reports — TechCorp Manager'); ?>

<?php $__env->startSection('content'); ?>
<div class="tc-page-head">
    <h2>Reports &amp; analytics</h2>
    <p>High-level counts and financial summary. Export workflows can use the JSON API or future PDF routes.</p>
</div>

<div class="tc-stats">
    <div class="tc-stat">
        <div class="label">Total clients</div>
        <div class="value blue"><?php echo e(number_format($clientsCount)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Total invoices</div>
        <div class="value purple"><?php echo e(number_format($invoicesCount)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Team members</div>
        <div class="value green"><?php echo e(number_format($employeesCount)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Projects</div>
        <div class="value warning"><?php echo e(number_format($projectsCount)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Revenue (paid)</div>
        <div class="value green">$<?php echo e(number_format($stats['revenue'], 2)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Pending revenue</div>
        <div class="value warning">$<?php echo e(number_format($stats['pendingRevenue'], 2)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Servers</div>
        <div class="value blue"><?php echo e(number_format($serversCount)); ?></div>
    </div>
    <div class="tc-stat">
        <div class="label">Est. server cost / mo</div>
        <div class="value purple">$<?php echo e(number_format($monthlyServerCost, 2)); ?></div>
    </div>
</div>

<div class="tc-card">
    <h3>Module pages</h3>
    <p style="color:var(--text-light);font-size:0.9rem;margin:0 0 12px;">Open each area for full tables:</p>
    <ul style="margin:0;padding-left:1.2rem;line-height:1.8;">
        <li><a href="<?php echo e(route('web.clients.index')); ?>">Clients</a></li>
        <li><a href="<?php echo e(route('web.invoices.index')); ?>">Invoices</a></li>
        <li><a href="<?php echo e(route('web.projects.index')); ?>">Projects</a></li>
        <li><a href="<?php echo e(route('web.servers.index')); ?>">Servers</a></li>
        <li><a href="<?php echo e(route('web.domains.index')); ?>">Domains</a></li>
        <li><a href="<?php echo e(route('web.team.index')); ?>">Team</a></li>
    </ul>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\pc\Desktop\compnany\laravel-api\resources\views\reports\index.blade.php ENDPATH**/ ?>