| Summary: | Add percent spent bar graph to acquisitions home page for budgets. | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Rhonda Kuiper <rkuiper> |
| Component: | Acquisitions | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | barbara.johnson, michaela.sieber |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Code used to update with percentage spent.
Code for percentage of funds available Budgets page display when using percentage available code |
||
We are using a slight variation of the code (see attachment) that displays the percent available. It is working on the budgets page but not on the acq home page. I think I personally would rather see it displaying the percent spent but I think this code uses percent available because it displays inside the Total Available column. I attached a screenshot showing what it currently looks like in our staff interface. Ultimately, it would be great if a new column could be added for this percentage info, whether it is for spent or available. The current jQuery is problematic when the user exports this table to Excel because it lives inside the Total Available column which means the spreadsheet has to be cleaned up in order to do calculations. The progress bar as well as the green and red highlighting is very nice to see where you are in each fund. When working with money I think it is reasonable to provide percentages so that the user doesn't have to calculate these manually. Created attachment 193331 [details]
Code for percentage of funds available
Created attachment 193332 [details]
Budgets page display when using percentage available code
|
Created attachment 193329 [details] Code used to update with percentage spent. Hi, There is some java script floating around that adds a colored bar to the j'Total Available' column that indicates the percent budget spent. We had it on our system but it stopped working with an upgrade. It would be great if this code was added to the base code. I have attached the code from our Intranetuserjs. This is the code that doesn't work anymore.