]> git.koha-community.org Git - koha.git/commit
Bug 34444: [22.11.x] Correct handling of sort1 and sort2 values
authorNick Clemens <nick@bywatersolutions.com>
Wed, 8 May 2024 13:22:58 +0000 (13:22 +0000)
committerwainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
Tue, 17 Sep 2024 01:32:30 +0000 (01:32 +0000)
commit5ce0e962d742139110bf3c8b286ad07a70ec55d4
treed4ea1b45a7cd6f9e246f491ac3b7f86997e7f197
parenta6242f8165d3b7d9b8eb677ed0aa05368ec0d8cc
Bug 34444: [22.11.x] 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: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt