Browse Source

Bug 24098: Standardize Fines/Fees & Charges

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>
20.05.x
Katrin Fischer 4 years ago
committed by Martin Renvoize
parent
commit
ef55bc44fd
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc
  2. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
  3. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt
  4. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

4
koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc

@ -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 %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

@ -766,7 +766,7 @@
[% 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 %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt

@ -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>

2
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

@ -710,7 +710,7 @@
[% 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 ) %]

Loading…
Cancel
Save