]> git.koha-community.org Git - koha.git/commit
Bug 33716: Preparation
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 4 May 2023 13:32:36 +0000 (13:32 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 19 Sep 2023 19:34:30 +0000 (16:34 -0300)
commit712d7f29efb960d38b512d5025e52f3b02607aae
tree8190158ccc6c70f2bdb70d2ccd851f98263b9a5d
parent1009d3fca807d9ee5f9f3e388f6d6143e377b93e
Bug 33716: Preparation

New Illrequest::Workflow superclass
New Illrequest::Workflow::TypeDisclaimer
Moved Illrequest::Availability to Illrequest::Workflow::Availability

Removed check for backend capability "should_display_availability"
Instead, the check is now done for "can_create_request" backend
capability
This serves the purpose of having the backend let core know
if it can create the request or not. In other words, if the
create form has been submitted or not.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illrequest/Availability.pm [deleted file]
Koha/Illrequest/Workflow.pm [new file with mode: 0644]
Koha/Illrequest/Workflow/Availability.pm [new file with mode: 0644]
Koha/Illrequest/Workflow/TypeDisclaimer.pm [new file with mode: 0644]