Lines 5-13
Link Here
|
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title> |
6 |
<title> |
7 |
[% IF ( batch_details ) %] |
7 |
[% IF ( batch_details ) %] |
8 |
Batch [% import_batch_id | html %] |
8 |
Batch [% import_batch_id | html %] |
9 |
[% ELSE %] |
9 |
[% ELSE %] |
10 |
Batch list |
10 |
Batch list |
11 |
[% END %] › Order staged MARC records › Acquisitions › Koha |
11 |
[% END %] › Order staged MARC records › Acquisitions › Koha |
12 |
</title> |
12 |
</title> |
13 |
<style>#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style> |
13 |
<style>#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style> |
Lines 21-28
Batch list
Link Here
|
21 |
</head> |
21 |
</head> |
22 |
|
22 |
|
23 |
<body id="acq_addorderiso2709" class="acq"> |
23 |
<body id="acq_addorderiso2709" class="acq"> |
24 |
[% INCLUDE 'header.inc' %] |
24 |
[% INCLUDE 'header.inc' %] |
25 |
[% INCLUDE 'acquisitions-search.inc' %] |
25 |
[% INCLUDE 'acquisitions-search.inc' %] |
26 |
|
26 |
|
27 |
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> |
27 |
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> |
28 |
<ol> |
28 |
<ol> |
Lines 47-462
Batch list
Link Here
|
47 |
<div class="container-fluid"> |
47 |
<div class="container-fluid"> |
48 |
<div class="row"> |
48 |
<div class="row"> |
49 |
<div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2"> |
49 |
<div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2"> |
50 |
[% IF ( allmatch ) %]<div class="dialog alert"> |
50 |
[% IF ( allmatch ) %] |
51 |
<h4>No records imported</h4> |
51 |
<div class="dialog alert"> |
52 |
No records have been imported because they all match existing records in your catalog.<br />You'll have to treat them individually. |
52 |
<h4>No records imported</h4> |
53 |
</div> |
53 |
No records have been imported because they all match existing records in your catalog.<br />You'll have to treat them individually. |
54 |
[% END %] |
54 |
</div> |
|
|
55 |
[% END %] |
55 |
|
56 |
|
56 |
[% IF ( batch_details ) %] |
57 |
[% IF ( batch_details ) %] |
57 |
<h1>Add orders from [% comments | html %] |
58 |
<h1> |
58 |
([% file_name | html %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %]) |
59 |
Add orders from [% comments | html %] |
59 |
</h1> |
60 |
([% file_name | html %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %]) |
60 |
<form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform"> |
61 |
</h1> |
61 |
<div id="tabs" class="toptabs"> |
62 |
<form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform"> |
62 |
<ul> |
63 |
<div id="tabs" class="toptabs"> |
63 |
<li><a href="#records_to_import">Select to import</a></li> |
64 |
<ul> |
64 |
<li><a href="#items_info" class="items_info">Item information</a></li> |
65 |
<li><a href="#records_to_import">Select to import</a></li> |
65 |
<li><a href="#accounting_details">Default accounting details</a></li> |
66 |
<li><a href="#items_info" class="items_info">Item information</a></li> |
66 |
</ul> |
67 |
<li><a href="#accounting_details">Default accounting details</a></li> |
|
|
68 |
</ul> |
67 |
|
69 |
|
68 |
<div id="records_to_import"> |
70 |
<div id="records_to_import"> |
69 |
<div id="searchheader" class="searchheader"> |
71 |
<div id="searchheader" class="searchheader"> |
70 |
<div> |
72 |
<div> |
71 |
<span class="checkall"><a id="checkAll" href="#">Select all</a></span> |
73 |
<span class="checkall"><a id="checkAll" href="#">Select all</a></span> |
72 |
| |
74 |
| |
73 |
<span class="uncheckall"><a id="unCheckAll" href="#">Clear all</a></span> |
75 |
<span class="uncheckall"><a id="unCheckAll" href="#">Clear all</a></span> |
74 |
| |
76 |
| |
75 |
<span> |
77 |
<span> |
76 |
<label for="matcher_id">Matching:</label> |
78 |
<label for="matcher_id">Matching:</label> |
77 |
<select name="matcher_id" id="matcher_id"> |
79 |
<select name="matcher_id" id="matcher_id"> |
78 |
<option value="_TITLE_AUTHOR_">Title and author</option> |
80 |
<option value="_TITLE_AUTHOR_">Title and author</option> |
79 |
<option value="">Do not look for matching records</option> |
81 |
<option value="">Do not look for matching records</option> |
80 |
[% FOREACH available_matcher IN available_matchers %] |
82 |
[% FOREACH available_matcher IN available_matchers %] |
81 |
[% IF ( available_matcher.code == current_matcher_code ) %] |
83 |
[% IF ( available_matcher.code == current_matcher_code ) %] |
82 |
<option value="[% available_matcher.matcher_id | html %]" selected="selected"> |
84 |
<option value="[% available_matcher.matcher_id | html %]" selected="selected"> |
83 |
[% available_matcher.code | html %] ([% available_matcher.description | html %]) |
85 |
[% available_matcher.code | html %] ([% available_matcher.description | html %]) |
84 |
</option> |
86 |
</option> |
85 |
[% ELSE %] |
87 |
[% ELSE %] |
86 |
<option value="[% available_matcher.matcher_id | html %]"> |
88 |
<option value="[% available_matcher.matcher_id | html %]"> |
87 |
[% available_matcher.code | html %] ([% available_matcher.description | html %]) |
89 |
[% available_matcher.code | html %] ([% available_matcher.description | html %]) |
88 |
</option> |
90 |
</option> |
89 |
[% END %] |
91 |
[% END %] |
90 |
[% END %] |
92 |
[% END %] |
91 |
</select> |
93 |
</select> |
92 |
</span> |
94 |
</span> |
93 |
| |
95 |
| |
94 |
<span> |
96 |
<span> |
95 |
<label for="showallbudgets" style="float:none;width:auto;"> Show inactive funds:</label> |
97 |
<label for="showallbudgets" style="float:none;width:auto;"> Show inactive funds:</label> |
96 |
<input type="checkbox" id="showallbudgets" /> |
98 |
<input type="checkbox" id="showallbudgets" /> |
97 |
</span> |
99 |
</span> |
98 |
</div> |
100 |
</div> |
99 |
</div> |
101 |
</div> |
100 |
|
102 |
|
101 |
<input type="hidden" name="op" value="import_records"/> |
103 |
<input type="hidden" name="op" value="import_records"/> |
102 |
<input type="hidden" name="basketno" value="[% basketno | html %]" /> |
104 |
<input type="hidden" name="basketno" value="[% basketno | html %]" /> |
103 |
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" /> |
105 |
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" /> |
104 |
<input type="hidden" name="import_batch_id" value="[% import_batch_id | html %]" /> |
106 |
<input type="hidden" name="import_batch_id" value="[% import_batch_id | html %]" /> |
105 |
<input type="hidden" name="ordernumber" value="[% ordernumber | html %]" /> |
107 |
<input type="hidden" name="ordernumber" value="[% ordernumber | html %]" /> |
106 |
|
108 |
|
107 |
[% FOREACH biblio IN biblio_list %] |
109 |
[% FOREACH biblio IN biblio_list %] |
108 |
<fieldset class="biblio unselected rows" style="float:none;"> |
110 |
<fieldset class="biblio unselected rows" style="float:none;"> |
109 |
<legend> |
111 |
<legend> |
110 |
<label for="record_[% biblio.import_record_id | html %]" style="width:auto;"> |
112 |
<label for="record_[% biblio.import_record_id | html %]" style="width:auto;"> |
111 |
<input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id | html %]" value="[% biblio.import_record_id | html %]" /> |
113 |
<input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id | html %]" value="[% biblio.import_record_id | html %]" /> |
112 |
<span class="citation">[% biblio.citation | html %]</span> |
114 |
<span class="citation">[% biblio.citation | html %]</span> |
113 |
</label> |
115 |
</label> |
114 |
<span class="links" style="font-weight: normal;"> |
116 |
<span class="links" style="font-weight: normal;"> |
115 |
( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% biblio.import_record_id | html %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]&breedingid=[% biblio.import_record_id | html %]&import_batch_id=[% biblio.import_batch_id | html %]&biblionumber=[% biblio.match_biblionumber | html %]">Add order</a> ) |
117 |
( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% biblio.import_record_id | html %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]&breedingid=[% biblio.import_record_id | html %]&import_batch_id=[% biblio.import_batch_id | html %]&biblionumber=[% biblio.match_biblionumber | html %]">Add order</a> ) |
116 |
</span> |
118 |
</span> |
117 |
</legend> |
119 |
</legend> |
118 |
<div style="float:left"> |
120 |
<div style="float:left"> |
119 |
<ol> |
121 |
<ol> |
120 |
<li class="status"> |
122 |
<li class="status"> |
121 |
<span class="match"> |
123 |
<span class="match"> |
122 |
[% IF ( biblio_lis.overlay_status == 'no_match' ) %] |
124 |
[% IF ( biblio_lis.overlay_status == 'no_match' ) %] |
123 |
No match |
125 |
No match |
124 |
[% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %] |
126 |
[% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %] |
125 |
Match applied |
127 |
Match applied |
126 |
[% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %] |
128 |
[% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %] |
127 |
Match found |
129 |
Match found |
128 |
[% ELSE %] |
130 |
[% ELSE %] |
129 |
[% biblio_lis.overlay_status | html %] |
131 |
[% biblio_lis.overlay_status | html %] |
130 |
[% END %] |
132 |
[% END %] |
131 |
[% IF ( biblio.match_biblionumber ) %] |
133 |
[% IF ( biblio.match_biblionumber ) %] |
132 |
Matches biblio [% biblio.match_biblionumber | uri %] (score = [% biblio.match_score | html %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber | uri %]">[% biblio.match_citation | html %]</a> |
134 |
Matches biblio [% biblio.match_biblionumber | uri %] (score = [% biblio.match_score | html %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber | uri %]">[% biblio.match_citation | html %]</a> |
133 |
[% END %] |
135 |
[% END %] |
134 |
</span> |
136 |
</span> |
135 |
</li> |
137 |
</li> |
136 |
<li class="quantity"> |
138 |
<li class="quantity"> |
137 |
<label for="quantity_record_[% biblio.import_record_id | html %]" class="required">Quantity: </label> |
139 |
<label for="quantity_record_[% biblio.import_record_id | html %]" class="required">Quantity: </label> |
138 |
<input id="quantity_record_[% biblio.import_record_id | html %]" type="text" pattern="[0-9]+" value="[% biblio.quantity.length ? biblio.quantity : 1 | html %]" name="quantity" /> |
140 |
<input id="quantity_record_[% biblio.import_record_id | html %]" type="text" pattern="[0-9]+" value="[% biblio.quantity.length ? biblio.quantity : 1 | html %]" name="quantity" /> |
139 |
<span class="required">Required</span> |
141 |
<span class="required">Required</span> |
140 |
</li> |
142 |
</li> |
141 |
<li class="price"> |
143 |
<li class="price"> |
142 |
<label for="price_record_[% biblio.import_record_id | html %]">Price: </label> |
144 |
<label for="price_record_[% biblio.import_record_id | html %]">Price: </label> |
143 |
<input id="price_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.price | html %]" name="price" /> |
145 |
<input id="price_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.price | html %]" name="price" /> |
144 |
</li> |
146 |
</li> |
145 |
<li class="replacementprice"> |
147 |
<li class="replacementprice"> |
146 |
<label for="replacementprice_record_[% biblio.import_record_id | html %]">Replacement price: </label> |
148 |
<label for="replacementprice_record_[% biblio.import_record_id | html %]">Replacement price: </label> |
147 |
<input id="replacementprice_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.replacementprice | html %]" name="replacementprice" /> |
149 |
<input id="replacementprice_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.replacementprice | html %]" name="replacementprice" /> |
148 |
</li> |
150 |
</li> |
149 |
<li class="discount"> |
151 |
<li class="discount"> |
150 |
<label for="discount_record_[% biblio.import_record_id | html %]">Discount: </label> |
152 |
<label for="discount_record_[% biblio.import_record_id | html %]">Discount: </label> |
151 |
<input id="discount_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.discount | html %]" name="discount" size="6" /> % |
153 |
<input id="discount_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.discount | html %]" name="discount" size="6" /> % |
152 |
<div class="hint">If empty, discount rate from vendor will be used</div> |
154 |
<div class="hint">If empty, discount rate from vendor will be used</div> |
153 |
</li> |
155 |
</li> |
154 |
<li class="fund"> |
156 |
<li class="fund"> |
155 |
[% IF ( close ) %] |
157 |
[% IF ( close ) %] |
156 |
<label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label> |
158 |
<label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label> |
157 |
<input type="hidden" size="20" name="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %] |
159 |
<input type="hidden" size="20" name="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %] |
158 |
[% ELSE %] |
160 |
[% ELSE %] |
159 |
<label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label> |
161 |
<label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label> |
160 |
<select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id"> |
162 |
<select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id"> |
161 |
<option value="">Select a fund (will use default if set)</option> |
163 |
<option value="">Select a fund (will use default if set)</option> |
162 |
[% FOREACH budget IN budget_loop %] |
164 |
[% FOREACH budget IN budget_loop %] |
163 |
[% IF ( budget.b_id == biblio.budget_id ) %] |
165 |
[% IF ( budget.b_id == biblio.budget_id ) %] |
164 |
[% IF budget.b_active %] |
166 |
[% IF budget.b_active %] |
165 |
<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option> |
167 |
<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option> |
166 |
[% ELSE %] |
168 |
[% ELSE %] |
167 |
<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option> |
169 |
<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option> |
168 |
[% END %] |
170 |
[% END %] |
169 |
[% ELSE %] |
171 |
[% ELSE %] |
170 |
[% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option> |
172 |
[% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option> |
171 |
[% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option> |
173 |
[% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option> |
172 |
[% END %] |
174 |
[% END %] |
173 |
[% END %] |
175 |
[% END %] |
174 |
[% END %] |
176 |
[% END %] |
175 |
</select> |
177 |
</select> |
176 |
<span class="required" style="display:none">Required</span> |
178 |
<span class="required" style="display:none">Required</span> |
177 |
[% END %] |
179 |
[% END %] |
178 |
</li> |
180 |
</li> |
179 |
<li class="sort1"> |
181 |
<li class="sort1"> |
180 |
<label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label> |
182 |
<label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label> |
181 |
<input id="sort1_record_[% biblio.import_record_id | html %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 | html %]" /> |
183 |
<input id="sort1_record_[% biblio.import_record_id | html %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 | html %]" /> |
182 |
</li> |
184 |
</li> |
183 |
<li class="sort2"> |
185 |
<li class="sort2"> |
184 |
<label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label> |
186 |
<label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label> |
185 |
<input id="sort2_record_[% biblio.import_record_id | html %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 | html %]" /> |
187 |
<input id="sort2_record_[% biblio.import_record_id | html %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 | html %]" /> |
186 |
</li> |
188 |
</li> |
187 |
</ol> |
189 |
</ol> |
188 |
</div> |
190 |
</div> |
189 |
<div style="float:right"> |
191 |
<div style="float:right"> |
190 |
[% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %] |
192 |
[% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %] |
191 |
[% FOREACH item IN biblio.iteminfos %] |
193 |
[% FOREACH item IN biblio.iteminfos %] |
192 |
<fieldset> |
194 |
<fieldset> |
193 |
<legend>Item record [% item.item_id | html %]</legend> |
195 |
<legend>Item record [% item.item_id | html %]</legend> |
194 |
<ol> |
196 |
<ol> |
195 |
<li> |
197 |
<li> |
196 |
<label for="homebranch_item_[% item.item_id | html %]">homebranch</label><select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% item.biblio_count | html %]"> |
198 |
<label for="homebranch_item_[% item.item_id | html %]">homebranch</label> |
197 |
[% FOREACH l IN libraries %] |
199 |
<select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% item.biblio_count | html %]"> |
198 |
[% IF l.branchcode == item.homebranch %] |
200 |
[% FOREACH l IN libraries %] |
199 |
<option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option> |
201 |
[% IF l.branchcode == item.homebranch %] |
200 |
[% ELSE %] |
202 |
<option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option> |
201 |
<option value="[% l.branchcode | html %]">[% l.branchname | html %]</option> |
203 |
[% ELSE %] |
202 |
[% END %] |
204 |
<option value="[% l.branchcode | html %]">[% l.branchname | html %]</option> |
203 |
[% END %] |
205 |
[% END %] |
204 |
</select> |
206 |
[% END %] |
205 |
</li> |
207 |
</select> |
|
|
208 |
</li> |
206 |
|
209 |
|
207 |
<li><label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label><select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% item.biblio_count | html %]"> |
210 |
<li> |
208 |
[% FOREACH l IN libraries %] |
211 |
<label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label> |
209 |
[% IF l.branchcode == item.holdingbranch %] |
212 |
<select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% item.biblio_count | html %]"> |
210 |
<option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option> |
213 |
[% FOREACH l IN libraries %] |
211 |
[% ELSE %] |
214 |
[% IF l.branchcode == item.holdingbranch %] |
212 |
<option value="[% l.branchcode | html %]">[% l.branchname | html %]</option> |
215 |
<option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option> |
213 |
[% END %] |
216 |
[% ELSE %] |
214 |
[% END %] |
217 |
<option value="[% l.branchcode | html %]">[% l.branchname | html %]</option> |
215 |
</select> |
218 |
[% END %] |
216 |
</li> |
219 |
[% END %] |
217 |
<li><label for="itype_item_[% item.item_id | html %]">itype</label><select id="itype_item_[% item.item_id | html %]" name="itype_[% item.biblio_count | html %]"> |
220 |
</select> |
218 |
[% FOREACH itemtype IN itemtypes %] |
221 |
</li> |
219 |
[% IF itemtype.itemtype == item.itype %] |
222 |
<li> |
220 |
<option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option> |
223 |
<label for="itype_item_[% item.item_id | html %]">itype</label> |
221 |
[% ELSE %] |
224 |
<select id="itype_item_[% item.item_id | html %]" name="itype_[% item.biblio_count | html %]"> |
222 |
<option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option> |
225 |
[% FOREACH itemtype IN itemtypes %] |
223 |
[% END %] |
226 |
[% IF itemtype.itemtype == item.itype %] |
224 |
[% END %] |
227 |
<option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option> |
225 |
</select> |
228 |
[% ELSE %] |
226 |
</li> |
229 |
<option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option> |
|
|
230 |
[% END %] |
231 |
[% END %] |
232 |
</select> |
233 |
</li> |
227 |
|
234 |
|
228 |
<li><label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label><input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% item.biblio_count | html %]" value="[% item.nonpublic_note | html %]"></li> |
235 |
<li> |
229 |
<li><label for="public_note_item_[% item.item_id | html %]">public_note</label><input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% item.biblio_count | html %]" value="[% item.public_note | html %]"></li> |
236 |
<label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label> |
230 |
<li><label for="loc_item_[% item.item_id | html %]">loc</label><select id="loc_item_[% item.item_id | html %]" name="loc_[% item.biblio_count | html %]"> |
237 |
<input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% item.biblio_count | html %]" value="[% item.nonpublic_note | html %]"> |
231 |
<option value=""> </option> |
238 |
</li> |
232 |
[% FOREACH locationloo IN locationloop %] |
239 |
<li> |
233 |
[% IF ( locationloo.code ) == (item.loc) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %] |
240 |
<label for="public_note_item_[% item.item_id | html %]">public_note</label> |
234 |
[% END %] |
241 |
<input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% item.biblio_count | html %]" value="[% item.public_note | html %]"> |
235 |
</select> |
242 |
</li> |
236 |
</li> |
243 |
<li> |
|
|
244 |
<label for="loc_item_[% item.item_id | html %]">loc</label> |
245 |
<select id="loc_item_[% item.item_id | html %]" name="loc_[% item.biblio_count | html %]"> |
246 |
<option value=""> </option> |
247 |
[% FOREACH locationloo IN locationloop %] |
248 |
[% IF ( locationloo.code ) == (item.loc) %] |
249 |
<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option> |
250 |
[% ELSE %] |
251 |
<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option> |
252 |
[% END %] |
253 |
[% END %] |
254 |
</select> |
255 |
</li> |
237 |
|
256 |
|
238 |
<li><label for="ccode_item_[% item.item_id | html %]">ccode</label><select id="ccode_item_[% item.item_id | html %]" name="ccode_[% item.biblio_count | html %]"> |
257 |
<li> |
239 |
<option value=""> </option> |
258 |
<label for="ccode_item_[% item.item_id | html %]">ccode</label> |
240 |
[% FOREACH ccodeloo IN ccodeloop %] |
259 |
<select id="ccode_item_[% item.item_id | html %]" name="ccode_[% item.biblio_count | html %]"> |
241 |
[% IF ( ccodeloo.code ) == (item.ccode) %]<option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>[% ELSE %]<option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>[% END %] |
260 |
<option value=""> </option> |
242 |
[% END %] |
261 |
[% FOREACH ccodeloo IN ccodeloop %] |
243 |
</select> |
262 |
[% IF ( ccodeloo.code ) == (item.ccode) %] |
244 |
</li> |
263 |
<option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option> |
|
|
264 |
[% ELSE %] |
265 |
<option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option> |
266 |
[% END %] |
267 |
[% END %] |
268 |
</select> |
269 |
</li> |
245 |
|
270 |
|
246 |
<li><label for="notforloan_item_[% item.item_id | html %]">notforloan</label><select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% item.biblio_count | html %]"> |
271 |
<li> |
247 |
<option value=""> </option> |
272 |
<label for="notforloan_item_[% item.item_id | html %]">notforloan</label> |
248 |
[% FOREACH n IN notforloanloop %] |
273 |
<select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% item.biblio_count | html %]"> |
249 |
[% IF n.code == item.notforloan %] |
274 |
<option value=""> </option> |
250 |
<option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option> |
275 |
[% FOREACH n IN notforloanloop %] |
251 |
[% ELSE %] |
276 |
[% IF n.code == item.notforloan %] |
252 |
<option value="[% n.code | html %]">[% n.description | html %]</option> |
277 |
<option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option> |
253 |
[% END %] |
278 |
[% ELSE %] |
254 |
[% END %] |
279 |
<option value="[% n.code | html %]">[% n.description | html %]</option> |
255 |
</select> |
280 |
[% END %] |
256 |
</li> |
281 |
[% END %] |
257 |
<li><label for="uri_item_[% item.item_id | html %]">uri</label><input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% item.biblio_count | html %]" value="[% item.uri | html %]"></li> |
282 |
</select> |
258 |
<li><label for="copyno_item_[% item.item_id | html %]">copyno</label><input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% item.biblio_count | html %]" value="[% item.copyno | html %]"></li> |
283 |
</li> |
259 |
<li><label for="budget_code_item_[% item.item_id | html %]">budget_code</label><select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% item.biblio_count | html %]"> |
284 |
<li> |
260 |
<option value="">Select a fund (will use default if set)</option> |
285 |
<label for="uri_item_[% item.item_id | html %]">uri</label> |
261 |
[% FOREACH budget_loo IN budget_loop %] |
286 |
<input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% item.biblio_count | html %]" value="[% item.uri | html %]"> |
262 |
[% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option> |
287 |
</li> |
263 |
[% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option> |
288 |
<li> |
264 |
[% END %] |
289 |
<label for="copyno_item_[% item.item_id | html %]">copyno</label> |
265 |
[% END %] |
290 |
<input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% item.biblio_count | html %]" value="[% item.copyno | html %]"> |
266 |
</select> |
291 |
</li> |
267 |
<span class="item_fund required">Required</span> |
292 |
<li> |
268 |
</li> |
293 |
<label for="budget_code_item_[% item.item_id | html %]">budget_code</label> |
269 |
<li><label for="price_item_[% item.item_id | html %]">price</label><input type="text" id="price_item_[% item.item_id | html %]" name="itemprice_[% item.biblio_count | html %]" value="[% item.itemprice | html %]"></li> |
294 |
<select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% item.biblio_count | html %]"> |
270 |
<li><label for="replacementprice_item_[% item.item_id | html %]">replacement price</label><input type="text" id="replacementprice_item_[% item.item_id | html %]" name="replacementprice_[% item.biblio_count | html %]" value="[% item.replacementprice | html %]"></li> |
295 |
<option value="">Select a fund (will use default if set)</option> |
271 |
<li><label for="callnumber_item_[% item.item_id | html %]">callnumber</label><input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% item.biblio_count | html %]" value="[% item.itemcallnumber | html %]"></li> |
296 |
[% FOREACH budget_loo IN budget_loop %] |
272 |
</ol> |
297 |
[% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option> |
273 |
</fieldset> |
298 |
[% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option> |
274 |
[% END %] |
299 |
[% END %] |
275 |
</div> |
300 |
[% END %] |
276 |
</fieldset> |
301 |
</select> |
277 |
<div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
302 |
<span class="item_fund required">Required</span> |
278 |
<div class="modal-dialog"> |
303 |
</li> |
279 |
<div class="modal-content"> |
304 |
<li> |
280 |
<div class="modal-header"> |
305 |
<label for="price_item_[% item.item_id | html %]">price</label> |
281 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
306 |
<input type="text" id="price_item_[% item.item_id | html %]" name="itemprice_[% item.biblio_count | html %]" value="[% item.itemprice | html %]"> |
282 |
<h3 id="dataPreviewLabel">MARC preview</h3> |
307 |
</li> |
283 |
</div> |
308 |
<li> |
284 |
<div class="modal-body"> |
309 |
<label for="replacementprice_item_[% item.item_id | html %]">replacement price</label> |
285 |
<div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div> |
310 |
<input type="text" id="replacementprice_item_[% item.item_id | html %]" name="replacementprice_[% item.biblio_count | html %]" value="[% item.replacementprice | html %]"> |
286 |
</div> |
311 |
</li> |
287 |
<div class="modal-footer"> |
312 |
<li> |
288 |
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> |
313 |
<label for="callnumber_item_[% item.item_id | html %]">callnumber</label> |
289 |
</div> |
314 |
<input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% item.biblio_count | html %]" value="[% item.itemcallnumber | html %]"> |
290 |
</div> |
315 |
</li> |
291 |
</div> |
316 |
</ol> |
|
|
317 |
</fieldset> |
318 |
[% END %] |
319 |
</div> |
320 |
</fieldset> |
321 |
|
322 |
<div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
323 |
<div class="modal-dialog"> |
324 |
<div class="modal-content"> |
325 |
<div class="modal-header"> |
326 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
327 |
<h3 id="dataPreviewLabel">MARC preview</h3> |
328 |
</div> |
329 |
<div class="modal-body"> |
330 |
<div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div> |
331 |
</div> |
332 |
<div class="modal-footer"> |
333 |
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> |
334 |
</div> |
335 |
</div> |
336 |
</div> |
337 |
</div> |
338 |
[% END %] |
292 |
</div> |
339 |
</div> |
293 |
[% END %] |
|
|
294 |
</div> |
295 |
<div id="items_info"> |
296 |
<h2>Item information</h2> |
297 |
<p>Import all the checked items in the basket with the following parameters:</p> |
298 |
|
340 |
|
299 |
[% IF ( items ) %] |
341 |
<div id="items_info"> |
300 |
<fieldset class="rows" style="float:none;"> |
342 |
<h2>Item information</h2> |
301 |
<legend>Item</legend> |
343 |
<p>Import all the checked items in the basket with the following parameters:</p> |
302 |
[% IF ( NoACQframework ) %] |
|
|
303 |
<div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div> |
304 |
[% END %] |
305 |
[% FOREACH item IN items %] |
306 |
<div id="outeritemblock"> |
307 |
<div id="itemblock"> |
308 |
<ol> |
309 |
[% FOREACH iteminformatio IN item.iteminformation %]<li style="[% iteminformatio.hidden | html %];"> |
310 |
<div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]"> |
311 |
[% IF (iteminformatio.mandatory) %] |
312 |
<label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> |
313 |
[% ELSE %] |
314 |
<label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> |
315 |
[% END %] |
316 |
|
344 |
|
317 |
[% IF ( iteminformatio.marc_value.type == 'select' ) %] |
345 |
[% IF ( items ) %] |
318 |
<select name="field_value" class="input_marceditor"> |
346 |
<fieldset class="rows" style="float:none;"> |
319 |
[% FOREACH value IN iteminformatio.marc_value.values %] |
347 |
<legend>Item</legend> |
320 |
[% IF ( value == iteminformatio.marc_value.default ) %] |
348 |
[% IF ( NoACQframework ) %] |
321 |
<option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option> |
349 |
<div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div> |
322 |
[% ELSE %] |
|
|
323 |
<option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option> |
324 |
[% END %] |
325 |
[% END %] |
326 |
</select> |
327 |
[% ELSE %] |
328 |
[% iteminformatio.marc_value | $raw %] |
329 |
[% END %] |
350 |
[% END %] |
330 |
<input type="hidden" name="itemid" value="1" /> |
351 |
[% FOREACH item IN items %] |
331 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" /> |
352 |
<div id="outeritemblock"> |
332 |
<input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" /> |
353 |
<div id="itemblock"> |
333 |
<input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" /> |
354 |
<ol> |
334 |
<input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" /> |
355 |
[% FOREACH iteminformatio IN item.iteminformation %] |
335 |
[% IF ( iteminformatio.mandatory ) %] <span class="required">Required</span>[% END %] |
356 |
<li style="[% iteminformatio.hidden | html %];"> |
336 |
</div></li> |
357 |
<div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]"> |
337 |
[% END %] |
358 |
[% IF (iteminformatio.mandatory) %] |
338 |
</ol> |
359 |
<label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> |
339 |
</div><!-- /iteminformation --> |
360 |
[% ELSE %] |
|
|
361 |
<label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> |
362 |
[% END %] |
363 |
|
364 |
[% IF ( iteminformatio.marc_value.type == 'select' ) %] |
365 |
<select name="field_value" class="input_marceditor"> |
366 |
[% FOREACH value IN iteminformatio.marc_value.values %] |
367 |
[% IF ( value == iteminformatio.marc_value.default ) %] |
368 |
<option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option> |
369 |
[% ELSE %] |
370 |
<option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option> |
371 |
[% END %] |
372 |
[% END %] |
373 |
</select> |
374 |
[% ELSE %] |
375 |
[% iteminformatio.marc_value | $raw %] |
376 |
[% END %] |
377 |
<input type="hidden" name="itemid" value="1" /> |
378 |
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" /> |
379 |
<input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" /> |
380 |
<input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" /> |
381 |
<input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" /> |
382 |
[% IF ( iteminformatio.mandatory ) %] |
383 |
<span class="required">Required</span> |
384 |
[% END %] |
385 |
</div> |
386 |
</li> |
387 |
[% END %] |
388 |
</ol> |
389 |
</div><!-- /iteminformation --> |
390 |
</div> |
391 |
[% END %] <!-- /items --> |
392 |
</fieldset> |
393 |
[% END %] <!-- items --> |
340 |
</div> |
394 |
</div> |
341 |
[% END %] <!-- /items --> |
395 |
|
342 |
</fieldset> |
396 |
<div id="accounting_details"> |
343 |
[% END %] <!-- items --> |
397 |
<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> |
344 |
</div> |
398 |
<fieldset class="rows" style="float:none;"> |
345 |
<div id="accounting_details"> |
399 |
<legend>Accounting details</legend> |
346 |
<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> |
400 |
<ol> |
347 |
<fieldset class="rows" style="float:none;"> |
|
|
348 |
<legend>Accounting details</legend> |
349 |
<ol> |
350 |
<li> |
351 |
<!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order --> |
352 |
<input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" /> |
353 |
</li> |
354 |
<li> |
355 |
[% IF ( close ) %] |
356 |
<span class="label">Fund: </span> |
357 |
<input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %] |
358 |
[% ELSE %] |
359 |
<li> |
401 |
<li> |
360 |
<label for="all_currency">Currency:</label> |
402 |
<!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order --> |
361 |
<select name="all_currency" id="all_currency"> |
403 |
<input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" /> |
362 |
[% FOREACH currency IN currencies %] |
|
|
363 |
[% IF currency.currency == bookseller.listprice %] |
364 |
<option value="[% currency.currency | html %]" selected="selected">[% currency.currency | html %]</option> |
365 |
[% ELSIF not currency.archived %] |
366 |
<option value="[% currency.currency | html %]">[% currency.currency | html %]</option> |
367 |
[% END %] |
368 |
[% END %] |
369 |
</select> |
370 |
</li> |
404 |
</li> |
371 |
<li> |
405 |
<li> |
372 |
<label for="all_budget_id">Fund: </label> |
406 |
[% IF ( close ) %] |
373 |
<select id="all_budget_id" name="all_budget_id"> |
407 |
<span class="label">Fund: </span> |
374 |
<option value="">Select a fund (will populate orders/items if set)</option> |
408 |
<input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %] |
375 |
[% FOREACH budget_loo IN budget_loop %] |
409 |
[% ELSE %] |
376 |
[% IF ( budget_loo.b_active ) %]<option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option> |
410 |
<li> |
377 |
[% ELSE %]<option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option> |
411 |
<label for="all_currency">Currency:</label> |
378 |
[% END %] |
412 |
<select name="all_currency" id="all_currency"> |
|
|
413 |
[% FOREACH currency IN currencies %] |
414 |
[% IF currency.currency == bookseller.listprice %] |
415 |
<option value="[% currency.currency | html %]" selected="selected">[% currency.currency | html %]</option> |
416 |
[% ELSIF not currency.archived %] |
417 |
<option value="[% currency.currency | html %]">[% currency.currency | html %]</option> |
418 |
[% END %] |
419 |
[% END %] |
420 |
</select> |
421 |
</li> |
422 |
<li> |
423 |
<label for="all_budget_id">Fund: </label> |
424 |
<select id="all_budget_id" name="all_budget_id"> |
425 |
<option value="">Select a fund (will populate orders/items if set)</option> |
426 |
[% FOREACH budget_loo IN budget_loop %] |
427 |
[% IF ( budget_loo.b_active ) %] |
428 |
<option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option> |
429 |
[% ELSE %] |
430 |
<option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option> |
431 |
[% END %] |
432 |
[% END %] |
433 |
</select> |
434 |
<label for="all_showallbudgets" style="float:none;width:auto;"> Show inactive:</label> |
435 |
<input type="checkbox" id="all_showallbudgets" /> |
436 |
</li> |
379 |
[% END %] |
437 |
[% END %] |
380 |
</select> |
|
|
381 |
<label for="all_showallbudgets" style="float:none;width:auto;"> Show inactive:</label> |
382 |
<input type="checkbox" id="all_showallbudgets" /> |
383 |
</li> |
438 |
</li> |
384 |
[% END %] |
439 |
<li> |
385 |
</li> |
440 |
<label for="all_order_internalnote">Internal note: </label> |
386 |
<li> |
441 |
<textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea> |
387 |
<label for="all_order_internalnote">Internal note: </label> |
442 |
</li> |
388 |
<textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea> |
443 |
<li> |
389 |
</li> |
444 |
<label for="all_order_vendornote">Vendor note: </label> |
390 |
<li> |
445 |
<textarea id="all_order_vendornote" cols="30" rows="3" name="all_order_vendornote"></textarea> |
391 |
<label for="all_order_vendornote">Vendor note: </label> |
446 |
</li> |
392 |
<textarea id="all_order_vendornote" cols="30" rows="3" name="all_order_vendornote"></textarea> |
447 |
<li> |
393 |
</li> |
448 |
<div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> |
394 |
<li> |
449 |
<label for="all_sort1">Statistic 1: </label> |
395 |
<div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> |
450 |
<input type="text" id="all_sort1" size="20" name="all_sort1" value="" /> |
396 |
<label for="all_sort1">Statistic 1: </label> |
451 |
</li> |
397 |
<input type="text" id="all_sort1" size="20" name="all_sort1" value="" /> |
452 |
<li> |
398 |
</li> |
453 |
<label for="all_sort2">Statistic 2: </label> |
399 |
<li> |
454 |
<input type="text" id="all_sort2" size="20" name="all_sort2" value="" /> |
400 |
<label for="all_sort2">Statistic 2: </label> |
455 |
</li> |
401 |
<input type="text" id="all_sort2" size="20" name="all_sort2" value="" /> |
456 |
</ol> |
402 |
</li> |
457 |
</fieldset> |
403 |
</ol> |
458 |
</div> |
404 |
</fieldset> |
459 |
</div> |
405 |
</div> |
|
|
406 |
</div> |
407 |
|
460 |
|
408 |
<fieldset class="action"> |
461 |
<fieldset class="action"> |
409 |
<input id="add_order" type="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a> |
462 |
<input id="add_order" type="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a> |
410 |
</fieldset> |
463 |
</fieldset> |
411 |
</form> |
464 |
</form> |
412 |
[% ELSE %] |
465 |
[% ELSE %] |
413 |
<div> |
466 |
<div> |
414 |
<h1>Choose the file to add to the basket</h1> |
467 |
<h1>Choose the file to add to the basket</h1> |
415 |
<table id="files"> |
468 |
<table id="files"> |
416 |
<thead> |
469 |
<thead> |
417 |
<tr> |
470 |
<tr> |
418 |
<th>File name</th> |
471 |
<th>File name</th> |
419 |
<th>Comments</th> |
472 |
<th>Comments</th> |
420 |
<th>Status</th> |
473 |
<th>Status</th> |
421 |
<th>Staged</th> |
474 |
<th>Staged</th> |
422 |
<th># Bibliographic records</th> |
475 |
<th># Bibliographic records</th> |
423 |
<th class="NoSort"> </th> |
476 |
<th class="NoSort"> </th> |
424 |
</tr> |
477 |
</tr> |
425 |
</thead> |
478 |
</thead> |
426 |
<tbody> |
479 |
<tbody> |
427 |
[% FOREACH batch_lis IN batch_list %] |
480 |
[% FOREACH batch_lis IN batch_list %] |
428 |
<tr> |
481 |
<tr> |
429 |
<td>[% batch_lis.file_name | html %]</td> |
482 |
<td>[% batch_lis.file_name | html %]</td> |
430 |
<td>[% batch_lis.comments | html %]</td> |
483 |
<td>[% batch_lis.comments | html %]</td> |
431 |
<td> |
484 |
<td> |
432 |
[% IF ( batch_lis.import_status == 'cleaned' ) %] |
485 |
[% IF ( batch_lis.import_status == 'cleaned' ) %] |
433 |
Cleaned |
486 |
Cleaned |
434 |
[% ELSIF ( batch_lis.import_status == 'imported' ) %] |
487 |
[% ELSIF ( batch_lis.import_status == 'imported' ) %] |
435 |
Imported |
488 |
Imported |
436 |
[% ELSIF ( batch_lis.import_status == 'importing' ) %] |
489 |
[% ELSIF ( batch_lis.import_status == 'importing' ) %] |
437 |
Importing |
490 |
Importing |
438 |
[% ELSIF ( batch_lis.import_status == 'reverted' ) %] |
491 |
[% ELSIF ( batch_lis.import_status == 'reverted' ) %] |
439 |
Reverted |
492 |
Reverted |
440 |
[% ELSIF ( batch_lis.import_status == 'reverting' ) %] |
493 |
[% ELSIF ( batch_lis.import_status == 'reverting' ) %] |
441 |
Reverting |
494 |
Reverting |
442 |
[% ELSIF ( batch_lis.import_status == 'staged' ) %] |
495 |
[% ELSIF ( batch_lis.import_status == 'staged' ) %] |
443 |
Staged |
496 |
Staged |
444 |
[% ELSE %] |
497 |
[% ELSE %] |
445 |
[% batch_lis.import_status | html %] |
498 |
[% batch_lis.import_status | html %] |
446 |
[% END %] |
499 |
[% END %] |
447 |
</td> |
500 |
</td> |
448 |
<td data-order="[% batch_lis.staged_date | html %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</td> |
501 |
<td data-order="[% batch_lis.staged_date | html %]"> |
449 |
<td>[% batch_lis.num_records | html %]</td> |
502 |
[% batch_lis.staged_date | $KohaDates with_hours => 1 %] |
450 |
<td class="actions"> |
503 |
</td> |
451 |
<a href="[% batch_lis.scriptname | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&basketno=[% basketno | uri %]&booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add orders</a> |
504 |
<td>[% batch_lis.num_records | html %]</td> |
452 |
</td> |
505 |
<td class="actions"> |
453 |
</tr> |
506 |
<a href="[% batch_lis.scriptname | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&basketno=[% basketno | uri %]&booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add orders</a> |
454 |
[% END %] |
507 |
</td> |
455 |
</tbody> |
508 |
</tr> |
456 |
</table> |
509 |
[% END %] |
457 |
</div> |
510 |
</tbody> |
|
|
511 |
</table> |
512 |
</div> |
458 |
[% END %] |
513 |
[% END %] |
459 |
</div> [% # /div.col-sm-6 %] |
514 |
</div> [% # /div.col-sm-6 %] |
460 |
</div> [% # /div.row %] |
515 |
</div> [% # /div.row %] |
461 |
|
516 |
|
462 |
[% INCLUDE 'intranet-bottom.inc' %] |
517 |
[% INCLUDE 'intranet-bottom.inc' %] |
463 |
- |
|
|