3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Acquisitions › Order staged MARC records
5 [% IF ( batch_details ) %]
6 › Batch [% import_batch_id %]
11 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
12 <style type="text/css">#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
13 [% INCLUDE 'doc-head-close.inc' %]
14 [% INCLUDE 'datatables.inc' %]
15 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
16 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq.js"></script>
17 <script type="text/JavaScript">
19 $(document).ready(function() {
20 $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
22 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
23 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
24 { "sType": "title-string", "aTargets" : [ "title-string" ] }
26 "sPaginationType": "four_button",
30 // keep copy of the inactive budgets
31 disabledBudgetsCopy = $("select[name='all_budget_id']").html();
32 $("select[name='all_budget_id'] .b_inactive").remove();
33 $("select[name='budget_id'] .b_inactive").remove();
35 $("#showallbudgets").click(function() {
36 if ($(this).is(":checked")) {
37 $("select[name='budget_id']").html(disabledBudgetsCopy)
40 $("select[name='budget_id'] .b_inactive").remove();
44 $("#all_showallbudgets").click(function() {
45 if ($(this).is(":checked")) {
46 $("select[name='all_budget_id']").html(disabledBudgetsCopy);
49 $("select[name='all_budget_id'] .b_inactive").remove();
53 $("select[name='budget_id']").change(function(){
54 var sort1_authcat = $(this).find("option:selected").attr('data-sort1-authcat');
55 var sort2_authcat = $(this).find("option:selected").attr('data-sort2-authcat');
56 var destination_sort1 = $(this).parents('fieldset').find('li.sort1').find('input[name="sort1"]');
57 var sort1 = $(destination_sort1).val() || "";
58 if ( destination_sort1.length < 1 ) {
59 destination_sort1 = $(this).parents('fieldset').find('li.sort1 > select[name="sort1"]');
61 var destination_sort2 = $(this).parents('fieldset').find('li.sort2').find('input[name="sort2"]');
62 var sort2 = $(destination_sort2).val() || "";
63 if ( destination_sort2.length < 1 ) {
64 destination_sort2 = $(this).parents('fieldset').find('li.sort2').find('select[name="sort2"]');
66 getAuthValueDropbox( 'sort1', sort1_authcat, destination_sort1, sort1 );
68 getAuthValueDropbox( 'sort2', sort2_authcat, destination_sort2, sort2 );
71 $("select[name='budget_id']").change();
73 $("select[name='all_budget_id']").change(function(){
74 var sort1_authcat = $(this).find("option:selected").attr('data-sort1-authcat');
75 var sort2_authcat = $(this).find("option:selected").attr('data-sort2-authcat');
76 var destination_sort1 = $(this).parent().siblings('li').find('input[name="all_sort1"]');
77 if ( destination_sort1.length < 1 ) {
78 destination_sort1 = $(this).parent().siblings('li').find('select[name="all_sort1"]');
80 var destination_sort2 = $(this).parent().siblings('li').find('input[name="all_sort2"]');
81 if ( destination_sort2.length < 1 ) {
82 destination_sort2 = $(this).parent().siblings('li').find('select[name="all_sort2"]');
84 getAuthValueDropbox( 'sort1', sort1_authcat, destination_sort1 );
85 getAuthValueDropbox( 'sort2', sort2_authcat, destination_sort2 );
86 $(this).parent().siblings('li').find('select[name="sort1"]').attr('name', 'all_sort1');
87 $(this).parent().siblings('li').find('input[name="sort1"]').attr('name', 'all_sort1');
88 $(this).parent().siblings('li').find('select[name="sort2"]').attr('name', 'all_sort2');
89 $(this).parent().siblings('li').find('input[name="sort2"]').attr('name', 'all_sort2');
92 $("select[name='all_budget_id']").change();
94 $("#records_to_import fieldset.rows div").hide();
95 $('input:checkbox[name="import_record_id"]').change(function(){
96 var container = $(this).parents("fieldset");
97 if ( $(this).is(':checked') ) {
98 $(container).addClass("selected");
99 $(container).removeClass("unselected");
100 $(container).find("div").toggle(true);
102 $(container).addClass("unselected");
103 $(container).removeClass("selected");
104 $(container).find("div").toggle(false);
108 $("input:checkbox").prop("checked", false);
109 $("div.biblio.unselected select").prop('disabled', false);
110 $("div.biblio.unselected input").prop('disabled', false);
112 $("#checkAll").click(function(){
113 $("#Aform").checkCheckboxes();
114 $("input:checkbox[name='import_record_id']").change();
117 $("#unCheckAll").click(function(){
118 $("#Aform").unCheckCheckboxes();
119 $("input:checkbox[name='import_record_id']").change();
123 $("#Aform").on("submit", function(){
124 if ( $("input:checkbox[name='import_record_id']:checked").length < 1 ) {
125 alert(_("There is no record selected"));
130 $("input:checkbox[name='import_record_id']:checked").parents('fieldset').find('input[name="quantity"]').each(function(){
131 if ( $(this).val().length < 1 || isNaN( $(this).val() ) ) {
136 alert(error + " " + _("quantity values are not filled in or are not numbers"));
141 $("select[name='budget_code']").each(function() {
142 if (!$(this).val()) {
147 alert(_("Some budgets are not defined in item records"));
151 return disableUnchecked($(this));
154 $(".previewData").on("click", function(e){
156 var ltitle = $(this).text();
157 var page = $(this).attr("href");
158 $("#dataPreviewLabel").text(ltitle);
159 $("#dataPreview .modal-body").load(page + " div");
160 $('#dataPreview').modal({show:true});
162 $("#dataPreview").on("hidden", function(){
163 $("#dataPreviewLabel").html("");
164 $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
168 function disableUnchecked(form){
169 $("fieldset.biblio.unselected").each(function(){
177 <body id="acq_addorderiso2709" class="acq">
178 [% INCLUDE 'header.inc' %]
179 [% INCLUDE 'acquisitions-search.inc' %]
180 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> › Add orders from iso2709 file</div>
181 <div id="doc3" class="yui-t2">
185 [% IF ( allmatch ) %]<div class="dialog alert">
186 <h4>No records imported</h4>
187 No record have been imported because they all match an existing record in your catalog.<br />You'll have to treat them individually.
191 [% IF ( batch_details ) %]
192 <h1>Add orders from [% comments %]
193 ([% file_name %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %])
195 <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
196 <div id="tabs" class="toptabs">
198 <li><a href="#records_to_import">Select to import</a></li>
199 <li><a href="#items_info" class="items_info">Item information</a></li>
200 <li><a href="#accounting_details">Default accounting details</a></li>
203 <div id="records_to_import">
204 <div id="searchheader">
206 <span class="checkall"><a id="checkAll" href="#">Select all</a></span>
208 <span class="uncheckall"><a id="unCheckAll" href="#">Clear all</a></span>
211 <label for="matcher_id">Matching:</label>
212 <select name="matcher_id" id="matcher_id">
213 <option value="_TITLE_AUTHOR_">Title and author</option>
214 <option value="">Do not look for matching records</option>
215 [% FOREACH available_matcher IN available_matchers %]
216 [% IF ( available_matcher.code == current_matcher_code ) %]
217 <option value="[% available_matcher.matcher_id %]" selected="selected">
218 [% available_matcher.code %] ([% available_matcher.description %])
221 <option value="[% available_matcher.matcher_id %]">
222 [% available_matcher.code %] ([% available_matcher.description %])
230 <label for="showallbudgets" style="float:none;width:auto;"> Show inactive funds:</label>
231 <input type="checkbox" id="showallbudgets" />
236 <input type="hidden" name="op" value="import_records"/>
237 <input type="hidden" name="basketno" value="[% basketno %]" />
238 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
239 <input type="hidden" name="import_batch_id" value="[%import_batch_id %]" />
240 <input type="hidden" name="ordernumber" value="[% ordernumber %]" />
242 [% FOREACH biblio IN biblio_list %]
243 <fieldset class="biblio unselected rows" style="float:none;">
245 <label for="record_[% biblio.import_record_id %]" style="width:auto;">
246 <input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id %]" value="[% biblio.import_record_id %]" />
247 <span class="citation">[% biblio.citation %]</span>
249 <span class="links" style="font-weight: normal;">
250 ( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% biblio.import_record_id %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&breedingid=[% biblio.import_record_id %]&import_batch_id=[% biblio.import_batch_id %]&biblionumber=[% biblio.match_biblionumber %]">Add order</a> )
253 <div style="float:left">
257 [% IF ( biblio_lis.overlay_status == 'no_match' ) %]
259 [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %]
261 [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %]
264 [% biblio_lis.overlay_status %]
266 [% IF ( biblio.match_biblionumber ) %]
267 Matches biblio [% biblio.match_biblionumber %] (score = [% biblio.match_score %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber %]">[% biblio.match_citation %]</a>
271 <li class="quantity">
272 <label for="quantity_record_[% biblio.import_record_id %]" class="required">Quantity: </label>
273 <input id="quantity_record_[% biblio.import_record_id %]" type="text" value="[% biblio.quantity.length ? biblio.quantity : 1 %]" name="quantity" />
276 <label for="price_record_[% biblio.import_record_id %]">Price: </label>
277 <input id="price_record_[% biblio.import_record_id %]" type="text" value="[% biblio.price %]" name="price" />
279 <li class="discount">
280 <label for="discount_record_[% biblio.import_record_id %]">Discount: </label>
281 <input id="discount_record_[% biblio.import_record_id %]" type="text" value="[% biblio.discount %]" name="discount" size="6" /> %
282 (If empty, discount rate from vendor will be used)
285 <label for="fund_record_[% biblio.import_record_id %]">Fund: </label>
287 <input type="hidden" size="20" name="budget_id" value="[% budget_id %]" />[% Budget_name %]
289 <select id="fund_record_[% biblio.import_record_id %]" size="1" name="budget_id">
290 <option value="">Select a fund</option>
291 [% FOREACH budget IN budget_loop %]
292 [% IF ( budget.b_id == biblio.budget_id ) %]
293 [% IF budget.b_active %]
294 <option value="[% budget.b_id %]" data-sort1-authcat="[% budget.b_sort1_authcat %]" data-sort2-authcat="[% budget.b_sort2_authcat %]" selected="selected">[% budget.b_txt %]</option>
296 <option value="[% budget.b_id %]" data-sort1-authcat="[% budget.b_sort1_authcat %]" data-sort2-authcat="[% budget.b_sort2_authcat %]" selected="selected">[% budget.b_txt %] (inactive)</option>
299 [% IF budget.b_active %]<option value="[% budget.b_id %]" data-sort1-authcat="[% budget.b_sort1_authcat %]" data-sort2-authcat="[% budget.b_sort2_authcat %]">[% budget.b_txt %]</option>
300 [% ELSE %]<option value="[% budget.b_id %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat %]" data-sort2-authcat="[% budget.b_sort2_authcat %]">[% budget.b_txt %] (inactive)</option>
308 <label for="sort1_record_[% biblio.import_record_id %]">Statistic 1: </label>
309 <input id="sort1_record_[% biblio.import_record_id %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 %]" />
312 <label for="sort2_record_[% biblio.import_record_id %]">Statistic 2: </label>
313 <input id="sort2_record_[% biblio.import_record_id %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 %]" />
317 <div style="float:right">
318 [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
319 [% FOREACH item IN biblio.iteminfos %]
321 <legend>Item Record [% item.item_id %]</legend>
324 <label for="homebranch_item_[% item.item_id %]">homebranch</label><select id="homebranch_item_[% item.item_id %]" name="homebranch_[% item.biblio_count %]">
325 [% FOREACH l IN libraries %]
326 [% IF l.branchcode == item.homebranch %]
327 <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
329 <option value="[% l.branchcode %]">[% l.branchname %]</option>
335 <li><label for="holdingbranch_item_[% item.item_id %]">holdingbranch</label><select id="holdingbranch_item_[% item.item_id %]" name="holdingbranch_[% item.biblio_count %]">
336 [% FOREACH l IN libraries %]
337 [% IF l.branchcode == item.holdingbranch %]
338 <option value="[% l.branchcode %]" selected="selected">[% l.branchname %]</option>
340 <option value="[% l.branchcode %]">[% l.branchname %]</option>
345 <li><label for="itype_item_[% item.item_id %]">itype</label><select id="itype_item_[% item.item_id %]" name="itype_[% item.biblio_count %]">
346 [% FOREACH itypeloo IN itypeloop %]
347 [% IF ( itypeloo.itemtype ) == ( item.itype ) %]
348 <option value="[% itypeloo.itemtype %]" selected="selected">[% itypeloo.description |html %]</option>
350 <option value="[% itypeloo.itemtype %]">[% itypeloo.description |html %]</option>
356 <li><label for="nonpublic_note_item_[% item.item_id %]">nonpublic_note</label><input type="text" id="nonpublic_note_item_[% item.item_id %]" name="nonpublic_note_[% item.biblio_count %]" value="[% item.nonpublic_note %]"></li>
357 <li><label for="public_note_item_[% item.item_id %]">public_note</label><input type="text" id="public_note_item_[% item.item_id %]" name="public_note_[% item.biblio_count %]" value="[% item.public_note %]"></li>
358 <li><label for="loc_item_[% item.item_id %]">loc</label><select id="loc_item_[% item.item_id %]" name="loc_[% item.biblio_count %]">
359 <option value=""> </option>
360 [% FOREACH locationloo IN locationloop %]
361 [% IF ( locationloo.code ) == (item.loc) %]<option value="[% locationloo.code %]" selected="selected">[% locationloo.description %]</option>[% ELSE %]<option value="[% locationloo.code %]">[% locationloo.description %]</option>[% END %]
366 <li><label for="ccode_item_[% item.item_id %]">ccode</label><select id="ccode_item_[% item.item_id %]" name="ccode_[% item.biblio_count %]">
367 [% FOREACH ccodeloo IN ccodeloop %]
368 [% IF ( ccodeloo.code ) == (item.ccode) %]<option value="[% ccodeloo.code %]" selected="selected">[% ccodeloo.description %]</option>[% ELSE %]<option value="[% ccodeloo.code %]">[% ccodeloo.description %]</option>[% END %]
374 <label for="notforloan_item_[% item.item_id %]">notforloan</label><select id="notforloan_item_[% item.item_id %]" name="notforloan_[% item.biblio_count %]">
375 [% FOREACH n IN notforloanloop %]
376 [% IF n.code == item.notforloan %]
377 <option value="[% n.code %]" selected="selected">[% n.description %]</option>
379 <option value="[% n.code %]">[% n.description %]</option>
384 <li><label for="uri_item_[% item.item_id %]">uri</label><input type="text" id="uri_item_[% item.item_id %]" name="uri_[% item.biblio_count %]" value="[% item.uri %]"></li>
385 <li><label for="copyno_item_[% item.item_id %]">copyno</label><input type="text" id="copyno_item_[% item.item_id %]" name="copyno_[% item.biblio_count %]" value="[% item.copyno %]"></li>
386 <li><label for="budget_code_item_[% item.item_id %]">budget_code</label><select id="budget_code_item_[% item.item_id %]" name="budget_code_[% item.biblio_count %]">
387 <option value="">Select a fund</option>
388 [% FOREACH budget_loo IN budget_loop %]
389 [% IF ( budget_loo.b_code ) == ( item.budget_code ) %]<option value="[% budget_loo.b_id %]" selected="selected">[% budget_loo.b_txt %]</option>
390 [% ELSE %]<option value="[% budget_loo.b_id %]">[% budget_loo.b_txt %]</option>
395 <li><label for="price_item_[% item.item_id %]">price</label><input type="text" id="price_item_[% item.item_id %]" name="itemprice_[% item.biblio_count %]" value="[% item.itemprice %]"></li>
396 <li><label for="replacementprice_item_[% item.item_id %]">replacement price</label><input type="text" id="replacementprice_item_[% item.item_id %]" name="replacementprice_[% item.biblio_count %]" value="[% item.replacementprice %]"></li>
397 <li><label for="callnumber_item_[% item.item_id %]">callnumber</label><input type="text" id="callnumber_item_[% item.item_id %]" name="itemcallnumber_[% item.biblio_count %]" value="[% item.itemcallnumber %]"></li>
403 <div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
404 <div class="modal-dialog">
405 <div class="modal-content">
406 <div class="modal-header">
407 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
408 <h3 id="dataPreviewLabel">MARC preview</h3>
410 <div class="modal-body">
411 <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
413 <div class="modal-footer">
414 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
421 <div id="items_info">
422 <h2>Item information</h2>
423 <p>Import all the checked items in the basket with the following parameters:</p>
426 <fieldset class="rows" style="float:none;">
427 <legend>Item</legend>
428 [% IF ( NoACQframework ) %]
429 <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
431 [% FOREACH item IN items %]
432 <div id="outeritemblock">
435 [% FOREACH iteminformatio IN item.iteminformation %]<li style="[% iteminformatio.hidden %];">
436 <div class="subfield_line" id="subfield[% iteminformatio.serialid %][% iteminformatio.countitems %][% iteminformatio.subfield %][% iteminformatio.random %]">
437 [% IF (iteminformatio.mandatory) %]
438 <label class="required">[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
440 <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label>
443 [% IF ( iteminformatio.marc_value.type == 'select' ) %]
444 <select name="field_value" size="1">
445 [% FOREACH value IN iteminformatio.marc_value.values %]
446 [% IF ( value == iteminformatio.marc_value.default ) %]
447 <option value="[% value %]" selected="selected">[% iteminformatio.marc_value.labels.$value %]</option>
449 <option value="[% value %]">[% iteminformatio.marc_value.labels.$value %]</option>
454 [% iteminformatio.marc_value %]
456 <input type="hidden" name="itemid" value="1" />
457 <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" />
458 <input type="hidden" name="tag" value="[% iteminformatio.tag %]" />
459 <input type="hidden" name="subfield" value="[% iteminformatio.subfield %]" />
460 <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory %]" />
461 [% IF ( iteminformatio.mandatory ) %] <span class="required">Required</span>[% END %]
465 </div><!-- /iteminformation -->
467 [% END %] <!-- /items -->
469 [% END %] <!-- items -->
471 <div id="accounting_details">
472 <p>Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):</p>
473 <fieldset class="rows" style="float:none;">
474 <legend>Accounting details</legend>
477 <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
478 <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
482 <span class="label">Fund: </span>
483 <input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id %]" />[% Budget_name %]
486 <label for="all_currency">Currency:</label>
487 <select name="all_currency" id="all_currency">
488 [% FOREACH currency IN currencies %]
489 [% IF currency.currency == bookseller.listprice %]
490 <option value="[% currency.currency %]" selected="selected">[% currency.currency %]</option>
491 [% ELSIF not currency.archived %]
492 <option value="[% currency.currency %]">[% currency.currency %]</option>
498 <label for="all_budget_id">Fund: </label>
499 <select id="all_budget_id" size="1" name="all_budget_id">
500 <option value="">Select a fund</option>
501 [% FOREACH budget_loo IN budget_loop %]
502 [% IF ( budget_loo.b_active ) %]<option value="[% budget_loo.b_id %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat %]">[% budget_loo.b_txt %]</option>
503 [% ELSE %]<option value="[% budget_loo.b_id %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat %]">[% budget_loo.b_txt %] (inactive)</option>
507 <label for="all_showallbudgets" style="float:none;width:auto;"> Show inactive:</label>
508 <input type="checkbox" id="all_showallbudgets" />
513 <label for="all_order_internalnote">Internal note: </label>
514 <textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea>
517 <label for="all_order_vendornote">Vendor note: </label>
518 <textarea id="all_order_vendornote" cols="30" rows="3" name="all_order_vendornote"></textarea>
521 <div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div>
522 <label for="all_sort1">Statistic 1: </label>
523 <input type="text" id="all_sort1" size="20" name="all_sort1" value="" />
526 <label for="all_sort2">Statistic 2: </label>
527 <input type="text" id="all_sort2" size="20" name="all_sort2" value="" />
534 <fieldset class="action">
535 <input type="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Cancel</a>
540 <h1>Choose the file to add to the basket</h1>
547 <th class="title-string">Staged</th>
549 <th class="NoSort"> </th>
553 [% FOREACH batch_lis IN batch_list %]
555 <td>[% batch_lis.file_name %]</td>
556 <td>[% batch_lis.comments %]</td>
558 [% IF ( batch_lis.import_status == 'cleaned' ) %]
560 [% ELSIF ( batch_lis.import_status == 'imported' ) %]
562 [% ELSIF ( batch_lis.import_status == 'importing' ) %]
564 [% ELSIF ( batch_lis.import_status == 'reverted' ) %]
566 [% ELSIF ( batch_lis.import_status == 'reverting' ) %]
568 [% ELSIF ( batch_lis.import_status == 'staged' ) %]
571 [% batch_lis.import_status %]
574 <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td>
575 <td>[% batch_lis.num_records %]</td>
576 <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&basketno=[% basketno %]&booksellerid=[% booksellerid %]">Add orders</a></td>