Linked to bug 21467. With the new enhancement that allows partial receipt for subscription, orderlines re displayed with a summary line on /cgi-bin/koha/serials/subscription-detail.pl page. Would be useful to have a "Collapse all" / "Expand all" options.
Created attachment 89518 [details] [review] Bug 21588: Add expand/collapse all links to the "Acquisition details" subscriptions In order to make the view cleaner, a librarian may need to expand or collapse all the orders at once. Test plan: - Create a subscription - Create several orders from this subscription (quantity > 1) - Receive partially the orders - Go to the subscription detail page, "Acquisition details" tab => Notice the 2 new links "Expand all" and "Collapse all" Make sure they work as expected. Also note that a bug has been fixed, when the page is loaded the tree is now expanded.
Created attachment 89519 [details] [review] Bug 21588: Add expand/collapse all links to the "Acquisition details" subscriptions In order to make the view cleaner, a librarian may need to expand or collapse all the orders at once. Test plan: - Create a subscription - Create several orders from this subscription (quantity > 1) - Receive partially the orders - Go to the subscription detail page, "Acquisition details" tab => Notice the 2 new links "Expand all" and "Collapse all" Make sure they work as expected. Also note that a bug has been fixed, when the page is loaded the tree is now expanded. Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Created attachment 89589 [details] [review] Bug 21588: Add expand/collapse all links to the "Acquisition details" subscriptions In order to make the view cleaner, a librarian may need to expand or collapse all the orders at once. Test plan: - Create a subscription - Create several orders from this subscription (quantity > 1) - Receive partially the orders - Go to the subscription detail page, "Acquisition details" tab => Notice the 2 new links "Expand all" and "Collapse all" Make sure they work as expected. Also note that a bug has been fixed, when the page is loaded the tree is now expanded. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Small code change, works well. Includes some strings.
Nice work! Pushed to master for 19.11.00