]> git.koha-community.org Git - koha.git/commit
Bug 11897: Stockrotation
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 1 Oct 2018 16:46:40 +0000 (17:46 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 9 Oct 2018 15:46:05 +0000 (15:46 +0000)
commit85be5a81883b9b8d7d071ec39e63021d504a75de
tree851cabf5558fc8d763eeb52f6d32a4e0cdc8565b
parent5088e3084dad6c66cb3f3a2e6127e98974dc81b6
Bug 11897: Stockrotation

The stock rotation feature adds a batch process to automate rotation of
catalgue items with a staff client page under tools to manage rotas/schedules.

Once a rota is configured, and your staff user has the right permissions
to allocate items, then an additional tab will appear on biblio records
allowing the management of of which rota, if any, individual items belong to.

It also includes a cron script to process the items on a daily basis.

Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: I removed a temporary file

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
30 files changed:
Koha/Item.pm
Koha/Library.pm
Koha/REST/V1/Stage.pm [new file with mode: 0644]
Koha/StockRotationItem.pm [new file with mode: 0644]
Koha/StockRotationItems.pm [new file with mode: 0644]
Koha/StockRotationRota.pm [new file with mode: 0644]
Koha/StockRotationRotas.pm [new file with mode: 0644]
Koha/StockRotationStage.pm [new file with mode: 0644]
Koha/StockRotationStages.pm [new file with mode: 0644]
Koha/Util/StockRotation.pm [new file with mode: 0644]
api/v1/swagger/paths.json
api/v1/swagger/paths/rotas.json [new file with mode: 0644]
catalogue/stockrotation.pl [new file with mode: 0755]
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
koha-tmpl/intranet-tmpl/prog/en/includes/stockrotation-toolbar.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js [new file with mode: 0644]
misc/cronjobs/stockrotation.pl [new file with mode: 0755]
t/db_dependent/Items.t
t/db_dependent/Koha/Libraries.t
t/db_dependent/StockRotationItems.t [new file with mode: 0644]
t/db_dependent/StockRotationRotas.t [new file with mode: 0644]
t/db_dependent/StockRotationStages.t [new file with mode: 0644]
t/db_dependent/api/v1/stockrotationstage.t [new file with mode: 0644]
tools/stockrotation.pl [new file with mode: 0755]