Lines 1860-1865
Link Here
|
1860 |
return false; |
1860 |
return false; |
1861 |
}); |
1861 |
}); |
1862 |
|
1862 |
|
|
|
1863 |
[% IF (!CAN_user_superlibrarian) %] |
1864 |
var user_branch = "[% Branches.GetLoggedInBranchcode %]"; |
1865 |
if(user_branch !== undefined && user_branch !== ""){ |
1866 |
$('#patron_holds_table tbody tr').each(function() { |
1867 |
var link = $(this).find('a[href*="member"]'); |
1868 |
var rankRequest = $(this).find("select[name='rank-request']"); |
1869 |
if (!link.length){ |
1870 |
$(this).find('.cancel-hold, .fa-trash').addClass('disabled_trash'); |
1871 |
} |
1872 |
$(this).find('.select_hold, .rank-request, td a[data-op="cud-move"], .flatpickr, .toggle-suspend, .clear_date, [name*="change_hold_type_"]').addClass('disabled').attr('disabled', 'disabled'); |
1873 |
$('.select_hold_all, .hold-arrow').addClass('disabled').attr('disabled', 'disabled'); |
1874 |
$('.suspend-hold').prop('disabled', true); |
1875 |
}); |
1876 |
} |
1877 |
[% END %] |
1878 |
|
1863 |
[% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %] |
1879 |
[% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %] |
1864 |
[% IF ( PatronAutoComplete ) %] |
1880 |
[% IF ( PatronAutoComplete ) %] |
1865 |
patron_autocomplete($(".search_patron_filter"), { 'link-to': 'reserve', 'url-params': '[% url_biblio_params | url %]' }); |
1881 |
patron_autocomplete($(".search_patron_filter"), { 'link-to': 'reserve', 'url-params': '[% url_biblio_params | url %]' }); |
1866 |
- |
|
|