Lines 1540-1546
Link Here
|
1540 |
const barcodes = ev.target.value.split('\n').map(function(s) { return s.trim() }); |
1540 |
const barcodes = ev.target.value.split('\n').map(function(s) { return s.trim() }); |
1541 |
const expected = []; |
1541 |
const expected = []; |
1542 |
let found = 0; |
1542 |
let found = 0; |
1543 |
$('#items-bundle-contents-table tr').each(function () { |
1543 |
$('#items-bundle-contents-table tbody > tr').each(function () { |
1544 |
const barcode = this.getAttribute('data-barcode'); |
1544 |
const barcode = this.getAttribute('data-barcode'); |
1545 |
expected.push(barcode); |
1545 |
expected.push(barcode); |
1546 |
if (barcodes.includes(barcode)) { |
1546 |
if (barcodes.includes(barcode)) { |
1547 |
- |
|
|