Bug 33465 - Make it clear if there are linked licenses when viewing the vendor record
Summary: Make it clear if there are linked licenses when viewing the vendor record
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Jonathan Druart
QA Contact:
URL:
Keywords:
Depends on: 33106
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-09 13:41 UTC by Katrin Fischer
Modified: 2023-05-02 13:46 UTC (History)
4 users (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

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-04-09 13:41:14 UTC
Bug 33106 added a new tab to the vendors detail page that will take you to the licenses page in the ERM module and show any linked licenses for the vendor.

At the moment you cannot tell without clicking the tab, if there are any linked licenses. There are 2 options that could improve things here:

* Only show the tab if there are linked licenses
* Show the number of linked licenses in the tab description

I am leaning a little to the second and it would match what we do in the catalog detail page for holds and other things.
Comment 1 Jonathan Druart 2023-05-02 13:46:03 UTC
From bug 33106 comment 11

"""
(In reply to Jonathan Field from comment #9)
> That works now, thanks for fixing that! I still think it would be good to
> not display the link if there is no attached record but I think we can deal
> with that in a separate bugzilla entry, this works as planned.

I am not sure about that. The other tabs are there even if there is nothing on the view (for baskets). If we add another tab later (for issues for instance), it  will be placed differently depending on the existence of license linked to the vendor, that does not seem correct to me.

We could add the number of licenses in parenthesis but again, it is inconsistent with the other tabs.

So basically, yes, we should discuss that on a separate bug :)
"""