Bug 36287 - Ability to view both the budget name and budget code in a basket
Summary: Ability to view both the budget name and budget code in a basket
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Laura Escamilla
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 20:07 UTC by Laura Escamilla
Modified: 2024-03-11 15:05 UTC (History)
0 users

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 36287: Add budget code to fund column in acq basket table (1.98 KB, patch)
2024-03-08 20:17 UTC, Laura Escamilla
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Laura Escamilla 2024-03-08 20:07:48 UTC
Some libraries have expressed interest in seeing both the budget name and code in the basket table.
Comment 1 Laura Escamilla 2024-03-08 20:17:07 UTC
Created attachment 162978 [details] [review]
Bug 36287: Add budget code to fund column in acq basket table

Trivial patch is attached. I'm open for discussing whether this would work better as a system preference so that libraries could decide whether they would like to see only the fund name, code, or both.

To test:
1. Create a basket and add an item. Notice that the fund column in the basket table only displays the budget name.
2. Apply the patch.
3. Refresh the page and note that the fund column now displays both the budget name and budget code.
Comment 2 Katrin Fischer 2024-03-09 11:20:36 UTC
Hi Laura,

had a quick look here:

* If you are worried about customization, we could wrap the code in a span with a class.
* Also wondering if something like "budget name (budget code)" would work a little better to save on display space.
* I believe terminology might not be quite right. Should it not be fund instead of budget? As things got renamed after initial development of the acquisition module, there is an unfortunate mismatch between what we call things and the variable names.
Comment 3 Laura Escamilla 2024-03-11 15:05:27 UTC
Hi Katrin, 

Thank you for your feedback! I will work on a new patch!

--Laura