[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( batch_details ) %] Batch [% import_batch_id | html %] [% ELSE %] Batch list [% END %] › Order staged MARC records › Acquisitions › Koha [% INCLUDE 'doc-head-close.inc' %] [%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/acq.js") | $raw %] [% Asset.js("js/funds_sorts.js") | $raw %] [% Asset.js("js/cataloging.js") | $raw %] [% Asset.js("js/addorderiso2709.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% IF ( allmatch ) %]

No records imported

No records have been imported because they all match existing records in your catalog.
You'll have to treat them individually.
[% END %] [% IF ( batch_details ) %]

Add orders from [% comments | html %] ([% file_name | html %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %])

Select all | Clear all | |
[% FOREACH biblio IN biblio_list %]
( MARC | Card | Add order )
  1. [% IF ( biblio_lis.overlay_status == 'no_match' ) %] No match [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %] Match applied [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %] Match found [% ELSE %] [% biblio_lis.overlay_status | html %] [% END %] [% IF ( biblio.match_biblionumber ) %] Matches biblio [% biblio.match_biblionumber | uri %] (score = [% biblio.match_score | html %]): [% biblio.match_citation | html %] [% END %]
  2. Required
  3. %
    If empty, discount rate from vendor will be used
  4. [% IF ( close ) %] [% Budget_name | html %] [% ELSE %] [% END %]
[% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %] [% FOREACH item IN biblio.iteminfos %]
Item record [% item.item_id | html %]
  1. Required
[% END # /FOREACH item %]
[% END # /FOREACH biblio %]

Item information

Import all the checked items in the basket with the following parameters:

[% IF ( items ) %]
Item [% IF ( NoACQframework ) %]
No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used
[% END %] [% FOREACH item IN items %]
    [% FOREACH iteminformatio IN item.iteminformation %]
  1. [% IF (iteminformatio.mandatory) %] [% ELSE %] [% END %] [% IF ( iteminformatio.marc_value.type == 'select' ) %] [% ELSE %] [% iteminformatio.marc_value | $raw %] [% END %] [% IF ( iteminformatio.mandatory ) %] Required [% END %]
  2. [% END %]
[% END #/FOREACH item %]
[% END # /IF items %]

Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):

Accounting details
  1. [% IF ( close ) %]
  2. Fund: [% Budget_name | html %]
  3. [% ELSE %]
  4. [% END #/IF close %]
  5. The 2 following fields are available for your own usage. They can be useful for statistical purposes
Cancel
[% ELSE # IF ( batch_details ) %]

Choose the file to add to the basket

[% FOREACH batch_lis IN batch_list %] [% END # /FOREACH batch_lis %]
File name Comments Status Staged # Bibliographic records  
[% batch_lis.file_name | html %] [% batch_lis.comments | html %] [% IF ( batch_lis.import_status == 'cleaned' ) %] Cleaned [% ELSIF ( batch_lis.import_status == 'imported' ) %] Imported [% ELSIF ( batch_lis.import_status == 'importing' ) %] Importing [% ELSIF ( batch_lis.import_status == 'reverted' ) %] Reverted [% ELSIF ( batch_lis.import_status == 'reverting' ) %] Reverting [% ELSIF ( batch_lis.import_status == 'staged' ) %] Staged [% ELSE %] [% batch_lis.import_status | html %] [% END %] [% batch_lis.staged_date | $KohaDates with_hours => 1 %] [% batch_lis.num_records | html %] Add orders
[% END # /IF ( batch_details ) %]
[% # /div.col-sm-6 %]
[% # /div.row %] [% INCLUDE 'intranet-bottom.inc' %]