Bug 21588: Add expand/collapse all links to the "Acquisition details" subscriptions
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 May 2019 17:27:15 +0000 (12:27 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 13:56:50 +0000 (14:56 +0100)
commita6d732f563bfcd19691decbb9968dc1f4b25c07c
tree31cf7966fe2ab5a3b16a5a4c4351ffb46438d25e
parent3599e57bf67a1357c13903fbf07f07cb2c94e756
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt