shareneus 1.6.94 → 1.6.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -201,12 +201,15 @@ function formatExpiryDateValue(value) {
|
|
|
201
201
|
function shouldSkipFixedTo(header) {
|
|
202
202
|
var _a;
|
|
203
203
|
const text = String((_a = header === null || header === void 0 ? void 0 : header.text) !== null && _a !== void 0 ? _a : '').trim().toUpperCase();
|
|
204
|
-
if (text === 'HSN/SAC' || text === 'BN' || text === 'BNO') {
|
|
204
|
+
if (text === 'HSN/SAC' || text === 'BN' || text === 'BNO' || text === 'BATCH' || text === 'BATCH NO' || text === 'BATCH NO.') {
|
|
205
205
|
return true;
|
|
206
206
|
}
|
|
207
207
|
const dbFields = Array.isArray(header === null || header === void 0 ? void 0 : header.dbFields) ? header.dbFields : [];
|
|
208
208
|
return dbFields.some((field) => {
|
|
209
209
|
const normalized = String(field !== null && field !== void 0 ? field : '').trim().toUpperCase();
|
|
210
|
-
return normalized === '
|
|
210
|
+
return normalized === 'BNO'
|
|
211
|
+
|| normalized.endsWith('.BNO')
|
|
212
|
+
|| normalized.endsWith('.BN')
|
|
213
|
+
|| normalized.includes('BATCH');
|
|
211
214
|
});
|
|
212
215
|
}
|