Lines 1984-1990
Link Here
|
1984 |
} else if (response.error_code === 'checked_out') { |
1984 |
} else if (response.error_code === 'checked_out') { |
1985 |
const button = $('<button type="button">') |
1985 |
const button = $('<button type="button">') |
1986 |
.addClass('btn btn-xs') |
1986 |
.addClass('btn btn-xs') |
1987 |
.text(__("Check in and add to bundle")) |
1987 |
.text(_("Check in and add to bundle")) |
1988 |
.on('click', function () { |
1988 |
.on('click', function () { |
1989 |
addToBundle(url, { external_id: barcode, force_checkin: true }); |
1989 |
addToBundle(url, { external_id: barcode, force_checkin: true }); |
1990 |
}); |
1990 |
}); |
Lines 2001-2007
Link Here
|
2001 |
} else if (response.error_code === 'reserved') { |
2001 |
} else if (response.error_code === 'reserved') { |
2002 |
const button = $('<button type="button">') |
2002 |
const button = $('<button type="button">') |
2003 |
.addClass('btn btn-xs') |
2003 |
.addClass('btn btn-xs') |
2004 |
.text(__("Ignore holds and add to bundle")) |
2004 |
.text(_("Ignore holds and add to bundle")) |
2005 |
.on('click', function () { |
2005 |
.on('click', function () { |
2006 |
addToBundle(url, { external_id: barcode, ignore_holds: true }); |
2006 |
addToBundle(url, { external_id: barcode, ignore_holds: true }); |
2007 |
}); |
2007 |
}); |