Lines 755-762
canned reports and writing custom SQL reports.</p>
Link Here
|
755 |
[% FOREACH result IN results %] |
755 |
[% FOREACH result IN results %] |
756 |
[% FOREACH cells IN result.cells %] |
756 |
[% FOREACH cells IN result.cells %] |
757 |
[% place = loop.index %] |
757 |
[% place = loop.index %] |
|
|
758 |
[% NEXT UNLESS cells.cell.match('^(\d+)$') %] |
758 |
[% IF header_row.$place.cell == 'itemnumber' || header_types.item(header_row.$place.cell) == 'itemnumber' %] |
759 |
[% IF header_row.$place.cell == 'itemnumber' || header_types.item(header_row.$place.cell) == 'itemnumber' %] |
759 |
[% SET batch_itemnumbers = 1 %] |
760 |
[% SET batch_itemnumbers = 1 %] |
|
|
761 |
[% SET header_row.$place.has_itemnumbers = 1 %] |
760 |
<input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" /> |
762 |
<input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" /> |
761 |
[% END %] |
763 |
[% END %] |
762 |
[% END %] |
764 |
[% END %] |
Lines 769-776
canned reports and writing custom SQL reports.</p>
Link Here
|
769 |
[% FOREACH result IN results %] |
771 |
[% FOREACH result IN results %] |
770 |
[% FOREACH cells IN result.cells %] |
772 |
[% FOREACH cells IN result.cells %] |
771 |
[% place = loop.index %] |
773 |
[% place = loop.index %] |
|
|
774 |
[% NEXT UNLESS cells.cell.match('^(\d+)$') %] |
772 |
[% IF header_row.$place.cell == 'itemnumber' || header_types.item(header_row.$place.cell) == 'itemnumber' %] |
775 |
[% IF header_row.$place.cell == 'itemnumber' || header_types.item(header_row.$place.cell) == 'itemnumber' %] |
773 |
[% SET batch_itemnumbers = 1 %] |
776 |
[% SET batch_itemnumbers = 1 %] |
|
|
777 |
[% SET header_row.$place.has_itemnumbers = 1 %] |
774 |
<input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" /> |
778 |
<input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" /> |
775 |
[% END %] |
779 |
[% END %] |
776 |
[% END %] |
780 |
[% END %] |
Lines 781-788
canned reports and writing custom SQL reports.</p>
Link Here
|
781 |
[% FOREACH result IN results %] |
785 |
[% FOREACH result IN results %] |
782 |
[% FOREACH cells IN result.cells %] |
786 |
[% FOREACH cells IN result.cells %] |
783 |
[% place = loop.index %] |
787 |
[% place = loop.index %] |
|
|
788 |
[% NEXT UNLESS cells.cell.match('^(\d+)$') %] |
784 |
[% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %] |
789 |
[% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %] |
785 |
[% SET batch_biblionumbers = 1 %] |
790 |
[% SET batch_biblionumbers = 1 %] |
|
|
791 |
[% SET header_row.$place.has_biblionumbers = 1 %] |
786 |
<input type="hidden" class="bib_to_list" name="biblionumber" value="[% cells.cell | html %]" /> |
792 |
<input type="hidden" class="bib_to_list" name="biblionumber" value="[% cells.cell | html %]" /> |
787 |
[% END %] |
793 |
[% END %] |
788 |
[% END %] |
794 |
[% END %] |
Lines 805-811
canned reports and writing custom SQL reports.</p>
Link Here
|
805 |
</button> |
811 |
</button> |
806 |
<ul class="dropdown-menu" aria-labelledby="batch_mod_menu"> |
812 |
<ul class="dropdown-menu" aria-labelledby="batch_mod_menu"> |
807 |
[% FOREACH header_ro IN header_row %] |
813 |
[% FOREACH header_ro IN header_row %] |
808 |
[% IF header_ro.cell == 'biblionumber' || header_types.item( header_ro.cell ) == 'biblionumber' %] |
814 |
[% IF header_ro.has_biblionumbers && ( header_ro.cell == 'biblionumber' || header_types.item( header_ro.cell ) == 'biblionumber' ) %] |
809 |
<li class="dropdown-header">Bibliographic records</li> |
815 |
<li class="dropdown-header">Bibliographic records</li> |
810 |
<li> |
816 |
<li> |
811 |
<a href="#" data-submit="batch_record_modification" data-toggle="tooltip" data-placement="right" title="Send visible records to batch record modification" class="batch_op send_to_record_mod">Batch record modification</a> |
817 |
<a href="#" data-submit="batch_record_modification" data-toggle="tooltip" data-placement="right" title="Send visible records to batch record modification" class="batch_op send_to_record_mod">Batch record modification</a> |
Lines 817-823
canned reports and writing custom SQL reports.</p>
Link Here
|
817 |
<a href="#" data-submit="batch_add_to_list" data-toggle="tooltip" data-placement="right" title="Send visible records to a list" class="batch_op send_to_list">Add to list</a> |
823 |
<a href="#" data-submit="batch_add_to_list" data-toggle="tooltip" data-placement="right" title="Send visible records to a list" class="batch_op send_to_list">Add to list</a> |
818 |
</li> |
824 |
</li> |
819 |
[% END %] |
825 |
[% END %] |
820 |
[% IF header_ro.cell == 'itemnumber' || header_types.item( header_ro.cell ) == 'itemnumber' %] |
826 |
[% IF header_ro.has_itemnumbers && ( header_ro.cell == 'itemnumber' || header_types.item( header_ro.cell ) == 'itemnumber' ) %] |
821 |
[% IF ( batch_biblionumbers ) %] |
827 |
[% IF ( batch_biblionumbers ) %] |
822 |
<li role="separator" class="divider"></li> |
828 |
<li role="separator" class="divider"></li> |
823 |
[% END %] |
829 |
[% END %] |
824 |
- |
|
|