

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

  
  <div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden">
      <div class="bg-holder bg-card"></div>
      <div class="card-body position-relative">
        <h6>Claims Processed (This Month)</h6>
        <div class="display-4 fs-4 fw-normal text-primary">
          <?php echo e($claimsMonth); ?>

        </div>
        <small class="text-muted">Approved + Rejected</small>
      </div>
    </div>
  </div>

  <div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden">
      <div class="bg-holder bg-card"></div>
      <div class="card-body position-relative">
        <h6>Claims Processed (This Quarter)</h6>
        <div class="display-4 fs-4 fw-normal text-info">
          <?php echo e($claimsQuarter); ?>

        </div>
        <small class="text-muted">Approved + Rejected</small>
      </div>
    </div>
  </div>

  <div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden">
      <div class="bg-holder bg-card"></div>
      <div class="card-body position-relative">
        <h6>Claims Processed (This Year)</h6>
        <div class="display-4 fs-4 fw-normal text-success">
          <?php echo e($claimsYear); ?>

        </div>
        <small class="text-muted">Approved + Rejected</small>
      </div>
    </div>
  </div>

  
  <div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden">
      <div class="bg-holder bg-card"></div>
      <div class="card-body position-relative">
        <h6>Claims Value (Month)</h6>
        <div class="display-4 fs-4 fw-normal text-success">
          <?php echo e(number_format($valueMonth, 2)); ?>

        </div>
        <small class="text-muted">Total amount paid</small>
      </div>
    </div>
  </div>

  <div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden">
      <div class="bg-holder bg-card"></div>
      <div class="card-body position-relative">
        <h6>Claims Value (Quarter)</h6>
        <div class="display-4 fs-4 fw-normal text-primary">
          <?php echo e(number_format($valueQuarter, 2)); ?>

        </div>
        <small class="text-muted">Total amount paid</small>
      </div>
    </div>
  </div>

  <div class="col-sm-6 col-md-4">
    <div class="card overflow-hidden">
      <div class="bg-holder bg-card"></div>
      <div class="card-body position-relative">
        <h6>Claims Value (Year)</h6>
        <div class="display-4 fs-4 fw-normal text-warning">
          <?php echo e(number_format($valueYear, 2)); ?>

        </div>
        <small class="text-muted">Total amount paid</small>
      </div>
    </div>
  </div>

  
  <div class="col-lg-12">
    <div class="card overflow-hidden">
      <div class="card-header">
        <h6 class="mb-0">Claims Status Breakdown</h6>
      </div>
      <div class="card-body p-0">
        <div class="table-responsive scrollbar">
          <table class="table mb-0 fs--1 table-borderless">
            <thead class="bg-light">
              <tr class="text-800 bg-200">
                <th>Status</th>
                <th class="text-end">Total Claims</th>
              </tr>
            </thead>
            <tbody>
              <?php $__empty_1 = true; $__currentLoopData = $statusBreakdown; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status => $total): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
              <tr class="border-bottom border-200">
                <td>
                  <span class="badge
                    <?php if($status == 'Approved'): ?> badge-soft-success
                    <?php elseif($status == 'Rejected'): ?> badge-soft-danger
                    <?php elseif($status == 'Pending'): ?> badge-soft-warning
                    <?php elseif($status == 'Reviewed'): ?> badge-soft-info
                    <?php else: ?> badge-soft-secondary
                    <?php endif; ?>">
                    <?php echo e($status); ?>

                  </span>
                </td>
                <td class="text-end"><?php echo e($total); ?></td>
              </tr>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
              <tr>
                <td colspan="2" class="text-center text-muted py-3">
                  No claims data available
                </td>
              </tr>
              <?php endif; ?>
            </tbody>
          </table>
        </div>
      </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/claims/management-dashboard.blade.php ENDPATH**/ ?>