]> git.koha-community.org Git - koha.git/commit
Bug 20912: Rental Fees based on Time Period
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 14 Jun 2018 13:36:51 +0000 (13:36 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 7 Mar 2019 17:22:43 +0000 (17:22 +0000)
commit3d84f4b9b3a11f32b37f27478de0ee6c5d9d37e4
tree36bca6fce97980a43b55b3a6bfa90defac62acf7
parente39541522ce30531cc8ef8d377fa60ebe45b0330
Bug 20912: Rental Fees based on Time Period

Some libraries would like to be able to charge a rental fee based on the
number of days an item will be checked out, as opposed to the flat fee
currently offered by Koha.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Edit an itemtype, add a daily rental fee of 1.00
4) Check an item of that itemtype out for 7 days
5) Verify the patron now has rental fee of 7.00

Signed-off-by: Matha Fuerst <mfuerst@hmcpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Circulation.pm
Koha/ItemType.pm
admin/itemtypes.pl
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt
t/db_dependent/Circulation.t
t/db_dependent/Koha/ItemTypes.t