From 4f39fdc38474990850382b0a806cee5ef819c58b Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Thu, 6 Feb 2025 13:43:13 +0000
Subject: [PATCH] Bug 39051: Fix submit button class on cash register
 statistics page

This patch corrects the class of the submit button on the cash register
statistics page. Bug 32091 added the "btn btn-default" class but it
should have been "btn-default."

To test, apply the patch and go to Reports -> Cash register statistics.

The submit button should have the yellow "primary" button color.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Button is now yellow.
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
---
 .../prog/en/modules/reports/cash_register_stats.tt              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt
index f0437f91edf..9300c815ba1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt
@@ -150,7 +150,7 @@
         </fieldset>
 
         <fieldset class="action">
-        <input type="submit" value="Submit" class="btn btn-default" name="do_it" />
+            <input type="submit" value="Submit" class="btn btn-primary" name="do_it" />
         </fieldset>
     </form>
 
-- 
2.39.5