<?= $this->include('layout/header') ?>
<div class="card">
  <div class="card-header d-flex align-items-center">
    <i class="bi bi-journal me-2"></i> <?= esc($title ?? 'Accounting Reports') ?>
  </div>
  <div class="card-body">
    <p class="text-muted">Starter page for Accounting Reports.</p>
    <ul class="list-group">
      <li class="list-group-item d-flex justify-content-between align-items-center">
        Journal Vouchers
        <span class="badge bg-primary rounded-pill"><?= (int)($journalCount ?? 0) ?></span>
      </li>
      <li class="list-group-item d-flex justify-content-between align-items-center">
        Bank Deposits
        <span class="badge bg-primary rounded-pill"><?= (int)($depositCount ?? 0) ?></span>
      </li>
    </ul>
  </div>
</div>
<?= $this->include('layout/footer') ?>