Bug 25138: Terminology: Point of sale should use library instead of branch
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 12 Apr 2020 02:25:48 +0000 (02:25 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 17 Apr 2020 12:50:23 +0000 (13:50 +0100)
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

Signed-off-by: Devinim <kohadevinim@devinim.com.tr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt

index d4a1628..cb99980 100644 (file)
@@ -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) %]
index 5e8076a..026dd1c 100644 (file)
@@ -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>