|
Lines 5-10
Link Here
|
| 5 |
[% USE Price %] |
5 |
[% USE Price %] |
| 6 |
[% USE ItemTypes %] |
6 |
[% USE ItemTypes %] |
| 7 |
[% USE AuthorisedValues %] |
7 |
[% USE AuthorisedValues %] |
|
|
8 |
[% USE Branches %] |
| 8 |
[% PROCESS 'i18n.inc' %] |
9 |
[% PROCESS 'i18n.inc' %] |
| 9 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
[% INCLUDE 'doc-head-open.inc' %] |
| 10 |
<title>[% FILTER collapse %] |
11 |
<title>[% FILTER collapse %] |
|
Lines 132-137
Link Here
|
| 132 |
} |
133 |
} |
| 133 |
|
134 |
|
| 134 |
$(document).ready(function(){ |
135 |
$(document).ready(function(){ |
|
|
136 |
[% UNLESS ordernumber %] |
| 137 |
$("#items_list").hide(); |
| 138 |
[% END %] |
| 139 |
|
| 135 |
[% IF AcqCreateItemOrdering and not basket.is_standing %] |
140 |
[% IF AcqCreateItemOrdering and not basket.is_standing %] |
| 136 |
cloneItemBlock(0, '[% UniqueItemFields | html %]'); |
141 |
cloneItemBlock(0, '[% UniqueItemFields | html %]'); |
| 137 |
[% END %] |
142 |
[% END %] |
|
Lines 490-496
Link Here
|
| 490 |
[% UNLESS subscriptionid || basket.is_standing %][% # it is a suggestion, we have not items %] |
495 |
[% UNLESS subscriptionid || basket.is_standing %][% # it is a suggestion, we have not items %] |
| 491 |
[% IF (AcqCreateItemOrdering) %] |
496 |
[% IF (AcqCreateItemOrdering) %] |
| 492 |
|
497 |
|
| 493 |
<div id="items_list" class="page-section" style="display:none"> |
498 |
<div id="items_list" class="page-section"> |
| 494 |
<p><strong>Items list</strong></p> |
499 |
<p><strong>Items list</strong></p> |
| 495 |
<div style="width:100%;overflow:auto;"> |
500 |
<div style="width:100%;overflow:auto;"> |
| 496 |
<table> |
501 |
<table> |
|
Lines 513-518
Link Here
|
| 513 |
</tr> |
518 |
</tr> |
| 514 |
</thead> |
519 |
</thead> |
| 515 |
<tbody> |
520 |
<tbody> |
|
|
521 |
[% FOREACH item IN items %] |
| 522 |
<tr idblock="itemblock[% item.id | html %]"> |
| 523 |
<td> </td> |
| 524 |
<td>[% item.barcode | html %]</td> |
| 525 |
<td>[% Branches.GetName(item.homebranch) | html %]</td> |
| 526 |
<td>[% Branches.GetName(item.holdingbranch) | html %]</td> |
| 527 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %]</td> |
| 528 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted ) | html %]</td> |
| 529 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td> |
| 530 |
<td>[% item.itemcallnumber | html %]</td> |
| 531 |
<td>[% item.copynumber | html %]</td> |
| 532 |
<td>[% item.stocknumber | html %]</td> |
| 533 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td> |
| 534 |
<td>[% ItemTypes.GetDescription( item.itype ) | html %]</td> |
| 535 |
<td>[% item.materials | html %]</td> |
| 536 |
<td>[% item.itemnotes | html %]</td> |
| 537 |
</tr> |
| 538 |
[% END %] |
| 516 |
</tbody> |
539 |
</tbody> |
| 517 |
</table> |
540 |
</table> |
| 518 |
</div> |
541 |
</div> |
|
Lines 544-550
Link Here
|
| 544 |
[% IF basket.is_standing %] |
567 |
[% IF basket.is_standing %] |
| 545 |
<input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" /> |
568 |
<input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" /> |
| 546 |
[% ELSE %] |
569 |
[% ELSE %] |
| 547 |
<input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="0" /> |
570 |
<input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="[% quantityrec | html %]" /> |
| 548 |
[% END %] |
571 |
[% END %] |
| 549 |
[% ELSE %] |
572 |
[% ELSE %] |
| 550 |
[% IF basket.is_standing %] |
573 |
[% IF basket.is_standing %] |
| 551 |
- |
|
|