]> git.koha-community.org Git - koha.git/commit
Bug 14048: Add RefundLostItemFeeRule table and classes
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Jun 2016 14:23:20 +0000 (11:23 -0300)
committerJesse Weaver <jweaver@bywatersolutions.com>
Thu, 7 Jul 2016 16:37:01 +0000 (10:37 -0600)
commit65558f20801dc7245de385af29fc7c650a8211f3
tree36a20c388eb1cde16aec1a505e79d6c294c0e84d
parent4747e6155efc9902003ae3ae4c14535fc7ece015
Bug 14048: Add RefundLostItemFeeRule table and classes

This patch introduces new classes for handling refund lost item fee
rules. It introduces a new table for storing this rules.

It is designed so it is possible to define a global rule, and then
branch-specific ones. The specific is prefered if available.

This behaviour is fully tested by unit tests introduced by the following patches.

This cannot be tested on its own.

Sponsored-by: DoverNet
Sponsored-by: South-East Kansas Library System
Sponsored-by: SWITCH Library Consortium
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jason Robb <jrobb@sekls.org>
Signed-off-by: Jennifer Schmidt <jschmidt@switchinc.org>
Signed-off-by: Margaret Thrasher <p.thrasher@dover.nh.gov>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
C4/Installer.pm
Koha/Exceptions.pm
Koha/RefundLostItemFeeRule.pm [new file with mode: 0644]
Koha/RefundLostItemFeeRules.pm [new file with mode: 0644]
Koha/Schema/Result/RefundLostItemFeeRule.pm [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
installer/data/mysql/mandatory/refund_lost_item_fee_rules.sql [new file with mode: 0644]