@@ -, +, @@
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 14 +++++++++++---
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 15 ++++++++++++---
2 files changed, 23 insertions(+), 6 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -834,7 +834,7 @@
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 %]
+ [% INCLUDE items_table items=acquisition_details.items tab="acquisition_details" noshelfbrowser=1 without="date_due" %]
[% ELSE %]
[% acquisition_details.total_quantity %] items are on order.
[% END %]
@@ -1141,7 +1141,11 @@
[% IF ( itemdata_copynumber ) %]Copy number | [% END %]
Status |
[% IF ( itemdata_itemnotes ) %]Notes | [% END %]
- Date due |
+ [% IF without != "date_due" %]
+ Date due |
+ [% ELSE %]
+ Date due |
+ [% END %]
[% IF ( OPACShowBarcode ) %]Barcode | [% END %]
[% IF holds_count.defined %]
Item holds |
@@ -1215,7 +1219,11 @@
[% IF ( itemdata_copynumber ) %][% ITEM_RESULT.copynumber %] | [% END %]
[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %] |
[% IF ( itemdata_itemnotes ) %][% ITEM_RESULT.itemnotes %] | [% END %]
- [% ITEM_RESULT.datedue | $KohaDates %] |
+ [% IF without != "date_due" %]
+ [% ITEM_RESULT.datedue | $KohaDates %] |
+ [% ELSE %]
+ [% ITEM_RESULT.datedue | $KohaDates %] |
+ [% END %]
[% IF ( OPACShowBarcode ) %][% ITEM_RESULT.barcode %] | [% END %]
[% IF holds_count.defined || show_priority %]
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
@@ -1247,7 +1247,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
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 %]
+ [% INCLUDE items_table items=acquisition_details.items tab="acquisition_details" noshelfbrowser=1 without="date_due" %]
[% ELSE %]
[% acquisition_details.total_quantity %] items are on order.
[% END %]
@@ -1542,7 +1542,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% IF ( itemdata_copynumber ) %] | Copy number | [% END %]
Status |
[% IF ( itemdata_itemnotes ) %]Notes | [% END %]
- Date due |
+ [% IF without != "date_due" %]
+ Date due |
+ [% ELSE %]
+ Date due |
+ [% END %]
[% IF ( OPACShowBarcode ) %]Barcode | [% END %]
[% IF holds_count.defined %]
Item holds |
@@ -1600,7 +1604,12 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% IF ( itemdata_copynumber ) %][% ITEM_RESULT.copynumber %] | [% END %]
[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %] |
[% IF ( itemdata_itemnotes ) %][% ITEM_RESULT.itemnotes %] | [% END %]
- [% ITEM_RESULT.datedue | $KohaDates %] |
+
+ [% IF without != "date_due" %]
+ [% ITEM_RESULT.datedue | $KohaDates %] |
+ [% ELSE %]
+ [% ITEM_RESULT.datedue | $KohaDates %] |
+ [% END %]
[% IF ( OPACShowBarcode ) %][% ITEM_RESULT.barcode %] | [% END %]
[% IF holds_count.defined || show_priority %]
--
|