Lines 758-763
Link Here
|
758 |
<th id="serial_planneddate" data-colname="serial_planneddate">Received date</th> |
758 |
<th id="serial_planneddate" data-colname="serial_planneddate">Received date</th> |
759 |
<th id="serial_status" data-colname="serial_status">Status</th> |
759 |
<th id="serial_status" data-colname="serial_status">Status</th> |
760 |
<th id="serial_notes" data-colname="serial_notes">Note</th> |
760 |
<th id="serial_notes" data-colname="serial_notes">Note</th> |
|
|
761 |
<th></th> |
761 |
</tr> |
762 |
</tr> |
762 |
</thead> |
763 |
</thead> |
763 |
<tbody> |
764 |
<tbody> |
Lines 770-775
Link Here
|
770 |
[% INCLUDE 'serial-status.inc' serial = latestserial %] |
771 |
[% INCLUDE 'serial-status.inc' serial = latestserial %] |
771 |
</td> |
772 |
</td> |
772 |
<td class="serial_notes">[% latestserial.notes | html %]</td> |
773 |
<td class="serial_notes">[% latestserial.notes | html %]</td> |
|
|
774 |
<td></td> |
773 |
</tr> |
775 |
</tr> |
774 |
[% END # / FOREACH latestserials %] |
776 |
[% END # / FOREACH latestserials %] |
775 |
</tbody> |
777 |
</tbody> |
Lines 1740-1770
Link Here
|
1740 |
|
1742 |
|
1741 |
KohaTable("#holdingst", { |
1743 |
KohaTable("#holdingst", { |
1742 |
dom: '<"clearfix">t', |
1744 |
dom: '<"clearfix">t', |
1743 |
"columnDefs": [ |
1745 |
"aoColumnDefs": [ |
1744 |
{ "targets": [ -1 ], "sortable": false, "searchable": false }, |
1746 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1745 |
], |
1747 |
], |
1746 |
"bKohaColumnsUseNames": true, |
1748 |
"bKohaColumnsUseNames": true, |
1747 |
"autoWidth": false, |
1749 |
"autoWidth": false, |
1748 |
"responsive": { |
1750 |
"responsive": { |
1749 |
"details": { |
1751 |
"details": { "type": 'column', "target": -1 } |
1750 |
"type": 'column', |
1752 |
} |
1751 |
"target": -1 |
|
|
1752 |
} |
1753 |
}, |
1754 |
aoColumnDefs: [ { |
1755 |
className:"dtr-control", |
1756 |
orderable: false, |
1757 |
targets: [-1], |
1758 |
} ], |
1759 |
}, columns_settings); |
1753 |
}, columns_settings); |
1760 |
|
1754 |
|
1761 |
KohaTable("#otherholdingst", { |
1755 |
KohaTable("#otherholdingst", { |
1762 |
dom: '<"clearfix">t', |
1756 |
dom: '<"clearfix">t', |
1763 |
"columnDefs": [ |
1757 |
"aoColumnDefs": [ |
1764 |
{ "targets": [ -1 ], "sortable": false, "searchable": false }, |
1758 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1765 |
], |
1759 |
], |
1766 |
"bKohaColumnsUseNames": true, |
1760 |
"bKohaColumnsUseNames": true, |
1767 |
"autoWidth": false |
1761 |
"autoWidth": false, |
|
|
1762 |
"responsive": { |
1763 |
"details": { "type": 'column', "target": -1 } |
1764 |
} |
1768 |
}, columns_settings); |
1765 |
}, columns_settings); |
1769 |
|
1766 |
|
1770 |
var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1767 |
var serial_column_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
Lines 1773-1781
Link Here
|
1773 |
dom: '<"clearfix">t', |
1770 |
dom: '<"clearfix">t', |
1774 |
"sorting": [[ 1, "desc" ]], |
1771 |
"sorting": [[ 1, "desc" ]], |
1775 |
"autoWidth": false, |
1772 |
"autoWidth": false, |
1776 |
"bKohaColumnsUseNames": true |
1773 |
"bKohaColumnsUseNames": true, |
|
|
1774 |
"responsive": { |
1775 |
"details": { "type": 'column', "target": -1 } |
1776 |
}, |
1777 |
"aoColumnDefs": [ |
1778 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1779 |
], |
1777 |
}, serial_column_settings); |
1780 |
}, serial_column_settings); |
1778 |
|
1781 |
|
|
|
1782 |
var dTables = $("#holdingst,#subscriptionst,#otherholdingst"); |
1783 |
$('a[data-toggle="tab"]').on('shown.bs.tab', function (event) { |
1784 |
dTables.DataTable().responsive.recalc(); |
1785 |
} ); |
1786 |
|
1779 |
[% IF ( TagsInputEnabled && loggedinusername ) %] |
1787 |
[% IF ( TagsInputEnabled && loggedinusername ) %] |
1780 |
$(".tag_add").click(function(){ |
1788 |
$(".tag_add").click(function(){ |
1781 |
var thisid = $(this).attr("id"); |
1789 |
var thisid = $(this).attr("id"); |