bug_5911: Transport Cost Matrix
commit86c2c4626d4f60b70531bd0ab358b9bd4faa8f08
authorSrdjan <srdjan@catalyst.net.nz>
Wed, 5 Sep 2012 00:47:21 +0000 (5 12:47 +1200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 12 Sep 2012 12:49:25 +0000 (12 14:49 +0200)
tree821c80562c25a1369b8a120284edc6a82ab727e1
parent07287ec065a1eb599baa61cab93c5705cbe24a29
bug_5911: Transport Cost Matrix

Create transport_cost table,  added UseTransportCostMatrix syspref.
transport_cost table contains branch to branch transfer
costs. These are used for filling inter-branch hold transfers.

Moved GetHoldsQueueItems() from .pl to HoldsQueue.pm

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
13 files changed:
C4/Circulation.pm
C4/HoldsQueue.pm [new file with mode: 0755]
admin/systempreferences.pl
admin/transport-cost-matrix.pl [new file with mode: 0755]
circ/view_holdsqueue.pl
installer/data/mysql/kohastructure.sql
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt [new file with mode: 0644]
misc/cronjobs/holds/build_holds_queue.pl
t/db_dependent/HoldsQueue.t [new file with mode: 0755]