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