Lines 1332-1338
Link Here
|
1332 |
const barcodes = ev.target.value.split('\n').map(function(s) { return s.trim() }); |
1332 |
const barcodes = ev.target.value.split('\n').map(function(s) { return s.trim() }); |
1333 |
const expected = []; |
1333 |
const expected = []; |
1334 |
let found = 0; |
1334 |
let found = 0; |
1335 |
$('#items-bundle-contents-table tr').each(function () { |
1335 |
$('#items-bundle-contents-table tbody > tr').each(function () { |
1336 |
const barcode = this.getAttribute('data-barcode'); |
1336 |
const barcode = this.getAttribute('data-barcode'); |
1337 |
expected.push(barcode); |
1337 |
expected.push(barcode); |
1338 |
if (barcodes.includes(barcode)) { |
1338 |
if (barcodes.includes(barcode)) { |
1339 |
- |
|
|