Отчёты: выбранный период — той же кнопкой, а не бейджем рядом

This commit is contained in:
rsgrinko committed 2026-09-17 16:00:45 +03:00
1 parent 29fef30be7
commit 5d07e1285c
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ $stepLabel = match ($step) {
<div class="row">
<?php foreach ($ranges as $value => $label) { ?>
<?php if ((int) $value === $days) { ?>
<span class="badge info"><?= View::e($label) ?></span>
<span class="btn small primary"><?= View::e($label) ?></span>
<?php } else { ?>
<a class="btn small" href="<?= View::e(View::route('admin.reports', ['days' => $value])) ?>"><?= View::e($label) ?></a>
<?php } ?>