Bug 23354: (QA follow-up) Fix spelling in templates
authorJosef Moravec <josef.moravec@gmail.com>
Sun, 12 Jan 2020 18:43:03 +0000 (18:43 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 13 Jan 2020 14:06:53 +0000 (14:06 +0000)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt

index 69ce125..6f87d8b 100644 (file)
@@ -27,7 +27,7 @@
 
         [% IF payment_id && !Koha.Preference('FinePaymentAutoPopup') %]
         <div class="dialog alert audio-alert-action">
-            Payment recieved: <a target="_blank" href="/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print receipt</a>
+            Payment received: <a target="_blank" href="/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print receipt</a>
         </div>
         [% END %]
 
 </div>
 
 [% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %]
-<!-- Automatic Print Reciept -->
-      <a id="printReciept" style="display: none" href="#"></a>
+<!-- Automatic Print Receipt -->
+      <a id="printReceipt" style="display: none" href="#"></a>
 [% END %]
 
 [% MACRO jsinclude BLOCK %]
         });
 
         [% IF payment_id && Koha.Preference('FinePaymentAutoPopup') %]
-            $("#printReciept").click(function() {
+            $("#printReceipt").click(function() {
                 var win = window.open('/cgi-bin/koha/pos/printreceipt.pl?action=print&accountlines_id=[% payment_id | uri %]&collected=[% collected | uri %]&change=[% change | uri %]', '_blank');
                 win.focus();
             });
-            $("#printReciept").click();
+            $("#printReceipt").click();
         [% END %]
     });
     </script>