Lines 90-113
$(document).ready(function(){
Link Here
|
90 |
[% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot Delete</strong>: item is checked out.</div>[% END %] |
90 |
[% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot Delete</strong>: item is checked out.</div>[% END %] |
91 |
[% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot Delete</strong>: item has a waiting hold.</div>[% END %] |
91 |
[% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot Delete</strong>: item has a waiting hold.</div>[% END %] |
92 |
|
92 |
|
93 |
[% IF ( notfoundbarcodes ) %] |
93 |
[% IF ( notfoundbarcodes.size ) %] |
94 |
<div class="dialog alert"><p>Warning, the following barcodes were not found:</p></div> |
94 |
<div class="dialog alert"><p>Warning, the following barcodes were not found:</p></div> |
95 |
<table style="margin:auto;"> |
95 |
<table style="margin:auto;"> |
96 |
<thead> |
96 |
<thead> |
97 |
<tr><th>Barcodes not found</th></tr> |
97 |
<tr><th>Barcodes not found</th></tr> |
98 |
</thead> |
98 |
</thead> |
99 |
<tbody> |
99 |
<tbody> |
100 |
[% FOREACH notfoundbarcode IN notfoundbarcodes %] |
100 |
[% FOREACH notfoundbarcode IN notfoundbarcodes %] |
101 |
<tr><td>[% notfoundbarcode.barcode |html %]</td></td> |
101 |
<tr><td>[% notfoundbarcode |html %]</td></td> |
|
|
102 |
[% END %] |
103 |
</tbody> |
104 |
</table> |
105 |
[% IF ( item_loop ) %] |
106 |
[% UNLESS ( too_many_items ) %] |
107 |
<h4>The following barcodes were found: </h4> |
108 |
[% END %] |
102 |
[% END %] |
109 |
[% END %] |
103 |
</tbody> |
110 |
[% END %] <!-- /notfoundbarcodes --> |
104 |
</table> |
111 |
[% IF ( notfounditemnumbers.size ) %] |
105 |
[% IF ( item_loop ) %] |
112 |
<div class="dialog alert"><p>Warning, the following itemnumbers were not found:</p></div> |
106 |
[% UNLESS ( too_many_items ) %] |
113 |
<table style="margin:auto;"> |
107 |
<h4>The following barcodes were found: </h4> |
114 |
<thead> |
108 |
[% END %] |
115 |
<tr><th>Itemnumbers not found</th></tr> |
109 |
[% END %] |
116 |
</thead> |
110 |
[% END %] <!-- /notfoundbarcodes --> |
117 |
<tbody> |
|
|
118 |
[% FOREACH notfounditemnumber IN notfounditemnumbers %] |
119 |
<tr><td>[% notfounditemnumber |html %]</td></td> |
120 |
[% END %] |
121 |
</tbody> |
122 |
</table> |
123 |
[% IF ( item_loop ) %] |
124 |
[% UNLESS ( too_many_items ) %] |
125 |
<h4>The following itemnumbers were found: </h4> |
126 |
[% END %] |
127 |
[% END %] |
128 |
[% END %] <!-- /notfounditemnumbers --> |
129 |
|
130 |
|
111 |
|
131 |
|
112 |
<form name="f" action="batchMod.pl" method="post"> |
132 |
<form name="f" action="batchMod.pl" method="post"> |
113 |
<input type="hidden" name="op" value="[% op %]" /> |
133 |
<input type="hidden" name="op" value="[% op %]" /> |