@@ -, +, @@
account
- No English strings should be stored in the accountline description.
- The accounttype code should be used to display what kind of charge it
is.
- Configure a patron category to have a hold fee.
- Place one or more holds for a patron in that category.
- On the patron's record, view Accounting -> Make a payment
- There should be a separate column for "Account type" showing "Hold
fee" for the hold charges.
- There should be no "Res" or "Reserve Charge" text in the
description column--just the title.
- Switch to the "Transactions" tab. The display should be similar.
- In the OPAC, log in as a patron who has hold fees on their account.
- View the "your fines" page to confirm that the information is
displayed correctly there as well.
- Place a hold for a patron who incurs hold charges.
- Log in to the self-checkout module as that patron and check out an
item which will fulfill that hold.
- The correct fine information should be saved to accountlines: A "Res"
type with a description consisting only of the title.
---
C4/Reserves.pm | 2 +-
.../intranet-tmpl/prog/en/includes/accounts.inc | 1 +
.../prog/en/modules/members/boraccount.tt | 9 +++---
.../intranet-tmpl/prog/en/modules/members/pay.tt | 32 ++++------------------
.../bootstrap/en/includes/account-table.inc | 12 +++++---
opac/sco/sco-main.pl | 2 +-
6 files changed, 22 insertions(+), 36 deletions(-)
--- a/C4/Reserves.pm
+++ a/C4/Reserves.pm
@@ -571,7 +571,7 @@ sub ChargeReserveFee {
Koha::Account->new( { patron_id => $borrowernumber } )->add_debit(
{
amount => $fee,
- description => "Reserve Charge - " . $title,
+ description => $title,
note => undef,
user_id => C4::Context->userenv ? C4::Context->userenv->{'number'} : undef,
library_id => C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef,
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc
@@ -21,6 +21,7 @@
[%- CASE 'WO' -%]Writeoff
[%- CASE 'C' -%]Credit
[%- CASE 'CR' -%]Credit
+ [%- CASE 'Res' -%]Hold fee
[%- CASE -%][% account.accounttype | html %]
[%- END -%]
[%- END -%]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
@@ -44,6 +44,7 @@
Date
+ Account type
Description of charges
Barcode
Due date
@@ -61,10 +62,10 @@
[% account.date |$KohaDates %]
+ [% PROCESS account_type_description account=account %]
- [% PROCESS account_type_description account=account %]
- [%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %][% END %]
- [%- IF account.description %], [% account.description | html %][% END %]
+ [%- IF account.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %][% END %]
+ [%- IF account.description %][% account.description | html %][% END %]
[% IF ( account.itemnumber ) %][% account.item.biblio.title | html %][% END %]
[% IF ( account.itemnumber ) %][% account.item.barcode | html %][% END %]
[% IF ( account.issue_id ) %][% account.checkout.date_due | $KohaDates as_due_date => 1 %][% END %]
@@ -89,7 +90,7 @@
[% END %]