4 [% SET report = job.report %]
6 <h2>MARC staging results</h2>
7 [% SWITCH (record_type) %]
9 <h3>Processing bibliographic records</h3>
11 <h3>Processing authority records</h3>
14 <li>[% report.total | html %] records in file</li>
15 <li>[% report.import_errors | html %] records not staged because of MARC error</li>
16 <li>[% report.staged | html %] records staged</li>
17 [% IF ( report.checked_matches ) %]
18 <li>[% report.matched | html %] records with at least one match in catalog per matching rule
19 "[% report.matcher_code | html %]"</li>
21 [% IF ( report.matcher_failed ) %]
22 <li>Record matching failed -- unable to retrieve selected matching rule.</li>
24 <li>Did not check for matches with existing records in catalog</li>
27 [% IF report.record_type == 'biblio' %]
28 <li>[% report.num_items | html %] item records found and staged</li>
30 [% IF ( report.label_batch ) %]
31 <li>New label batch created: # [% report.label_batch | html %] </li>
35 <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% report.import_batch_id | uri %]">View batch</a>
37 [% IF report.basketno && report.booksellerid %]
39 <a id="addtobasket" class="btn btn-default" href="/cgi-bin/koha/acqui/addorderiso2709.pl?import_batch_id=[% report.import_batch_id | html %]&basketno=[% report.basketno | html %]&booksellerid=[% report.booksellerid | html %]">Add staged files to basket</a>