<?php
/**
 * Filter submit button (only when report has inputs).
 * Expected: $has_filters (bool, default true)
 */
$has_filters = !isset($has_filters) ? true : (bool) $has_filters;
if (!$has_filters) {
    return;
}
?>
<button type="submit" name="submitForm" value="search" class="btn btn-report-search">
  <i class="fas fa-search mr-1"></i> Submit
</button>
