Bug 33105: Add vendor issues
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 Apr 2023 21:01:53 +0000 (23:01 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 20 Jul 2023 13:59:22 +0000 (10:59 -0300)
commit0f7daf1b0006ca4fd7e0afb59097eff026e42db0
tree1922ac277dddd1ce50bfb61056c1e89f6a92f47a
parent56cdee5037dc6ea0b147c12b5d2dd8aa0573834d
Bug 33105: Add vendor issues

This patch is the main patch of this patch set, it contains the
controller acqui/vendor_issues.pl, its corresponding template, and some
links to this script.

It adds:
* A new DB table aqbookseller_issues linked with the aqbooksellers table
* A new subpermission acquisition.issue_manage
* A new authorised value category VENDOR_ISSUE_TYPE and two examples
MAINTENANCE and OUTAGE
* A new controller couple acqui/vendor_issues.[pl,tt]

Test plan:
0. Apply the patches, run updatedatabase and restart_all
1. Go to the acquisition module, create a new vendor or use an existing
one
2. Create a couple of issues for this vendor
3. Edit/Delete and search for those issues

This is the basics for tracking issues with vendors.
Suggestions welcome, on follow-up bug reports.

Signed-off-by: Jonathan Field <jonathan.fieeld@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
acqui/vendor_issues.pl [new file with mode: 0755]
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
koha-tmpl/intranet-tmpl/prog/en/includes/vendor-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt