]> git.koha-community.org Git - koha.git/commit
Bug 24157: New permission - reopen_closed_invoices
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Dec 2019 19:03:28 +0000 (20:03 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 15:30:23 +0000 (17:30 +0200)
commitf10acb07e68f10a69e087012e47ae210cd609783
treeb66442035c63fb2c0b6f637bf307ac9c4ac210db
parent8f7bf2a6b4ab8d4d0be3b522753a8fd17d9fc54f
Bug 24157: New permission - reopen_closed_invoices

New permission to reopen a closed invoice.

Test plan:
- Remove the new permission "reopen_closed_invoices" for a given patron,
use it to log in into Koha
- Create an invoice, close it
=> You are not able to reopen the invoice
- Add the permission
=> You are able to reopen the invoice

Sponsored-by: Galway-Mayo Institute of Technology
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
acqui/invoice.pl
installer/data/mysql/atomicupdate/bug_24157.perl [new file with mode: 0644]
installer/data/mysql/userpermissions.sql
koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt