Lines 1976-1982
Link Here
|
1976 |
} else if (response.error_code === 'checked_out') { |
1976 |
} else if (response.error_code === 'checked_out') { |
1977 |
const button = $('<button type="button">') |
1977 |
const button = $('<button type="button">') |
1978 |
.addClass('btn btn-xs') |
1978 |
.addClass('btn btn-xs') |
1979 |
.text(__("Check in and add to bundle")) |
1979 |
.text(_("Check in and add to bundle")) |
1980 |
.on('click', function () { |
1980 |
.on('click', function () { |
1981 |
addToBundle(url, { external_id: barcode, force_checkin: true }); |
1981 |
addToBundle(url, { external_id: barcode, force_checkin: true }); |
1982 |
}); |
1982 |
}); |
Lines 1993-1999
Link Here
|
1993 |
} else if (response.error_code === 'reserved') { |
1993 |
} else if (response.error_code === 'reserved') { |
1994 |
const button = $('<button type="button">') |
1994 |
const button = $('<button type="button">') |
1995 |
.addClass('btn btn-xs') |
1995 |
.addClass('btn btn-xs') |
1996 |
.text(__("Ignore holds and add to bundle")) |
1996 |
.text(_("Ignore holds and add to bundle")) |
1997 |
.on('click', function () { |
1997 |
.on('click', function () { |
1998 |
addToBundle(url, { external_id: barcode, ignore_holds: true }); |
1998 |
addToBundle(url, { external_id: barcode, ignore_holds: true }); |
1999 |
}); |
1999 |
}); |