Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
Nick Clemens 5590d09fe7
Bug 31463: Add order status to opac-detail.pl
This adds a check for the preference OPACAcquisitionDetails and fetches
the active orders for the item if necessary

Additionally, we simply the check for biblio orders to use object methods
and remove code that stored order information in the item_info

To test:
1 - Enable preference: OPACAcquisitionDetails
2 - Create a basket with items created on order, add an order for a biblio, close the basket
3 - Create a second basket as above, add an order with multiple copies, leave basket open
4 - View biblio on opac
5 - You should see 1 item marked on order, and "1 items on order" below items table
6 - Close second basket
7 - Reload opac view, now 3 on order and in message
8 - Reopen first basket
9 - Reload opac view, now 2 on order and in message

JK: Remove unused @itemnumbers_on_order variable
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-03 08:40:57 -03:00
..
account-table.inc
accounts.inc Bug 29602: (follow-up) Fix TT tags broken due to missing % 2022-04-19 21:25:51 -10:00
authorities-search-results.inc Bug 29602: (follow-up) Fix TT tags broken due to missing % 2022-04-19 21:25:51 -10:00
authority-identifiers.inc Bug 29897: Don't display empty li 2022-08-09 10:58:49 -03:00
av-build-dropbox.inc Bug 30603: Fix other occurrences 2022-05-10 23:09:09 -10:00
biblio-title-head.inc
biblio-title.inc Bug 30566: Incorporate link handling in OPAC's biblio-title include 2022-07-05 09:57:25 -03:00
bodytag.inc
calendar.inc Bug 30718: (QA follow-up) Apply prevent duplication on OPAC too 2022-08-19 08:26:40 -03:00
columns_settings.inc
datatables.inc
date-format.inc
display-library-address.inc
doc-head-close.inc Bug 8305: Added an icon for iOS home screen 2022-09-26 10:53:55 -03:00
doc-head-open.inc Bug 30543: Decouple DumpSearchQueryTemplate from other tempalte dump preferences 2022-08-09 08:44:14 -03:00
greybox.inc
holds-table.inc Bug 30500: Allow patrons to change in transit holds pickup locations 2022-08-05 11:54:54 -03:00
html_helpers.inc Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
i18n.inc
ill-availability-table.inc
item-status-schema-org.inc Bug 31313: Fix availability - OPAC opac-detail 2022-08-16 09:23:54 -03:00
item-status.inc Bug 31463: Add order status to opac-detail.pl 2022-10-03 08:40:57 -03:00
js-date-format.inc
masthead-langmenu.inc
masthead-sci.inc
masthead-sco.inc
masthead.inc Bug 31064: Wrap local login with stylable element 2022-07-01 16:37:34 -03:00
navigation.inc
opac-authorities.inc Bug 29602: (follow-up) Fix TT tags broken due to missing % 2022-04-19 21:25:51 -10:00
opac-bottom.inc Bug 31040: jsTree image being used outside of jsTree plugin 2022-07-05 09:18:20 -03:00
opac-detail-sidebar.inc Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
opac-facets.inc Bug 27035: Shows the number of results in a facets after facet selection 2022-04-12 11:40:17 +02:00
opac-note.inc
opac-topissues.inc Bug 17018: Split AdvancedSearchTypes for staff and OPAC 2022-04-12 17:13:02 +02:00
openlibrary-readapi.inc
overdrive-checkout.inc
overdrive-login.inc
page-numbers.inc
password_check.inc
patron-title.inc Bug 21978: Add support for middle name 2022-06-24 12:24:11 -03:00
recordedbooks-checkout.inc
resort_form.inc
shelfbrowser.inc Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
slip-print.inc
subtypes_unimarc.inc
title-actions-menu.inc Bug 19532: (follow-up) Fixes along recall workflow 2022-03-14 22:45:51 -10:00
user-star-ratings.inc
usermenu.inc Bug 30650: OPAC view 2022-07-29 15:00:13 -03:00
validator-strings.inc
xslt-handler.inc Bug 29602: (follow-up) fix duplicate, missing or mismatching <span> 2022-04-19 21:25:51 -10:00