Bug 19587

Summary: "Place request with partners" button must be hidden if no partners defined
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: magnus, oleonard, pedro.amorim
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 7317    
Bug Blocks:    

Description Jonathan Druart 2017-11-07 19:55:31 UTC
This button leads to /ill/ill-requests.pl?method=generic_confirm&illrequest_id=1

If there are no partners defined this link should not be displayed and the page not accessible (with friendly message what's happening).
Comment 1 Pedro Amorim 2023-02-06 14:36:05 UTC
This button only shows if the request's backend has the GENREQ status configured in the status_graph, on the current request's status "next_actions" array.

Additionally, currently if there are partners but none of the partners have an e-mail address, the drop-down selection for partners shows empty, i.e. the page is accessible but not functional. This should also be taken into account.