Bug 41553 - Add fund code to fund pulldown for order editor ( neworderempty.pl )
Summary: Add fund code to fund pulldown for order editor ( neworderempty.pl )
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Kyle M Hall (khall)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-08 19:08 UTC by Kyle M Hall (khall)
Modified: 2026-01-08 19:30 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41553: Add fund code to fund pulldown for order editor ( neworderempty.pl ) (3.66 KB, patch)
2026-01-08 19:28 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review
Bug 41553: Add fund code to fund pulldown for order editor ( neworderempty.pl ) (3.10 KB, patch)
2026-01-08 19:30 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall (khall) 2026-01-08 19:08:01 UTC
It's possible to give multiple funds the same name. It would be helpful to have the fund code in the pulldown options to help disambiguate these funds.
Comment 1 Kyle M Hall (khall) 2026-01-08 19:28:16 UTC
Created attachment 191035 [details] [review]
Bug 41553: Add fund code to fund pulldown for order editor ( neworderempty.pl )

It's possible to give multiple funds the same name. It would be helpful to have the fund code in the pulldown options to help disambiguate these funds.

In addition, spans with classes have been added to both the fund name and the fund code for ease of styling.

Test Plan:
1) Create 2 funds with the same name and different fund codes
2) Apply this patch
3) Restart all the things!
4) Create a new order, note the fund code is displayed after the fund name
Comment 2 Kyle M Hall (khall) 2026-01-08 19:30:44 UTC
Created attachment 191036 [details] [review]
Bug 41553: Add fund code to fund pulldown for order editor ( neworderempty.pl )

It's possible to give multiple funds the same name. It would be helpful to have the fund code in the pulldown options to help disambiguate these funds.

In addition, spans with classes have been added to both the fund name and the fund code for ease of styling.

Test Plan:
1) Create 2 funds with the same name and different fund codes
2) Apply this patch
3) Restart all the things!
4) Create a new order, note the fund code is displayed after the fund name