From f5e1385a27f4fe46d33621a1cab1ad15f3a3284a Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sun, 12 Apr 2020 02:25:48 +0000
Subject: [PATCH] Bug 25138: Terminology: Point of sale should use library
 instead of branch

This fixes the navigation on the Point of sale page:
Branch details => Library details

And the heading and the 'no register defined for this branch/library'
message on the page it links to.

To test:
- Activate cash registers and point of sales features
- Go to the point of sales page
- Verify text on the menu to the left
- Click on the Branch/library details - verify text and heading
---
 koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc    | 2 +-
 koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc
index d4a1628a3b..cb9998082e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc
@@ -4,7 +4,7 @@
         <h5>Point of sale</h5>
         <ul>
             <li><a href="/cgi-bin/koha/pos/register.pl">Register details</a></li>
-            <li><a href="/cgi-bin/koha/pos/registers.pl">Branch details</a></li>
+            <li><a href="/cgi-bin/koha/pos/registers.pl">Library details</a></li>
         </ul>
         [% END %]
         [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
index 5e8076a1ce..026dd1c9fa 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
@@ -21,7 +21,7 @@
                 <main>
                     [% IF ( error_registers ) %]
                     <div id="error_message" class="dialog alert">
-                        You must have at least one cash register associated with this branch before you
+                        You must have at least one cash register associated with this library before you
                         can record payments.
                     </div>
                     [% ELSE %]
@@ -29,7 +29,7 @@
                         <button type="button" class="cashup_all btn btn-default" data-toggle="modal" data-target="#confirmCashupAllModal"><i class="fa fa-money"></i> Cashup all</button>
                     </div>
 
-                    <h1>Branch transaction details for [% library.branchname | html %]</h1>
+                    <h1>Library transaction details for [% library.branchname | html %]</h1>
 
                     <h2>Summary</h2>
                     <ul>
-- 
2.11.0