Lines 869-882
Link Here
|
869 |
<input type="hidden" name="recordtype" value="biblio" /> |
869 |
<input type="hidden" name="recordtype" value="biblio" /> |
870 |
<input type="hidden" name="op" value="list" /> |
870 |
<input type="hidden" name="op" value="list" /> |
871 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
871 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
872 |
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %][% cells.cell | html %][% END %][% END %][% END %]</textarea> |
872 |
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list"> |
|
|
873 |
[%- recordnumbers = PROCESS batch_list results=results batch_type='biblionumber' | trim | html %][% IF recordnumbers %][% SET batch_biblionumbers = 1 %][% recordnumbers | html %][% END -%] |
874 |
</textarea> |
873 |
</form> |
875 |
</form> |
874 |
|
876 |
|
875 |
<form method="POST" action="/cgi-bin/koha/tools/batch_delete_records.pl" id="batch_record_deletion"> |
877 |
<form method="POST" action="/cgi-bin/koha/tools/batch_delete_records.pl" id="batch_record_deletion"> |
876 |
<input type="hidden" name="recordtype" value="biblio" /> |
878 |
<input type="hidden" name="recordtype" value="biblio" /> |
877 |
<input type="hidden" name="op" value="list" /> |
879 |
<input type="hidden" name="op" value="list" /> |
878 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
880 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
879 |
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %][% cells.cell | html %][% END %][% END %][% END %]</textarea> |
881 |
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list"> |
|
|
882 |
[%- recordnumbers = PROCESS batch_list results=results batch_type='biblionumber' | trim | html %][% IF recordnumbers %][% SET batch_biblionumbers = 1 %][% recordnumbers | html %][% END -%] |
883 |
</textarea> |
880 |
</form> |
884 |
</form> |
881 |
|
885 |
|
882 |
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_modification"> |
886 |
<form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_modification"> |
Lines 927-935
Link Here
|
927 |
<form method="POST" action="/cgi-bin/koha/tools/modborrowers.pl" id="batch_patron_modification"> |
931 |
<form method="POST" action="/cgi-bin/koha/tools/modborrowers.pl" id="batch_patron_modification"> |
928 |
<input type="hidden" name="op" value="show" /> |
932 |
<input type="hidden" name="op" value="show" /> |
929 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
933 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
930 |
<textarea style="display:none" name="cardnumberlist" id="cardnumberlist">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'cardnumber' || header_types.item(header_row.$place.cell) == 'cardnumber' %][% SET batch_cardnumbers = 1 %][% cells.cell | html %][% END %][% END %][% END %]</textarea> |
934 |
<textarea style="display:none" name="cardnumberlist" id="cardnumberlist"> |
|
|
935 |
[%- cardnumbers = PROCESS batch_list results=results batch_type='cardnumber' | trim | html %][% IF cardnumbers %][% SET batch_cardnumbers = 1 %][% cardnumbers | html %][% END -%] |
936 |
</textarea> |
931 |
</form> |
937 |
</form> |
932 |
|
938 |
|
|
|
939 |
[% BLOCK batch_list %] |
940 |
[%- FOREACH result IN results %] |
941 |
[%- FOREACH cells IN result.cells %] |
942 |
[%- place = loop.index %] |
943 |
[%- IF header_row.$place.cell == $batch_type || header_types.item(header_row.$place.cell) == $batch_type %] |
944 |
[%# We must not add whitespace to the cardnumbers %][% cells.cell | html %] |
945 |
[%- END %] |
946 |
[%- END %] |
947 |
[%- END -%] |
948 |
[% END %] |
933 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %] |
949 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %] |
934 |
<p> |
950 |
<p> |
935 |
<div class="btn-group"> |
951 |
<div class="btn-group"> |
936 |
- |
|
|