|
Lines 112-118
Link Here
|
| 112 |
} |
112 |
} |
| 113 |
}); |
113 |
}); |
| 114 |
if ( error > 0 ) { |
114 |
if ( error > 0 ) { |
| 115 |
alert(error + " " + _("quantity values are not filled or not a number")); |
115 |
alert(error + " " + _("quantity values are not filled in or are not numbers")); |
| 116 |
return false; |
116 |
return false; |
| 117 |
} |
117 |
} |
| 118 |
|
118 |
|
|
Lines 146-152
Link Here
|
| 146 |
<div id="tabs" class="toptabs"> |
146 |
<div id="tabs" class="toptabs"> |
| 147 |
<ul> |
147 |
<ul> |
| 148 |
<li><a href="#records_to_import">Select to import</a></li> |
148 |
<li><a href="#records_to_import">Select to import</a></li> |
| 149 |
<li><a href="#items_info" class="items_info">Items information</a></li> |
149 |
<li><a href="#items_info" class="items_info">Item information</a></li> |
| 150 |
<li><a href="#accounting_details">Default accounting details</a></li> |
150 |
<li><a href="#accounting_details">Default accounting details</a></li> |
| 151 |
</ul> |
151 |
</ul> |
| 152 |
|
152 |
|
|
Lines 221-231
Link Here
|
| 221 |
[% END %] |
221 |
[% END %] |
| 222 |
</li> |
222 |
</li> |
| 223 |
<li class="sort1"> |
223 |
<li class="sort1"> |
| 224 |
<label for="sort1_record_[% biblio.import_record_id %]">Planning value1: </label> |
224 |
<label for="sort1_record_[% biblio.import_record_id %]">Planning value 1: </label> |
| 225 |
<input id="sort1_record_[% biblio.import_record_id %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 %]" /> |
225 |
<input id="sort1_record_[% biblio.import_record_id %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 %]" /> |
| 226 |
</li> |
226 |
</li> |
| 227 |
<li class="sort2"> |
227 |
<li class="sort2"> |
| 228 |
<label for="sort2_record_[% biblio.import_record_id %]">Planning value2: </label> |
228 |
<label for="sort2_record_[% biblio.import_record_id %]">Planning value 2: </label> |
| 229 |
<input id="sort2_record_[% biblio.import_record_id %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 %]" /> |
229 |
<input id="sort2_record_[% biblio.import_record_id %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 %]" /> |
| 230 |
</li> |
230 |
</li> |
| 231 |
</ol> |
231 |
</ol> |
|
Lines 233-239
Link Here
|
| 233 |
[% END %] |
233 |
[% END %] |
| 234 |
</div> |
234 |
</div> |
| 235 |
<div id="items_info"> |
235 |
<div id="items_info"> |
| 236 |
<h2>Items information</h2> |
236 |
<h2>Item information</h2> |
| 237 |
<p>Import all the checked items in the basket with the following parameters:</p> |
237 |
<p>Import all the checked items in the basket with the following parameters:</p> |
| 238 |
|
238 |
|
| 239 |
[% IF ( items ) %] |
239 |
[% IF ( items ) %] |
|
Lines 319-325
Link Here
|
| 319 |
</li> |
319 |
</li> |
| 320 |
<li> |
320 |
<li> |
| 321 |
<div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> |
321 |
<div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> |
| 322 |
<label for="sort1">Planning value1: </label> |
322 |
<label for="sort1">Planning value 1: </label> |
| 323 |
[% IF CGIsort1 %] |
323 |
[% IF CGIsort1 %] |
| 324 |
<select id="all_sort1" size="1" name="all_sort1"> |
324 |
<select id="all_sort1" size="1" name="all_sort1"> |
| 325 |
[% FOREACH sort_opt IN CGIsort1 %] |
325 |
[% FOREACH sort_opt IN CGIsort1 %] |
|
Lines 336-342
Link Here
|
| 336 |
</li> |
336 |
</li> |
| 337 |
<li> |
337 |
<li> |
| 338 |
<span id="sort2_zone"> |
338 |
<span id="sort2_zone"> |
| 339 |
<label for="sort2">Planning value2: </label> |
339 |
<label for="sort2">Planning value 2: </label> |
| 340 |
[% IF CGIsort2 %] |
340 |
[% IF CGIsort2 %] |
| 341 |
<select id="all_sort2" size="1" name="all_sort1"> |
341 |
<select id="all_sort2" size="1" name="all_sort1"> |
| 342 |
[% FOREACH sort_opt IN CGIsort2 %] |
342 |
[% FOREACH sort_opt IN CGIsort2 %] |
| 343 |
- |
|
|