@@ -, +, @@ - With and without cover images enabled - With FRBRizeEditions enabled (and multiple editions in your catalog) - With LocalCoverImages enabled - With AcquisitionDetails enabled - With a serial record - With a record with component parts - With EnableItemGroups enabled - Wtih CatalogConcerns enabled - With HTML5MediaEnabled and a record with media links --- .../prog/en/modules/catalogue/detail.tt | 3126 +++++++++-------- 1 file changed, 1656 insertions(+), 1470 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -36,11 +36,11 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] - [% IF ( unknownbiblionumber ) %] - Unknown record - [% ELSE %] - Details for [% INCLUDE 'biblio-title-head.inc' %] - [% END %] › Catalog › Koha + [% IF ( unknownbiblionumber ) %] + Unknown record + [% ELSE %] + Details for [% INCLUDE 'biblio-title-head.inc' %] + [% END %] › Catalog › Koha [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] @@ -73,1269 +73,1444 @@ [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] -
-
-
-
-
- [% IF ( unknownbiblionumber ) %] -
The record you requested does not exist ([% biblionumber | html %]).
+
The record you requested does not exist ([% biblionumber | html %]).
[% ELSE %] -[% IntranetCoce = Koha.Preference('IntranetCoce') %] -[% CoceProviders = Koha.Preference('CoceProviders') %] -[% CoceHost = Koha.Preference('CoceHost') %] -[% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] - -[% INCLUDE 'cat-toolbar.inc' %] - [% IF decoding_error %] -
- - There is an error with this bibliographic record, the view may be degraded. -
Error: [% decoding_error | html %]
-
- [% END %] - [% IF analytics_error %] -
- - There was an error searching for analytic records, please see the logs for details. -
- [% END %] - [% IF ( ocoins ) %] - - - [% END %] - - [% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] -
- [% ELSE %] -
- [% END %] -
- - [% XSLTBloc | $raw %] +
+
+
+
+
+ + [% IntranetCoce = Koha.Preference('IntranetCoce') %] + [% CoceProviders = Koha.Preference('CoceProviders') %] + [% CoceHost = Koha.Preference('CoceHost') %] + [% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] + + [% INCLUDE 'cat-toolbar.inc' %] + [% IF decoding_error %] +
+ + There is an error with this bibliographic record, the view may be degraded. + +
Error: [% decoding_error | html %]
+
+ [% END %] + [% IF analytics_error %] +
+ + There was an error searching for analytic records, please see the logs for details. + +
+ [% END %] + [% IF ( ocoins ) %] + + + [% END %] - [% IF shelves.count %] - Lists that include this title: - [% FOREACH s IN shelves %] - [% s.shelfname | html %] - [% IF ( loop.last ) %][% ELSE %]|[% END %] - [% END %] - - [% END %] - [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %] - Tags: - [% FOREACH TagLoo IN TagLoop %] - [% IF ( CAN_user_tools_moderate_tags ) %] - [% TagLoo.term | html %] + [% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] +
[% ELSE %] - [% TagLoo.term | html %] +
[% END %] - ([% TagLoo.weight_total | html %])[% IF ( loop.last ) %][% ELSE %], [% END %] - [% END %] - - [% END %] - MARC preview: Show - - MARC framework: - [% Frameworks.GetName(biblio.frameworkcode) | html %] - - [% IF !item_level_itypes || Koha.Preference("BiblioItemtypeInfo") %] - Itemtype: - [% IF ( !noItemTypeImages && imageurl ) %] - - [% END %] - [% IF ( description ) %] - [% description | html %] - [% ELSE %] - [% itemtype | html %] - [% END %] - - [% END %] - - [% IF ( Koha.Preference('SearchEngine') == 'Elasticsearch' ) %] - Elasticsearch record: Show - [% END %] - - [% IF ( holdcount ) %] - - Holds: - - [% IF CAN_user_reserveforothers_place_holds %] - [% holdcount | html %] - [% ELSE %] - [% holdcount | html %] - [% END %] - - - [% END %] - - [% IF illrequests.count %] - - ILL requests: - [% IF CAN_user_ill %] - [% FOREACH ill IN illrequests %] - Request [% ill.illrequest_id | html %][% IF ! loop.last %], [% END %] - [% END %] - [% ELSE %] - [% FOREACH ill IN illrequests %] - Request [% ill.illrequest_id | html %][% IF ! loop.last %], [% END %] - [% END %] - [% END %] - - [% END %] - [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %] - - Article requests: - - [% article_requests_count | html %] - - - [% END %] - - [% IF course_reserves %] - Courses that have reserved this title: - [% FOREACH c IN course_reserves %] - [% c.course.course_name | html %] - [% IF ( loop.last ) %][% ELSE %]|[% END %] - [% END %] - - [% END %] -
[%# .page-section %] +
- [% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] -
-
-
- [% IF ( LocalCoverImages ) %] - [% IF localimages.count %] - [% FOREACH image IN localimages %] -
- - Local cover image - -
Local cover image
-
- [% END %] - [% END %] - [% END %] - - [% IF ( AmazonCoverImages && normalized_isbn) %] -
- - Amazon cover image - -
Image from Amazon.com
-
- [% END %] + [% XSLTBloc | $raw %] - [% IF ( IntranetCoce && CoceProviders && normalized_isbn ) %] - [% coce_id = normalized_ean || normalized_isbn %] -
- [% IF ( coce_id ) %] - - [% ELSE %] - No cover image available - [% END %] -
Image from Coce
-
- [% END %] - - [% IF ( SyndeticsCovers ) %] - [% IF ( content_identifier_exists ) %] -
- - - -
Image from Syndetics
-
- [% ELSE %] - No cover image available - [% END %] - [% END %] - - [% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] - [% SET custom_cover_image_url = biblio.custom_cover_image_url %] - [% IF custom_cover_image_url %] -
- - Custom cover image - -
Custom cover image
-
- [% END %] - [% END %] -
-
- [% ELSE %] -
- [% END # /IF ( AmazonCoverImages, etc ) %] -
- -
- - - -
-[% items_table_block_iter = 0 %] -[% BLOCK items_table %] - [% items_table_block_iter = items_table_block_iter + 1 %] -
- [% IF (StaffDetailItemSelection) %] - | Select all | - Clear all - - | Actions: - [% IF CAN_user_tools_items_batchdel %] - Delete selected items - [% END %] - [% IF CAN_user_tools_items_batchmod %] - Modify selected items - [% END %] - [% IF CAN_user_editcatalogue_manage_item_groups && biblio.item_groups.count %] - Add/move to item group - Remove from item group - [% END %] - - [% END %] -
- - - - [% IF (StaffDetailItemSelection) %][% END %] - [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] - - [% END %] - [% IF ( item_level_itypes ) %][% END %] - - - [% IF ( itemdata_ccode ) %][% END %] - [% IF Koha.Preference('EnableItemGroups') %] - - [% END %] - - [% IF volinfo %] - - [% END %] - - - - - - - - [% IF ( itemdata_uri ) %][% END %] - [% IF ( itemdata_copynumber ) %][% END %] - [% IF ( itemdata_stocknumber ) %][% END %] - [% IF materials %][% END %] - [% IF ( itemdata_itemnotes ) %][% END %] - [% IF ( itemdata_nonpublicnotes ) %][% END %] - [% IF ( hostrecords ) %][% END %] - [% IF ( analyze ) %][% END %] - [% IF ( ShowCourseReserves ) %][% END %] - [% IF ( SpineLabelShowPrintOnBibDetails ) %][% END %] - [% IF ( CAN_user_editcatalogue_edit_items ) %][% END %] - - - - [% FOREACH item IN items %] - - [% IF (StaffDetailItemSelection) %] - - [% END %] - [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] - - [% END %] - - [% IF ( item_level_itypes ) %] - - [% END %] - - - [% IF ( itemdata_ccode ) %][% END %] - [% IF Koha.Preference('EnableItemGroups') %][% END %] - - [% IF ( volinfo ) %] - [% SET serial = item.serial %] - [% IF itemdata_publisheddate #If there is at least one published date, use it for sorting %] - - [% END %] - - - - - - - - [% IF ( itemdata_uri ) %] - [% IF item.uri.split(' \| ').size > 1 %] - + [% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] + [% SET custom_cover_image_url = biblio.custom_cover_image_url %] + [% IF custom_cover_image_url %] +
+ + Custom cover image + +
Custom cover image
+
+ [% END %] + [% END %] + + [% ELSE %] - - [% END %] - [% END %] - [% IF ( itemdata_copynumber ) %] - - [% END %] - [% IF ( itemdata_stocknumber ) %] - - [% END %] - [% IF materials %] - - [% END %] - [% IF ( itemdata_itemnotes ) %] - - [% END %] - [% IF itemdata_nonpublicnotes %] - - [% END %] - [% IF ( hostrecords ) %] - - [% END %] - [% IF ( analyze ) %] - - [% END %] - [% IF ( analyze ) %] - - [% END %] - - [% IF ShowCourseReserves %] - - [% END %] - - [% IF ( SpineLabelShowPrintOnBibDetails ) %] - - [% END %] + [% IF ( ( Koha.Preference('CatalogConcerns') || Koha.Preference('OpacCatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) %] +
  • + Concerns ([% biblio.tickets.count | html %]) +
  • + [% END %] + [% IF ( LocalCoverImages ) %] +
  • + Images ([% localimages.count || 0 | html %]) +
  • + [% END %] + [% IF HTML5MediaEnabled && HTML5MediaSets.size %] + + [% END %] + [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %] + + [% END %] + [% FOREACH plugins_intranet_catalog_biblio_tab IN plugins_intranet_catalog_biblio_tabs %] +
  • + [% plugins_intranet_catalog_biblio_tab.title | html %] +
  • + [% END %] + + +
    + [% items_table_block_iter = 0 %] + [% BLOCK items_table %] + [% items_table_block_iter = items_table_block_iter + 1 %] +
    + [% IF (StaffDetailItemSelection) %] + | Select all | + Clear all + + | Actions: + [% IF CAN_user_tools_items_batchdel %] + Delete selected items + [% END %] + [% IF CAN_user_tools_items_batchmod %] + Modify selected items + [% END %] + [% IF CAN_user_editcatalogue_manage_item_groups && biblio.item_groups.count %] + Add/move to item group + Remove from item group + [% END %] + + [% END %] +
    - [% IF CAN_user_editcatalogue_edit_items %] -
    - [% END %] - - [% END %] - -
    Cover imageItem typeCurrent libraryHome libraryCollectionItem groupCall numberSerial enumeration / chronologyStatusLast seenCheckoutsRenewalsDate accessionedDate last borrowedBarcodeURLCopy numberInventory numberMaterials specifiedPublic notesNon-public notesHost recordsUsed inCourse reservesSpine label 
    - [% IF item.can_be_edited %] - - [% END %] - -
    -
    - [% FOREACH image IN item.object.cover_images %] -
    - - Local cover image - -
    - [% END %] -
    -
    -
    - [% SET itemtype = item.itemtype %] - [% IF !noItemTypeImages && itemtype.image_location('intranet') %] - [% itemtype.translated_description | html %] - [% END %] - [% itemtype.translated_description | html %] - [% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.holdingbranch ) | html %] [% END %] - [% Branches.GetName(item.homebranch) | html %] - - [%# If permanent location is defined, show description or code and %] - [%# display current location in parentheses. If not, display current location. %] - [%# Note that permanent location is a code, and location may be an authval. %] - [% IF item.permanent_location %] - [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %] - [% permloc_authval | html %] - [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %] - [% IF item_location AND item_location != permloc_authval AND item.location != item.permanent_location %] - ([% item_location | html %]) + [% IF shelves.count %] + Lists that include this title: + [% FOREACH s IN shelves %] + [% s.shelfname | html %] + [% IF ( loop.last ) %][% ELSE %]|[% END %] [% END %] - [% ELSE %] - [% item_location | html %] + [% END %] - - [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %][% item.object.item_group.description | html %][% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %] - [% ELSE %] - - [% END %] - [% IF ( itemdata_enumchron ) %] - [% IF item.enumchron && serial.serialseq %] - [% item.enumchron | html %] - [% IF ( serial.serialseq && item.enumchron != serial.serialseq ) %] - -- - [% serial.serialseq | html %] + + [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %] + Tags: + [% FOREACH TagLoo IN TagLoop %] + [% IF ( CAN_user_tools_moderate_tags ) %] + [% TagLoo.term | html %] + [% ELSE %] + [% TagLoo.term | html %] + [% END %] + ([% TagLoo.weight_total | html %])[% IF ( loop.last ) %][% ELSE %], [% END %] [% END %] - [% ELSIF item.enumchron %] - [% item.enumchron | html %] - [% ELSIF item.serialseq %] - [% serial.serialseq | html %] - [% END %] - [% IF serial.publisheddate %] - ([% serial.publisheddate | $KohaDates %]) - [% END %] + [% END %] + + + MARC preview: + Show - - - [% IF item.object.checkout %] - [% IF item.object.checkout.onsite_checkout %] - Currently in local use - [% ELSE %] - Checked out - [% END %] - [% IF item.can_be_edited %] - [% IF item.object.checkout.onsite_checkout %] - by - [% ELSE %] - to - [% END %] - [% INCLUDE 'patron-title.inc' patron=item.object.checkout.patron hide_patron_infos_if_needed=1 %] - [% END %] - : due [% item.object.checkout.date_due | $KohaDates as_due_date => 1 %] + + + MARC framework: + [% Frameworks.GetName(biblio.frameworkcode) | html %] - [% ELSIF ( transfer = item.object.get_transfer ) %] - [% IF (transfer.datesent) %] - In transit from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.datesent | $KohaDates %] - [% ELSE %] - Transit pending from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% item.transfer.daterequested | $KohaDates %] + [% IF !item_level_itypes || Koha.Preference("BiblioItemtypeInfo") %] + + Itemtype: + [% IF ( !noItemTypeImages && imageurl ) %] + + [% END %] + [% IF ( description ) %] + [% description | html %] + [% ELSE %] + [% itemtype | html %] + [% END %] + [% END %] - [% END %] - [% IF ( item.itemlost ) %] - [% SET itemlost_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) %] - [% IF itemlostloop %] - [% itemlost_description | html %] - [% ELSE %] - Unavailable (lost or missing) + [% IF ( Koha.Preference('SearchEngine') == 'Elasticsearch' ) %] + + Elasticsearch record: + Show + [% END %] - [% END %] - [% IF ( item.withdrawn ) %] - [% SET withdrawn_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %] - [% IF withdrawn_description %] - [% withdrawn_description | html %] - [% ELSE %] - Withdrawn + [% IF ( holdcount ) %] + + Holds: + + [% IF CAN_user_reserveforothers_place_holds %] + [% holdcount | html %] + [% ELSE %] + [% holdcount | html %] + [% END %] + + [% END %] - [% END %] - [% IF ( item.damaged ) %] - [% SET damaged_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged ) %] - [% IF damaged_description %] - [% damaged_description | html %] - [% ELSE %] - Damaged + [% IF illrequests.count %] + + ILL requests: + [% IF CAN_user_ill %] + [% FOREACH ill IN illrequests %] + Request [% ill.illrequest_id | html %][% IF ! loop.last %], [% END %] + [% END %] + [% ELSE %] + [% FOREACH ill IN illrequests %] + Request [% ill.illrequest_id | html %][% IF ! loop.last %], [% END %] + [% END %] + [% END %] + [% END %] - [% END %] - [% IF ( item.notforloan || item.itemtype.notforloan ) %] - Not for loan - [% SET not_for_loan_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] - [% IF not_for_loan_description %] - ([% not_for_loan_description | html %]) + [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %] + + Article requests: + + [% article_requests_count | html %] + + [% END %] - - [% END %] - [% SET hold = item.first_hold %] - [% IF hold %] - [% IF hold.waitingdate %] - Waiting at [% Branches.GetName( hold.branchcode ) | html %][% IF ( hold.desk_id ) %], [% hold.desk.desk_name | html %][% END %] since [% hold.waitingdate | $KohaDates %]. - [% IF canreservefromotherbranches AND ( hold.waitingdate OR hold.priority == 1 ) %] - Hold for: - [% INCLUDE 'patron-title.inc' patron=hold.borrower hide_patron_infos_if_needed=1 %] - [% END %] - [% ELSE %] - There is an item level hold on this item (priority = [% hold.priority | html %]). + [% IF course_reserves %] + + Courses that have reserved this title: + [% FOREACH c IN course_reserves %] + [% c.course.course_name | html %] + [% IF ( loop.last ) %][% ELSE %]|[% END %] + [% END %] + [% END %] - [% END %] + [%# .page-section %] - [% IF Koha.Preference('UseRecalls') %] - [% SET recall = item.object.recall %] - [% IF recall %] - [% IF recall.waiting_date %] - Waiting at [% Branches.GetName( recall.pickup_library_id ) | html %] since [% recall.waiting_date | $KohaDates %] - [% ELSE %] - [% patron_link = BLOCK %][% recall.patron.firstname | html %] [% recall.patron.surname | html %] ([% recall.patron.cardnumber | html %])[% END %] - recalled by [% patron_link| $raw %] on [% recall.created_date | $KohaDates %] - [% END %] - [% END %] - [% END %] + [% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] + +
    +
    + [% IF ( LocalCoverImages ) %] + [% IF localimages.count %] + [% FOREACH image IN localimages %] +
    + + Local cover image + +
    Local cover image
    +
    + [% END %] + [% END %] + [% END %] - [% UNLESS ( item.notforloan || item.itemtype.notforloan || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfer || hold || ( Koha.Preference('UseRecalls') && recall ) ) %] - Available - [% END %] + [% IF ( AmazonCoverImages && normalized_isbn) %] +
    + + Amazon cover image + +
    Image from Amazon.com
    +
    + [% END %] - [% IF ( item.restricted ) %] - ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted ) | html %]) - [% END %] + [% IF ( IntranetCoce && CoceProviders && normalized_isbn ) %] + [% coce_id = normalized_ean || normalized_isbn %] +
    + [% IF ( coce_id ) %] + + [% ELSE %] + No cover image available + [% END %] +
    Image from Coce
    +
    + [% END %] - [% IF ( item.bundle_host ) %] - In bundle: [% INCLUDE 'biblio-title.inc' biblio = item.bundle_host.biblio link = 1 %] - [% END %] + [% IF ( SyndeticsCovers ) %] + [% IF ( content_identifier_exists ) %] +
    + + + +
    Image from Syndetics
    +
    + [% ELSE %] + No cover image available + [% END %] + [% END %] -
    [% item.datelastseen | $KohaDates with_hours => 1 %][% item.issues || 0 | html %][% item.renewals || 0 | html %][% item.dateaccessioned | $KohaDates %][% item.datelastborrowed | $KohaDates %][% item.barcode | html %] - [% FOREACH uri IN item.uri.split(' \| ') %][% uri | html %]
    [% END %] -
    - [% IF item.uri %] - [% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %] + + [% END # /IF ( AmazonCoverImages, etc ) %] + + +
    +
    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.copynumber', authorised_value => item.copynumber ) | html %][% item.stocknumber | html %] [% item.materials | html %]
    [% item.object.itemnotes.replace('\n','
    ') | $raw %]
    [% item.itemnotes_nonpublic | html %][% IF ( item.hostbiblionumber) %][% item.hosttitle | html %][% END %] - [% IF ( item.countanalytics ) %] - [% item.countanalytics | html %] analytics [% END %] - Create analytics - [% IF item.course_reserves %] - [% FOREACH r IN item.course_reserves %] - [% IF r.course.enabled == 'yes' %] -

    - - [% r.course.course_name | html %] - - [% IF r.course.section %] [% r.course.section | html %] [% END %] - [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) | html %] [% END %] - -

    - [% END %] - [% END %] - [% END %] -
    Print label - [% IF item.can_be_edited %] - [% IF Koha.Preference('LocalCoverImages') OR Koha.Preference('OPACLocalCoverImages') %] -
    - Edit - + + + + [% IF (StaffDetailItemSelection) %] + + [% END %] + [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] + + [% END %] + [% IF ( item_level_itypes ) %] + + [% END %] + + + [% IF ( itemdata_ccode ) %] + + [% END %] + [% IF Koha.Preference('EnableItemGroups') %] + + [% END %] + + [% IF volinfo %] + + [% END %] + + + + + + + + [% IF ( itemdata_uri ) %] + + [% END %] + [% IF ( itemdata_copynumber ) %] + + [% END %] + [% IF ( itemdata_stocknumber ) %] + + [% END %] + [% IF materials %] + + [% END %] + [% IF ( itemdata_itemnotes ) %] + + [% END %] + [% IF ( itemdata_nonpublicnotes ) %] + + [% END %] + [% IF ( hostrecords ) %] + + [% END %] + [% IF ( analyze ) %] + + [% END %] + [% IF ( ShowCourseReserves ) %] + + [% END %] + [% IF ( SpineLabelShowPrintOnBibDetails ) %] + + [% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %] + + [% END %] + + + + [% FOREACH item IN items %] + + [% IF (StaffDetailItemSelection) %] + + [% END %] + [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] + + [% END %] + + [% IF ( item_level_itypes ) %] + + [% END %] + + + [% IF ( itemdata_ccode ) %] + + [% END %] + [% IF Koha.Preference('EnableItemGroups') %] + + [% END %] + + [% IF ( volinfo ) %] + [% SET serial = item.serial %] + [% IF itemdata_publisheddate #If there is at least one published date, use it for sorting %] + + [% END %] + + + + + + + + + + [% IF ( itemdata_uri ) %] + [% IF item.uri.split(' \| ').size > 1 %] + + [% ELSE %] + + [% END %] + [% END %] + [% IF ( itemdata_copynumber ) %] + + [% END %] + [% IF ( itemdata_stocknumber ) %] + + [% END %] + [% IF materials %] + + [% END %] + [% IF ( itemdata_itemnotes ) %] + + [% END %] + [% IF itemdata_nonpublicnotes %] + + [% END %] + [% IF ( hostrecords ) %] + + [% END %] + [% IF ( analyze ) %] + + [% END %] + [% IF ( analyze ) %] + + [% END %] + + [% IF ShowCourseReserves %] + + [% END %] + + [% IF ( SpineLabelShowPrintOnBibDetails ) %] + + [% END %] + + [% IF CAN_user_editcatalogue_edit_items %] + + [% END %] + + [% END %] + +
    Cover imageItem typeCurrent libraryHome libraryCollectionItem groupCall numberSerial enumeration / chronologyStatusLast seenCheckoutsRenewalsDate accessionedDate last borrowedBarcodeURLCopy numberInventory numberMaterials specifiedPublic notesNon-public notesHost recordsUsed inCourse reservesSpine label 
    + [% IF item.can_be_edited %] + + [% END %] + +
    +
    + [% FOREACH image IN item.object.cover_images %] +
    + + Local cover image + +
    + [% END %] +
    +
    +
    + [% SET itemtype = item.itemtype %] + [% IF !noItemTypeImages && itemtype.image_location('intranet') %] + [% itemtype.translated_description | html %] + [% END %] + [% itemtype.translated_description | html %] + + [% UNLESS ( singlebranchmode ) %] + [% Branches.GetName( item.holdingbranch ) | html %] + [% END %] + + [% Branches.GetName(item.homebranch) | html %] + + [%# If permanent location is defined, show description or code and %] + [%# display current location in parentheses. If not, display current location. %] + [%# Note that permanent location is a code, and location may be an authval. %] + [% IF item.permanent_location %] + [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %] + [% permloc_authval | html %] + [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %] + [% IF item_location AND item_location != permloc_authval AND item.location != item.permanent_location %] + ([% item_location | html %]) + [% END %] + [% ELSE %] + [% item_location | html %] + [% END %] + + + [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %] + + [% item.object.item_group.description | html %] + + [% IF ( item.itemcallnumber ) %] + [% item.itemcallnumber | html %] + [% END %] + + [% ELSE %] + + [% END %] + [% IF ( itemdata_enumchron ) %] + [% IF item.enumchron && serial.serialseq %] + [% item.enumchron | html %] + [% IF ( serial.serialseq && item.enumchron != serial.serialseq ) %] + -- + [% serial.serialseq | html %] + [% END %] + [% ELSIF item.enumchron %] + [% item.enumchron | html %] + [% ELSIF item.serialseq %] + [% serial.serialseq | html %] + [% END %] + [% IF serial.publisheddate %] + ([% serial.publisheddate | $KohaDates %]) + [% END %] + [% END %] + + [% IF item.object.checkout %] + [% IF item.object.checkout.onsite_checkout %] + Currently in local use + [% ELSE %] + Checked out + [% END %] + + [% IF item.can_be_edited %] + [% IF item.object.checkout.onsite_checkout %] + by + [% ELSE %] + to + [% END %] + [% INCLUDE 'patron-title.inc' patron=item.object.checkout.patron hide_patron_infos_if_needed=1 %] + [% END %] + : due [% item.object.checkout.date_due | $KohaDates as_due_date => 1 %] + + [% ELSIF ( transfer = item.object.get_transfer ) %] + [% IF (transfer.datesent) %] + In transit from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.datesent | $KohaDates %] + [% ELSE %] + Transit pending from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% item.transfer.daterequested | $KohaDates %] + + [% END %] + [% END %] + + [% IF ( item.itemlost ) %] + [% SET itemlost_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) %] + [% IF itemlostloop %] + [% itemlost_description | html %] + [% ELSE %] + Unavailable (lost or missing) + [% END %] + [% END %] + + [% IF ( item.withdrawn ) %] + [% SET withdrawn_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %] + [% IF withdrawn_description %] + [% withdrawn_description | html %] + [% ELSE %] + Withdrawn + [% END %] + [% END %] + + [% IF ( item.damaged ) %] + [% SET damaged_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged ) %] + [% IF damaged_description %] + [% damaged_description | html %] + [% ELSE %] + Damaged + [% END %] + [% END %] + + [% IF ( item.notforloan || item.itemtype.notforloan ) %] + Not for loan + [% SET not_for_loan_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] + [% IF not_for_loan_description %] + ([% not_for_loan_description | html %]) + [% END %] + + [% END %] + + [% SET hold = item.first_hold %] + [% IF hold %] + [% IF hold.waitingdate %] + Waiting at [% Branches.GetName( hold.branchcode ) | html %][% IF ( hold.desk_id ) %], [% hold.desk.desk_name | html %][% END %] since [% hold.waitingdate | $KohaDates %]. + [% IF canreservefromotherbranches AND ( hold.waitingdate OR hold.priority == 1 ) %] + Hold for: + [% INCLUDE 'patron-title.inc' patron=hold.borrower hide_patron_infos_if_needed=1 %] + [% END %] + [% ELSE %] + There is an item level hold on this item (priority = [% hold.priority | html %]). + [% END %] + [% END %] + + [% IF Koha.Preference('UseRecalls') %] + [% SET recall = item.object.recall %] + [% IF recall %] + [% IF recall.waiting_date %] + Waiting at [% Branches.GetName( recall.pickup_library_id ) | html %] since [% recall.waiting_date | $KohaDates %] + [% ELSE %] + [% patron_link = BLOCK %][% recall.patron.firstname | html %] [% recall.patron.surname | html %] ([% recall.patron.cardnumber | html %])[% END %] + recalled by [% patron_link| $raw %] on [% recall.created_date | $KohaDates %] + [% END %] + [% END %] + [% END %] + + [% UNLESS ( item.notforloan || item.itemtype.notforloan || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfer || hold || ( Koha.Preference('UseRecalls') && recall ) ) %] + Available + [% END %] + + [% IF ( item.restricted ) %] + ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted ) | html %]) + [% END %] + + [% IF ( item.bundle_host ) %] + In bundle: [% INCLUDE 'biblio-title.inc' biblio = item.bundle_host.biblio link = 1 %] + [% END %] + + [% item.datelastseen | $KohaDates with_hours => 1 %] + + [% item.issues || 0 | html %] + + [% item.renewals || 0 | html %] + + [% item.dateaccessioned | $KohaDates %] + + [% item.datelastborrowed | $KohaDates %] + + [% item.barcode | html %] + + [% FOREACH uri IN item.uri.split(' \| ') %][% uri | html %]
    [% END %] +
    + [% IF item.uri %] + [% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %] + [% END %] + + [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.copynumber', authorised_value => item.copynumber ) | html %] + [% item.stocknumber | html %] [% item.materials | html %] +
    [% item.object.itemnotes.replace('\n','
    ') | $raw %]
    +
    [% item.itemnotes_nonpublic | html %] + [% IF ( item.hostbiblionumber) %] + [% item.hosttitle | html %] + [% END %] + + [% IF ( item.countanalytics ) %] + [% item.countanalytics | html %] analytics + [% END %] + Create analytics + [% IF item.course_reserves %] + [% FOREACH r IN item.course_reserves %] + [% IF r.course.enabled == 'yes' %] +

    + + [% r.course.course_name | html %] + + [% IF r.course.section %] [% r.course.section | html %] [% END %] + [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) | html %] [% END %] + +

    + [% END %] + [% END %] + [% END %] +
    + Print label + + [% IF item.can_be_edited %] + [% IF Koha.Preference('LocalCoverImages') OR Koha.Preference('OPACLocalCoverImages') %] + + [% ELSE %] + Edit + [% END %] + [% END %] + [% IF bundlesEnabled %] + + [% END %] +
    + [% END %][%# end of block items_table %] + + [% IF Koha.Preference('EnableItemGroups') %] +
    + [% IF CAN_user_editcatalogue_manage_item_groups %] + + [% END %] + + + + + + + + +
    Display orderDescription 
    - [% ELSE %] - Edit [% END %] - [% END %] - [% IF bundlesEnabled %] - - [% END %] -
    - -[% END %][%# end of block items_table %] - -[% IF Koha.Preference('EnableItemGroups') %] -
    - [% IF CAN_user_editcatalogue_manage_item_groups %] - - [% END %] - - - - - - - - -
    Display orderDescription 
    -
    -[% END %] - - -
    - -[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %] - -[% END %] - -[% IF ( count ) %] - [% IF ( showncount ) %] - [% PROCESS items_table tab="holdings" items=itemloop %] - [% END %] - [% IF ( hiddencount ) %] -

    Show all items ([% hiddencount | html %] hidden) - [% END %] - [% IF ( debug_display ) %] -

    - - - - -
    itemdata_enumchron[% itemdata_enumchron | html %]
    itemdata_copynumber[% itemdata_copynumber | html %]
    serial[% serial | html %]
    - [% END %] -[% ELSE %] - [% IF ( ALTERNATEHOLDINGS ) %] - [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] -

    Holdings: [% ALTERNATEHOLDING.holding | html %]
    - [% END %] - [% ELSE %] -
    No physical items for this record
    - [% END %] -[% END %] - -[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %] - -[% END %] -
    -[% IF (SeparateHoldings) %] -
    - [% IF (otheritemloop.size) %] - [% PROCESS items_table tab="otherholdings" items=otheritemloop %] - [% ELSE %] - No other items. - [% END %] -
    -[% END %] - -[% IF ( MARCNOTES ) %] - -
    -
    - - [% FOREACH MARCNOTE IN MARCNOTES %] -

    - [% IF MARCNOTE.marcnote.match('^https?://\S+$') %] - [% MARCNOTE.marcnote | html %] - [% ELSE %] - [% MARCNOTE.marcnote | html | html_line_break %] - [% END %] -

    -[% END %] -
    -
    +
    + [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %] + + [% END %] -[% END %] + [% IF ( count ) %] + [% IF ( showncount ) %] + [% PROCESS items_table tab="holdings" items=itemloop %] + [% END %] + [% IF ( hiddencount ) %] +

    Show all items ([% hiddencount | html %] hidden) + [% END %] + [% IF ( debug_display ) %] +

    + + + + +
    itemdata_enumchron[% itemdata_enumchron | html %]
    itemdata_copynumber[% itemdata_copynumber | html %]
    serial[% serial | html %]
    + [% END %] + [% ELSE %] + [% IF ( ALTERNATEHOLDINGS ) %] + [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] +

    + Holdings: + [% ALTERNATEHOLDING.holding | html %] +
    + [% END %] + [% ELSE %] +
    No physical items for this record
    + [% END %] + [% END %] -[% IF ComponentParts && ComponentParts.size %] -
    -
    - - [% FOR PART IN ComponentParts %] - - - - [% END %] -
    - [% PART | $raw %] -
    - [% IF ComponentParts.size == Koha.Preference('MaxComponentRecords')%] -

    Only [% ComponentParts.size | html %] results are shown: show all component parts

    - [% END %] -
    -
    + [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %] + + [% END %] +
    -[% END %] + [% IF (SeparateHoldings) %] +
    + [% IF (otheritemloop.size) %] + [% PROCESS items_table tab="otherholdings" items=otheritemloop %] + [% ELSE %] + No other items. + [% END %] +
    + [% END %] -[% IF ( subscriptionsnumber ) %] -
    -
    -

    This is a serial subscription

    -

    (There are [% subscriptionsnumber | html %] subscriptions associated with this title).

    - [% FOREACH subscription IN subscriptions %] - [% IF subscription.branchcode %] -

    At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]

    - [% END %] - [% IF ( subscription.closed ) %]

    This subscription is closed.

    [% END %] - [% IF ( subscription.location ) %]

    Location: [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]

    [% END %] - [% IF ( subscription.callnumber ) %]

    Callnumber: [% subscription.callnumber | html %]

    [% END %] - [% IF ( subscription.subscriptionnotes ) %]

    [% subscription.subscriptionnotes | html | html_line_break %]

    [% END %] - [% IF ( subscription.missinglist ) %]

    Missing issues: [% subscription.missinglist | html %]

    [% END %] - [% IF ( subscription.librariannote ) %]

    ([% subscription.librariannote | html %])

    [% END %] - [% IF ( subscription.latestserials ) %] -

    The [% subscription.staffdisplaycount | html %] latest issues related to this subscription:

    - - - - - - - - - - [% FOREACH latestserial IN subscription.latestserials %] - - - - - - - - - [% END %] -
    Issue #Date arrivedDate publishedDate published (text)StatusNote
    [% latestserial.serialseq | html %][% latestserial.planneddate | $KohaDates %][% latestserial.publisheddate | $KohaDates %][% latestserial.publisheddatetext | html %] - [% INCLUDE 'serial-status.inc' serial = latestserial %] - [% latestserial.notes | html %]
    - [% END %] - Subscription details - [% END %] -
    -
    -[% END %] + [% IF ( MARCNOTES ) %] +
    +
    + [% FOREACH MARCNOTE IN MARCNOTES %] +

    + [% IF MARCNOTE.marcnote.match('^https?://\S+$') %] + [% MARCNOTE.marcnote | html %] + [% ELSE %] + [% MARCNOTE.marcnote | html | html_line_break %] + [% END %] +

    + [% END %] +
    +
    + [% END %] -[% IF Koha.Preference('AcquisitionDetails') %] -
    - [% IF orders.count %] - - - - - - - - - - - - - - - - - - - - [% FOR order IN orders %] - [% SET basket = order.basket %] - [% SET vendor = basket.bookseller %] - - - - - - - - - - - - - - - [% END %] - -
    VendorInvoiceBasket groupBasketOrder numberCreation dateReceive dateStatusQuantityPriceInternal noteSubscriptionSubscription call number
    - [% vendor.name | html %] - - [% IF order.invoiceid %] - [% IF CAN_user_acquisition %] - - [% order.invoice.invoicenumber | html %] - [% ELSE %] - [% order.invoice.invoicenumber | html %] - [% END %] - [% END %] - - [% IF basket.basketgroupid %] - [% SET basket_group = basket.basket_group %] - [% IF CAN_user_acquisition_group_manage %] - [% basket_group.name | html%] ([% basket_group.id | html %]) - [% ELSE %] - [% basket_group.name | html %] ([% basket_group.id | html %]) - [% END %] - [% END %] - [% IF CAN_user_acquisition_order_manage %] - [% basket.basketname | html %] ([% basket.basketno | html %]) - [% ELSE %] - [% basket.basketname | html %] ([% basket.basketno | html %]) - [% END %][% order.ordernumber | html %][% basket.creationdate | $KohaDates%][% order.datereceived | $KohaDates%] - [% SWITCH order.orderstatus %] - [% CASE 'new' %]New - [% CASE 'ordered' %]Ordered - [% CASE 'partial' %]Partial - [% CASE 'complete' %]Complete - [% CASE 'cancelled' %]Cancelled - [% END %] - [% order.quantity | html %][% IF ( order.unitprice_tax_included > 0 ) %][% order.unitprice_tax_included | $Price %][% ELSE %][% order.ecost_tax_included | $Price %][% END %] - [% order.order_internalnote | html %] - [% IF order.subscriptionid %] - [% order.subscriptionid | html %] - [% END %] - - [% IF order.subscriptionid %] - [% order.subscription.callnumber | html %] - [% END %] -
    - [% ELSE %] - There is no order for this bibliographic record. - [% END %] -
    -[% END %] + [% IF ComponentParts && ComponentParts.size %] +
    +
    + + [% FOR PART IN ComponentParts %] + + + + [% END %] +
    + [% PART | $raw %] +
    + [% IF ComponentParts.size == Koha.Preference('MaxComponentRecords')%] +

    Only [% ComponentParts.size | html %] results are shown: show all component parts

    + [% END %] +
    +
    + [% END %] -[% IF suggestions.count %] -
    - [% IF nb_archived_suggestions > 0 %] -

    [% tnpx('pluralization', 'There is one archived suggestion.', 'There are {count} archived suggestions.', nb_archived_suggestions, { count = nb_archived_suggestions }) | $raw %] - [% END %] - - - - - - - - - - - - - - - [% FOREACH suggestion IN suggestions %] - - - - - - - - - - - [% END %] - -
     SuggestionSuggested by - onManaged by - onLast modification by - onLibraryFundStatus
    [% suggestion.suggestionid | html %] - - [% suggestion.title | html %][% IF ( suggestion.author ) %], by [% suggestion.author | html %][% END %] -
    - [% IF ( suggestion.copyrightdate ) %]© [% suggestion.copyrightdate | html %] [% END %] - [% IF ( suggestion.volumedesc ) %]; Volume:[% suggestion.volumedesc | html %] [% END %] - [% IF ( suggestion.isbn ) %]; ISBN:[% suggestion.isbn | html %] [% END %][% IF ( suggestion.publishercode ) %]; Published by [% suggestion.publishercode | html %] [% END %][% IF ( suggestion.publicationyear ) %] in [% suggestion.publicationyear | html %] [% END %][% IF ( suggestion.place ) %] in [% suggestion.place | html %] [% END %][% IF ( suggestion.collectiontitle ) %]; [% suggestion.collectiontitle | html %] [% END %][% IF ( suggestion.itemtype ) %]; [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 0 ) | html %] [% END %]
    [% IF ( suggestion.note ) %]
    [% suggestion.note | html %]
    [% END %] -
    - [% INCLUDE 'patron-title.inc' patron => suggestion.suggester %] - [% IF suggestion.suggesteddate %] - [% suggestion.suggesteddate | $KohaDates %][% END %] - - [% INCLUDE 'patron-title.inc' patron => suggestion.manager %] - [% IF suggestion.manageddate %] - [% suggestion.manageddate | $KohaDates %][% END %] - - [% INCLUDE 'patron-title.inc' patron => suggestion.last_modifier %] - [% IF suggestion.lastmodificationdate %] - [% suggestion.lastmodificationdate | $KohaDates %][% END %] - - [% Branches.GetName( suggestion.branchcode ) | html %] - - [% suggestion.fund.budget_name | html %] - - [% IF suggestion.STATUS == 'ASKED' %]Pending - [% ELSIF suggestion.STATUS == 'ACCEPTED' %]Accepted - [% ELSIF suggestion.STATUS == 'ORDERED' %]Ordered - [% ELSIF suggestion.STATUS == 'REJECTED' %]Rejected - [% ELSIF suggestion.STATUS == 'CHECKED' %]Checked - [% ELSIF suggestion.STATUS == 'AVAILABLE' %]Available - [% ELSIF AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) | html %] - [% ELSE %]Status unknown - [% END %] - [% IF suggestion.reason %] -
    ([% suggestion.reason | html %]) - [% END %] -
    -

    -[% END %] + [% IF ( subscriptionsnumber ) %] +
    +
    +

    This is a serial subscription

    +

    (There are [% subscriptionsnumber | html %] subscriptions associated with this title).

    + [% FOREACH subscription IN subscriptions %] + [% IF subscription.branchcode %] +

    At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]

    + [% END %] + [% IF ( subscription.closed ) %] +

    This subscription is closed.

    + [% END %] + [% IF ( subscription.location ) %] +

    Location: [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]

    + [% END %] + [% IF ( subscription.callnumber ) %] +

    Callnumber: [% subscription.callnumber | html %]

    + [% END %] + [% IF ( subscription.subscriptionnotes ) %] +

    [% subscription.subscriptionnotes | html | html_line_break %]

    + [% END %] + [% IF ( subscription.missinglist ) %] +

    Missing issues: [% subscription.missinglist | html %]

    + [% END %] + [% IF ( subscription.librariannote ) %] +

    ([% subscription.librariannote | html %])

    + [% END %] + [% IF ( subscription.latestserials ) %] +

    The [% subscription.staffdisplaycount | html %] latest issues related to this subscription:

    + + + + + + + + + + [% FOREACH latestserial IN subscription.latestserials %] + + + + + + + + + [% END %] +
    Issue #Date arrivedDate publishedDate published (text)StatusNote
    [% latestserial.serialseq | html %][% latestserial.planneddate | $KohaDates %][% latestserial.publisheddate | $KohaDates %][% latestserial.publisheddatetext | html %] + [% INCLUDE 'serial-status.inc' serial = latestserial %] + [% latestserial.notes | html %]
    + [% END %] + Subscription details + [% END %] +
    +
    + [% END %] -[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] -

    Editions

    - -[% FOREACH XISBN IN XISBNS %][% IF ( AmazonCoverImages ) %][% END %] -[% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %][% END %] - + [% IF Koha.Preference('AcquisitionDetails') %] +
    + [% IF orders.count %] +
    [% IF ( noItemTypeImages ) %][% XISBN.description | html %][% ELSE %][% XISBN.description | html %][% END %][% XISBN.title | html %] by [% XISBN.author | html %] ©[% XISBN.copyrightdate | html %] - [% IF ( XISBN.publishercode ) %] -[% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear | html %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement | html %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility | html %][% END %] - [% END %] - [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages | html %] [% IF ( XISBN.illus ) %][% XISBN.illus | html %][% END %] - [% IF ( XISBN.size ) %], [% END %][% XISBN.size | html %] -
    + + + + + + + + + + + + + + + + + + + [% FOR order IN orders %] + [% SET basket = order.basket %] + [% SET vendor = basket.bookseller %] + + + + + + + + + + + + + + + [% END %] + +
    VendorInvoiceBasket groupBasketOrder numberCreation dateReceive dateStatusQuantityPriceInternal noteSubscriptionSubscription call number
    + [% vendor.name | html %] + + [% IF order.invoiceid %] + [% IF CAN_user_acquisition %] + + [% order.invoice.invoicenumber | html %] + [% ELSE %] + [% order.invoice.invoicenumber | html %] + [% END %] + [% END %] + + [% IF basket.basketgroupid %] + [% SET basket_group = basket.basket_group %] + [% IF CAN_user_acquisition_group_manage %] + [% basket_group.name | html%] ([% basket_group.id | html %]) + [% ELSE %] + [% basket_group.name | html %] ([% basket_group.id | html %]) + [% END %] + [% END %] + + [% IF CAN_user_acquisition_order_manage %] + [% basket.basketname | html %] ([% basket.basketno | html %]) + [% ELSE %] + [% basket.basketname | html %] ([% basket.basketno | html %]) + [% END %] + + [% order.ordernumber | html %] + + [% basket.creationdate | $KohaDates%] + + [% order.datereceived | $KohaDates%] + + [% SWITCH order.orderstatus %] + [% CASE 'new' %]New + [% CASE 'ordered' %]Ordered + [% CASE 'partial' %]Partial + [% CASE 'complete' %]Complete + [% CASE 'cancelled' %]Cancelled + [% END %] + + [% order.quantity | html %] + [% IF ( order.unitprice_tax_included > 0 ) %][% order.unitprice_tax_included | $Price %][% ELSE %][% order.ecost_tax_included | $Price %][% END %] + + [% order.order_internalnote | html %] + [% IF order.subscriptionid %] + [% order.subscriptionid | html %] + [% END %] + + [% IF order.subscriptionid %] + [% order.subscription.callnumber | html %] + [% END %] +
    + [% ELSE %] + There is no order for this bibliographic record. + [% END %] +
    + [% END %] -[% END %] -
    [% END %] -[% END %] + [% IF suggestions.count %] +
    + [% IF nb_archived_suggestions > 0 %] +

    [% tnpx('pluralization', 'There is one archived suggestion.', 'There are {count} archived suggestions.', nb_archived_suggestions, { count = nb_archived_suggestions }) | $raw %] + [% END %] + + + + + + + + + + + + + + + [% FOREACH suggestion IN suggestions %] + + + + + + + + + + + [% END %] + +
     SuggestionSuggested by - onManaged by - onLast modification by - onLibraryFundStatus
    [% suggestion.suggestionid | html %] + + [% suggestion.title | html %][% IF ( suggestion.author ) %], by [% suggestion.author | html %][% END %] +
    + [% IF ( suggestion.copyrightdate ) %]© [% suggestion.copyrightdate | html %] [% END %] + [% IF ( suggestion.volumedesc ) %]; Volume:[% suggestion.volumedesc | html %] [% END %] + [% IF ( suggestion.isbn ) %]; ISBN:[% suggestion.isbn | html %] [% END %][% IF ( suggestion.publishercode ) %]; Published by [% suggestion.publishercode | html %] [% END %] + [% IF ( suggestion.publicationyear ) %] in [% suggestion.publicationyear | html %] [% END %] + [% IF ( suggestion.place ) %] in [% suggestion.place | html %] [% END %] + [% IF ( suggestion.collectiontitle ) %]; [% suggestion.collectiontitle | html %] [% END %] + [% IF ( suggestion.itemtype ) %]; [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 0 ) | html %] [% END %]
    + [% IF ( suggestion.note ) %] +
    [% suggestion.note | html %]
    + [% END %] +
    + [% INCLUDE 'patron-title.inc' patron => suggestion.suggester %] + [% IF suggestion.suggesteddate %] - [% suggestion.suggesteddate | $KohaDates %][% END %] + + [% INCLUDE 'patron-title.inc' patron => suggestion.manager %] + [% IF suggestion.manageddate %] - [% suggestion.manageddate | $KohaDates %][% END %] + + [% INCLUDE 'patron-title.inc' patron => suggestion.last_modifier %] + [% IF suggestion.lastmodificationdate %] - [% suggestion.lastmodificationdate | $KohaDates %][% END %] + + [% Branches.GetName( suggestion.branchcode ) | html %] + + [% suggestion.fund.budget_name | html %] + + [% IF suggestion.STATUS == 'ASKED' %] + Pending + [% ELSIF suggestion.STATUS == 'ACCEPTED' %] + Accepted + [% ELSIF suggestion.STATUS == 'ORDERED' %] + Ordered + [% ELSIF suggestion.STATUS == 'REJECTED' %] + Rejected + [% ELSIF suggestion.STATUS == 'CHECKED' %] + Checked + [% ELSIF suggestion.STATUS == 'AVAILABLE' %] + Available + [% ELSIF AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) %] + [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.STATUS ) | html %] + [% ELSE %] + Status unknown + [% END %] + [% IF suggestion.reason %] +
    ([% suggestion.reason | html %]) + [% END %] +
    +

    + [% END %] -[% IF ( ( Koha.Preference('CatalogConcerns') || Koha.Preference('OpacCatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) %] -
    -
    - Hide resolved - | Show all -
    - - - - - - - - - - -
    ReportedDetailsStatusActions
    -
    -[% END %] + [% IF ( FRBRizeEditions ) %] + [% IF ( XISBNS ) %] +
    Editions + + [% FOREACH XISBN IN XISBNS %] + + [% IF ( AmazonCoverImages ) %] + + [% END %] + [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %] + + [% END %] + + + [% END %] +
    + + + [% IF ( noItemTypeImages ) %] + [% XISBN.description | html %] + [% ELSE %] + [% XISBN.description | html %] + [% END %] + + [% XISBN.title | html %] + by [% XISBN.author | html %] ©[% XISBN.copyrightdate | html %] + [% IF ( XISBN.publishercode ) %] + [% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear | html %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement | html %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility | html %][% END %] + [% END %] + [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages | html %] [% IF ( XISBN.illus ) %][% XISBN.illus | html %][% END %] + [% IF ( XISBN.size ) %], [% END %][% XISBN.size | html %] +
    +
    + [% END %] + [% END %] -[% IF ( LocalCoverImages ) %] -
    - [% IF localimages.count %] -

    Click on an image to view it in the image viewer

    -
      - [% FOREACH image IN localimages %] - [% IF image %] -
    • - - - - [% IF CAN_user_tools_upload_local_cover_images %] - Delete image + [% IF ( ( Koha.Preference('CatalogConcerns') || Koha.Preference('OpacCatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) %] +
      +
      + Hide resolved + | Show all +
      + + + + + + + + + + +
      ReportedDetailsStatusActions
      +
      [% END %] -
    • - [% END %] - [% END %] -
    - [% ELSE # - No image passed JavaScript takes care %] - No images have been uploaded for this bibliographic record yet. - [% END %] - [% IF ( CAN_user_tools_upload_local_cover_images ) %] -

    Upload an image file: Upload -

    - [% END %] -
    -[% END %] -[% IF ( HTML5MediaEnabled ) %] -
    - [% FOREACH HTML5MediaSet IN HTML5MediaSets %] -

    - [% IF HTML5MediaSet.is_youtube %] - - [% ELSE %] - <[% HTML5MediaParent | html %] controls preload=none> - <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]"[% HTML5MediaSet.typeblock | html %] /> - [[% HTML5MediaParent | html %] tag not supported by your browser.] - - [% END %] -

    - [% END %] -
    -[% END %] + [% IF ( LocalCoverImages ) %] +
    + [% IF localimages.count %] +

    Click on an image to view it in the image viewer

    +
      + [% FOREACH image IN localimages %] + [% IF image %] +
    • + + + + [% IF CAN_user_tools_upload_local_cover_images %] + Delete image + [% END %] +
    • + [% END %] + [% END %] +
    + [% ELSE # - No image passed JavaScript takes care %] + No images have been uploaded for this bibliographic record yet. + [% END %] + [% IF ( CAN_user_tools_upload_local_cover_images ) %] +

    Upload an image file: Upload +

    + [% END %] +
    + [% END %] + [% IF ( HTML5MediaEnabled ) %] +
    + [% FOREACH HTML5MediaSet IN HTML5MediaSets %] +

    + [% IF HTML5MediaSet.is_youtube %] + + [% ELSE %] + <[% HTML5MediaParent | html %] controls preload=none> + <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]"[% HTML5MediaSet.typeblock | html %] /> + [[% HTML5MediaParent | html %] tag not supported by your browser.] + + [% END %] +

    + [% END %] +
    + [% END %] -[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %] -
    -
    -
    -[% END %] + [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %] +
    +
    +
    + [% END %] -[% FOREACH plugins_intranet_catalog_biblio_tab IN plugins_intranet_catalog_biblio_tabs %] -
    - [% plugins_intranet_catalog_biblio_tab.content | $raw %] -
    -[% END %] + [% FOREACH plugins_intranet_catalog_biblio_tab IN plugins_intranet_catalog_biblio_tabs %] +
    + [% plugins_intranet_catalog_biblio_tab.content | $raw %] +
    + [% END %] -
    -
    - -
    -
    - - - - - -
    Save record
    Select download format: -
    - -
    -
    -
    - - - - - -
    -
    - -
    - -
    -
    +
    + + +
    +
    + + + + + + + + + + +
    Save record
    + Select download format: + + +
    + +
    +
    +
    -[% END %] + -