Bug 36287

Summary: Ability to view both the budget name and budget code in a basket
Product: Koha Reporter: Laura Escamilla <Laura.escamilla>
Component: AcquisitionsAssignee: Laura Escamilla <Laura.escamilla>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low    
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:
Circulation function:
Attachments: Bug 36287: Add budget code to fund column in acq basket table

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