@@ -, +, @@
---
.../bootstrap/en/includes/item-status.inc | 2 ++
.../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 18 +++++++++++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc
@@ -46,6 +46,8 @@ not use an API to fetch items that populates item.datedue.
[% ELSE %]
Item damaged
[% END %]
+[% ELSIF item.on_order %]
+ On order
[% ELSE %]
Available [% IF ( item.restrictedopac ) %]([% item.restrictedopac %])[% END %]
[% END %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -560,6 +560,10 @@
[% END %]
+ [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.orders.size > 0 %]
+
Acquisition details
+ [% END %]
+
[% IF Koha.Preference( 'reviewson' ) == 1 %]
[% END %]
@@ -825,6 +829,18 @@
[% END # IF subscriptionsnumber %]
+ [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.orders.size > 0 %]
+
+
Acquisition details
+ [% IF Koha.Preference('AcqCreateItem') == 'ordering' %]
+ The following items are on order.
+ [% INCLUDE items_table items=acquisition_details.items tab="acquisition_details" noshelfbrowser=1 %]
+ [% ELSE %]
+ [% acquisition_details.total_quantity %] items are on order.
+ [% END %]
+
+ [% END %]
+
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
@@ -1173,7 +1189,7 @@
[% IF ( ITEM_RESULT.itemcallnumber ) %]
[% ITEM_RESULT.itemcallnumber %]
- [% IF ( OPACShelfBrowser ) %]
+ [% IF ( OPACShelfBrowser and not noshelfbrowser) %]
[% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
(Browse shelf)
[% ELSE %]
--
|