Bug 24098: Standardize Fines/Fees & Charges
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 13 Apr 2020 00:20:30 +0000 (02:20 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 May 2020 08:54:20 +0000 (09:54 +0100)
This patch suggests to adopt the terminology used in the OPAC
to only use charges and leave off the Fines or Fees.

To test:
- Add a charge to your account
- Check the note on the details and checkouts tabs
- Check the tab name on the details tab
- Activate batch checkouts via systempreferences for your
  patron category:
  - BatchCheckouts
  - BatchCheckoutsValidCategories
- Add a guarantee to your patron and allow to see fines
  (requires: AllowStaffToSetFinesVisibilityForGuarantor)
- Add a manual fine for the guaranee above NoIssuesChargeGuarantee
- Go to the batch checkout tab of your patron and verify note there

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
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/blocked-fines.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

index 4bba7f7..ccb5ed2 100644 (file)
@@ -2,8 +2,8 @@
 [% SET NoIssuesCharge = Koha.Preference('noissuescharge') %]
 [% IF fines and fines > 0 %]
     <li>
-        <span class="circ-hlt">Fees &amp; Charges:</span>
-        Patron has outstanding fees &amp; charges of [% fines | $Price %].
+        <span class="circ-hlt">Charges:</span>
+        Patron has outstanding charges of [% fines | $Price %].
         [% IF !Koha.Preference('AllowFineOverride') && NoIssuesCharge && fines > NoIssuesCharge %]
            <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
         [% END %]
index 7423164..a4d721a 100644 (file)
 
                                     [% IF ( charges_guarantees ) %]
                                         <li>
-                                            <span class="circ-hlt">Fees &amp; Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
+                                            <span class="circ-hlt">Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
                                                 [% IF noissues %]
                                                     <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
                                                 [% END %]
index 2550819..4df661a 100644 (file)
@@ -51,7 +51,7 @@
     [% END %]
     [% IF charges_guarantees %]
         <li>
-            <span class="circ-hlt">Fees &amp; Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
+            <span class="circ-hlt">Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
         </li>
         <li>
             <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
index 8321ede..01587de 100644 (file)
                             [% END %]
                             [% IF ( fines ) %]
                                 <li id="finestab">
-                                    <a href="#finesandcharges">Fines &amp; Charges ([% fines | $Price %])</a>
+                                    <a href="#finesandcharges">Charges ([% fines | $Price %])</a>
                                 </li>
                             [% END %]
                             [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]