]> git.koha-community.org Git - koha.git/commit
Bug 33721: Fix display of shipping cost/fund on invoice summary page
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 14 May 2023 11:19:07 +0000 (11:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 18 May 2023 14:03:27 +0000 (11:03 -0300)
commitd56b959fea1b2c267e73248e11953f7c7c2e04cf
tree31f541ce2635df525a504559847f43511603f782
parentec0ebda77db48e0fbe190df9a3d1969604bc229c
Bug 33721: Fix display of shipping cost/fund on invoice summary page

When viewing an invoice, the elements in the 'Fund' line were out of order:
'Fund:' label, followed by 'Show inactive:' label, then the fund drop-down and then the show inactive checkbox.

The order should be:
'Fund:' label, fund drop-down, 'Show inactive:' label, show inactive checkbox.

This copies the markup that is used when you click on "Receive shipment".
It also changes 'Fund' to 'Shipping fund' to bring the forms even more in line.

To recreate:
1. In acquisitions, create an order and close the basket
2. Click 'Receive shipment' and receive the order
3. Click 'Finish receiving'
   --> The Fund line in invoice.tt is out of order
4. Apply patch
5. Verify the order is now fixed

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt