]> git.koha-community.org Git - koha.git/commit
Bug 34444: Correct handling of sort1 and sort2 values
authorNick Clemens <nick@bywatersolutions.com>
Wed, 8 May 2024 13:22:58 +0000 (13:22 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 27 Jun 2024 13:38:55 +0000 (13:38 +0000)
commit572ce3af4aaad54036297e67d659a74900c36131
treeee9af238d9ee4003bac5b5505d02dcde5f2b96c9
parenteff4e19ef8a68c495a86561fa8cd12508fbd7157
Bug 34444: Correct handling of sort1 and sort2 values

Removed extraneous sort_1 data elements
Update selectors to use field names for statistics field
Updated code to set the value after finding the correct selector

To test:
* Make sure you have at least 2 funds with different stat settings, using AV and not
* Create a basket with an order line
* Close it and receive shipment
* Create an invoice and receive the order line
* Finish receiving

* Click "Modify fund"
* Switch fund, verify the stat fields are updated accordingly
* Change values for statistical values
* Update fund
* Edit fund again, pull downs are correct
* Change values in form and close, do not update
* Click 'Modify fund' - confrim form is filled with the saved values

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 596d6b74eaa38e2adb6f6540f0d5b7b26d000c11)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt