|
Lines 107-113
Link Here
|
| 107 |
} |
107 |
} |
| 108 |
}); |
108 |
}); |
| 109 |
if ( error > 0 ) { |
109 |
if ( error > 0 ) { |
| 110 |
alert(error + " " + _("quantity values are not filled or not a number")); |
110 |
alert(error + " " + _("quantity values are not filled in or are not numbers")); |
| 111 |
return false; |
111 |
return false; |
| 112 |
} |
112 |
} |
| 113 |
|
113 |
|
|
Lines 141-147
Link Here
|
| 141 |
<div id="tabs" class="toptabs"> |
141 |
<div id="tabs" class="toptabs"> |
| 142 |
<ul> |
142 |
<ul> |
| 143 |
<li><a href="#records_to_import">Select to import</a></li> |
143 |
<li><a href="#records_to_import">Select to import</a></li> |
| 144 |
<li><a href="#items_info" class="items_info">Items information</a></li> |
144 |
<li><a href="#items_info" class="items_info">Item information</a></li> |
| 145 |
<li><a href="#accounting_details">Default accounting details</a></li> |
145 |
<li><a href="#accounting_details">Default accounting details</a></li> |
| 146 |
</ul> |
146 |
</ul> |
| 147 |
|
147 |
|
|
Lines 216-226
Link Here
|
| 216 |
[% END %] |
216 |
[% END %] |
| 217 |
</li> |
217 |
</li> |
| 218 |
<li class="sort1"> |
218 |
<li class="sort1"> |
| 219 |
<label for="sort1_record_[% biblio.import_record_id %]">Planning value1: </label> |
219 |
<label for="sort1_record_[% biblio.import_record_id %]">Planning value 1: </label> |
| 220 |
<input id="sort1_record_[% biblio.import_record_id %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 %]" /> |
220 |
<input id="sort1_record_[% biblio.import_record_id %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 %]" /> |
| 221 |
</li> |
221 |
</li> |
| 222 |
<li class="sort2"> |
222 |
<li class="sort2"> |
| 223 |
<label for="sort2_record_[% biblio.import_record_id %]">Planning value2: </label> |
223 |
<label for="sort2_record_[% biblio.import_record_id %]">Planning value 2: </label> |
| 224 |
<input id="sort2_record_[% biblio.import_record_id %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 %]" /> |
224 |
<input id="sort2_record_[% biblio.import_record_id %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 %]" /> |
| 225 |
</li> |
225 |
</li> |
| 226 |
</ol> |
226 |
</ol> |
|
Lines 228-234
Link Here
|
| 228 |
[% END %] |
228 |
[% END %] |
| 229 |
</div> |
229 |
</div> |
| 230 |
<div id="items_info"> |
230 |
<div id="items_info"> |
| 231 |
<h2>Items information</h2> |
231 |
<h2>Item information</h2> |
| 232 |
<p>Import all the checked items in the basket with the following parameters:</p> |
232 |
<p>Import all the checked items in the basket with the following parameters:</p> |
| 233 |
|
233 |
|
| 234 |
[% IF ( items ) %] |
234 |
[% IF ( items ) %] |
|
Lines 314-320
Link Here
|
| 314 |
</li> |
314 |
</li> |
| 315 |
<li> |
315 |
<li> |
| 316 |
<div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> |
316 |
<div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> |
| 317 |
<label for="sort1">Planning value1: </label> |
317 |
<label for="sort1">Planning value 1: </label> |
| 318 |
[% IF CGIsort1 %] |
318 |
[% IF CGIsort1 %] |
| 319 |
<select id="all_sort1" size="1" name="all_sort1"> |
319 |
<select id="all_sort1" size="1" name="all_sort1"> |
| 320 |
[% FOREACH sort_opt IN CGIsort1 %] |
320 |
[% FOREACH sort_opt IN CGIsort1 %] |
|
Lines 331-337
Link Here
|
| 331 |
</li> |
331 |
</li> |
| 332 |
<li> |
332 |
<li> |
| 333 |
<span id="sort2_zone"> |
333 |
<span id="sort2_zone"> |
| 334 |
<label for="sort2">Planning value2: </label> |
334 |
<label for="sort2">Planning value 2: </label> |
| 335 |
[% IF CGIsort2 %] |
335 |
[% IF CGIsort2 %] |
| 336 |
<select id="all_sort2" size="1" name="all_sort1"> |
336 |
<select id="all_sort2" size="1" name="all_sort1"> |
| 337 |
[% FOREACH sort_opt IN CGIsort2 %] |
337 |
[% FOREACH sort_opt IN CGIsort2 %] |
| 338 |
- |
|
|