Bug 22674: Change wording of payments in the GUI
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 9 Apr 2019 22:02:09 +0000 (00:02 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Apr 2019 11:07:39 +0000 (11:07 +0000)
This changes the different versions of "Payment, thanks"
to just read "Payment".

To test:
- Look at the Fines & Charges tables in
  - OPAC patron account > your fines
  - Staff patron account > Accounting > Transactions tab
  - Staff patron account > Accounting > Make a payment tab
- Verify all tables display the descriptions correctly
- Decide if you like this better than before
  Yes: sign-off
  No: comment on the bug please

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc

index 31fa26c..12905cc 100644 (file)
@@ -1,9 +1,9 @@
 [%- BLOCK account_type_description -%]
     [%- SWITCH account.accounttype -%]
-        [%- CASE 'Pay'     -%]<span>Payment, thanks</span>
-        [%- CASE 'Pay00'   -%]<span>Payment, thanks (cash via SIP2)</span>
-        [%- CASE 'Pay01'   -%]<span>Payment, thanks (VISA via SIP2)</span>
-        [%- CASE 'Pay02'   -%]<span>Payment, thanks (credit card via SIP2)</span>
+        [%- CASE 'Pay'     -%]<span>Payment</span>
+        [%- CASE 'Pay00'   -%]<span>Payment (cash via SIP2)</span>
+        [%- CASE 'Pay01'   -%]<span>Payment (VISA via SIP2)</span>
+        [%- CASE 'Pay02'   -%]<span>Payment (credit card via SIP2)</span>
         [%- CASE 'VOID'    -%]<span>Voided</span>
         [%- CASE 'N'       -%]<span>New card</span>
         [%- CASE 'OVERDUE' -%]<span>Fine[%- PROCESS account_status_description account=account -%]</span>
index 91c4282..4c9e427 100644 (file)
                     <td><span title="[% ACCOUNT_LINE.date | html %]">[% ACCOUNT_LINE.date | $KohaDates %]</span></td>
                     <td>
                         [% SWITCH ACCOUNT_LINE.accounttype %]
-                        [% CASE 'Pay' %]Payment, thanks
-                        [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
-                        [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
-                        [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
+                        [% CASE 'Pay' %]Payment
+                        [% CASE 'Pay00' %]Payment (cash via SIP2)
+                        [% CASE 'Pay01' %]Payment (VISA via SIP2)
+                        [% CASE 'Pay02' %]Payment (credit card via SIP2)
                         [% CASE 'VOID' %]Voided
                         [% CASE 'N' %]New card
                         [% CASE 'OVERDUE' %]Fine[%- PROCESS account_status_description account=account -%]