| Lines 721-728
          
      
      
        Link Here | 
        
          | 721 |     [% END %] | 721 |     [% END %] | 
        
          | 722 |     [% Asset.js("js/holds.js") | $raw %] | 722 |     [% Asset.js("js/holds.js") | $raw %] | 
        
          | 723 |     [% INCLUDE 'calendar.inc' %] | 723 |     [% INCLUDE 'calendar.inc' %] | 
            
              | 724 |     [% Asset.js("js/bookings.js") | $raw %] |  |  | 
        
          | 725 |     [% Asset.js("js/cancel_booking_modal.js") | $raw %] | 724 |     [% Asset.js("js/cancel_booking_modal.js") | $raw %] | 
            
              |  |  | 725 |     [% INCLUDE 'js-biblio-format.inc' %] | 
        
          | 726 |     [% INCLUDE 'str/members-menu.inc' %] | 726 |     [% INCLUDE 'str/members-menu.inc' %] | 
        
          | 727 |     [% Asset.js("js/members-menu.js") | $raw %] | 727 |     [% Asset.js("js/members-menu.js") | $raw %] | 
        
          | 728 |     [% Asset.js("js/recalls.js") | $raw %] | 728 |     [% Asset.js("js/recalls.js") | $raw %] | 
  
    | Lines 778-784
          
      
      
        Link Here | 
        
          | 778 |                             "searchable": true, | 778 |                             "searchable": true, | 
        
          | 779 |                             "orderable": true, | 779 |                             "orderable": true, | 
        
          | 780 |                             "render": function(data,type,row,meta) { | 780 |                             "render": function(data,type,row,meta) { | 
          
            
              | 781 |                                 return row.biblio.title; | 781 |                                 return $biblio_to_html(row.biblio, { | 
            
              |  |  | 782 |                                     link: 'bookings' | 
            
              | 783 |                                 }); | 
        
          | 782 |                             } | 784 |                             } | 
        
          | 783 |                         }, | 785 |                         }, | 
        
          | 784 |                         { | 786 |                         { | 
  
    | Lines 789-795
          
      
      
        Link Here | 
        
          | 789 |                             "defaultContent": "Any item", | 791 |                             "defaultContent": "Any item", | 
        
          | 790 |                             "render": function(data,type,row,meta) { | 792 |                             "render": function(data,type,row,meta) { | 
        
          | 791 |                                 if ( row.item ) { | 793 |                                 if ( row.item ) { | 
          
            
              | 792 |                                     return row.item.external_id; | 794 |                                     return row.item.external_id + " (" + row.booking_id + ")"; | 
        
          | 793 |                                 } else { | 795 |                                 } else { | 
        
          | 794 |                                     return null; | 796 |                                     return null; | 
        
          | 795 |                                 } | 797 |                                 } | 
  
    | Lines 816-825
          
      
      
        Link Here | 
        
          | 816 |                         { | 818 |                         { | 
        
          | 817 |                             "data": "", | 819 |                             "data": "", | 
        
          | 818 |                             "title": "Actions", | 820 |                             "title": "Actions", | 
            
              |  |  | 821 |                             "class": "actions", | 
        
          | 819 |                             "searchable": false, | 822 |                             "searchable": false, | 
        
          | 820 |                             "orderable": false, | 823 |                             "orderable": false, | 
        
          | 821 |                             "render": function(data, type, row, meta) { | 824 |                             "render": function(data, type, row, meta) { | 
          
            
              | 822 |                                 var result = '<button type="button" class="btn btn-default btn-xs cancel-action" data-toggle="modal" data-target="#cancelBookingModal" data-booking="'+row.booking_id+'"><i class="fa fa-trash" aria-hidden="true"></i> '+_("Cancel")+'</button>'; | 825 |                                 let result = ""; | 
            
              |  |  | 826 |                                 [% IF CAN_user_circulate_manage_bookings %] | 
            
              | 827 |                                 result += '<button type="button" class="btn btn-default btn-xs cancel-action" data-toggle="modal" data-target="#cancelBookingModal" data-booking="'+row.booking_id+'"><i class="fa fa-trash" aria-hidden="true"></i> '+_("Cancel")+'</button>'; | 
            
              | 828 |                                 [% END %] | 
        
          | 823 |                                 return result; | 829 |                                 return result; | 
        
          | 824 |                             } | 830 |                             } | 
        
          | 825 |                         }] | 831 |                         }] | 
            
              | 826 | -  |  |  |