<?php
/**
 * Shared report page chrome.
 * Expected: $report_title, optional $report_subtitle
 */
if (!isset($report_title)) {
    $report_title = 'Report';
}
?>
<div class="content-wrapper">
  <section class="content-header">
    <div class="container-fluid">
      <div class="row mb-2 align-items-start">
        <div class="col-sm-8">
          <h1><?php echo htmlspecialchars($report_title); ?></h1>
          <?php if (!empty($report_subtitle)) { ?>
            <p class="report-lead"><?php echo htmlspecialchars($report_subtitle); ?></p>
          <?php } ?>
        </div>
        <div class="col-sm-4">
          <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item"><a href="<?php echo base_url('index.php/report/overdue_report_details'); ?>">Home</a></li>
            <li class="breadcrumb-item active">Reports</li>
          </ol>
        </div>
      </div>
    </div>
  </section>
  <section class="content">
    <div class="container-fluid">
      <div class="report-card card">
        <div class="card-header">
          <h3 class="card-title">Filters &amp; results</h3>
          <span class="card-title-meta">KRC</span>
        </div>
        <div class="card-body">
          <?php if (!empty($export_error)) { ?>
            <div class="alert alert-warning py-2 mb-3"><?php echo htmlspecialchars($export_error); ?></div>
          <?php } ?>
