Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard 777e29e420 Bug 21511: Don't show acquisition details on subscription detail when there is no acq data
This patch modifies the subscription detail page so that acquisitions
details section is not shown when there is no acquisitions data.

The acquisitions details are moved into a new tab similar to how it
appears on the bibliographic details page. A count of orders is now
passed to the template so that the check for existing acquisitions data
will work correctly.

To test, apply the patch and view the detail page for subscriptions.

- When viewing a subscription for which there are orders you should see
  an "Acquisitions details" tab containing the acquisitions data.
- When viewing a subscription with no orders the tab should not appear.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-10-24 17:22:47 +00:00
..
data
includes Bug 21216: (follow-up) Exclude some columns from export 2018-10-24 13:38:49 +00:00
modules Bug 21511: Don't show acquisition details on subscription detail when there is no acq data 2018-10-24 17:22:47 +00:00
xslt Bug 20910: Tidy 773 handling XSLT code 2018-10-09 11:07:47 +00:00
columns.def