Bug 38208 - Provide a link to ERM agreements and licenses from a vendor record
Summary: Provide a link to ERM agreements and licenses from a vendor record
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Matt Blenkinsop
QA Contact: Testopia
URL:
Keywords:
Depends on: 38010
Blocks: 38290
  Show dependency treegraph
 
Reported: 2024-10-18 14:33 UTC by Matt Blenkinsop
Modified: 2025-01-09 19:41 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 38208: Provide a link from vendors to ERM (7.87 KB, patch)
2024-12-04 10:09 UTC, Matt Blenkinsop
Details | Diff | Splinter Review
Bug 38208: Provide a link from vendors to ERM (7.87 KB, patch)
2024-12-04 10:10 UTC, Matt Blenkinsop
Details | Diff | Splinter Review
Bug 38208: Provide a link from vendors to ERM (7.86 KB, patch)
2024-12-19 12:34 UTC, Matt Blenkinsop
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Blenkinsop 2024-10-18 14:33:25 UTC
It would be useful to be able to have a link in the left hand menu on the vendor record that takes you to the ERM Agreements or Licenses pages and filters the list by that vendor's id
Comment 1 Matt Blenkinsop 2024-12-04 10:09:34 UTC
Created attachment 175138 [details] [review]
Bug 38208: Provide a link from vendors to ERM

This patch provides a link in the left hand menu so that from a vendor record you can access ERM agreements and licenses relevant to that vendor

Test plan:
1) Apply patch and yarn build
2) Navigate to ERM and create some agreements and licenses that link to a vendor and some that don't
3) Navigate to a vendor record
4) There should be links in the left hand menu for agreements and licenses
5) Click on these and you should be taken to ERM and see a filtered table based on that vendor
Comment 2 Matt Blenkinsop 2024-12-04 10:10:38 UTC
Created attachment 175139 [details] [review]
Bug 38208: Provide a link from vendors to ERM

This patch provides a link in the left hand menu so that from a vendor record you can access ERM agreements and licenses relevant to that vendor

Test plan:
1) Apply patch and reset_all
2) Navigate to ERM and create some agreements and licenses that link to a vendor and some that don't
3) Navigate to a vendor record
4) There should be links in the left hand menu for agreements and licenses
5) Click on these and you should be taken to ERM and see a filtered table based on that vendor
Comment 3 Matt Blenkinsop 2024-12-19 12:34:32 UTC
Created attachment 175722 [details] [review]
Bug 38208: Provide a link from vendors to ERM

This patch provides a link in the left hand menu so that from a vendor record you can access ERM agreements and licenses relevant to that vendor

Test plan:
1) Apply patch and reset_all
2) Navigate to ERM and create some agreements and licenses that link to a vendor and some that don't
3) Navigate to a vendor record
4) There should be links in the left hand menu for agreements and licenses
5) Click on these and you should be taken to ERM and see a filtered table based on that vendor
Comment 4 Esther Melander 2024-12-31 16:47:53 UTC
I tried this using a sandbox. I did restart all services. I was able to create agreements and licenses and link them to a vendor. The sandbox had one vendor called My Vendor that was available. However I had these difficulties:

1. I tried to add additional vendors and was given a 404 error
2. I tried searching vendors and was given a 404 error.
3. I could click on the vendor My Vendor in the licenses and agreements tables. It took me to the Vendor Record/Detail page. There were no links in the left hand menu for agreements or licenses.
Comment 5 Esther Melander 2025-01-09 19:41:18 UTC
Just updating this ticket. I tried this again just in case there was a problem with my sandbox. These are the steps I took.

1. Spun up sandbox.
2. Applied patch.
3. Restarted services
4. Build CSS and JS
5. Proceed with testing plan.

If these steps are not correct, please advise. I had the same results:

1. I tried to add additional vendors and was given a 404 error
2. I tried searching vendors and was given a 404 error.
3. Clicking on the vendor My Vendor in the licenses and agreements tables gave me a 404 error.