Index: src/stock-adjustment-mobile/add-products-page/add-product-page.jsx =================================================================== diff -u -N -rc1d2668dd21bf733d1acf2f95a690a61473e36f0 -r63e7c1be5862dfb93ab40ede249237b50d2c08f4 --- src/stock-adjustment-mobile/add-products-page/add-product-page.jsx (.../add-product-page.jsx) (revision c1d2668dd21bf733d1acf2f95a690a61473e36f0) +++ src/stock-adjustment-mobile/add-products-page/add-product-page.jsx (.../add-product-page.jsx) (revision 63e7c1be5862dfb93ab40ede249237b50d2c08f4) @@ -115,13 +115,10 @@ values.occurredDate = formatDateISO(new Date()); values.reason = values.items[0].reason; values.lot = values.items[0]?.lot ?? null; - //values.displayLotMessage = !values.lot ? "No lot defined" : values.lot.lotCode; values.displayLotMessage = values?.lot?.lotCode ?? "No lot defined"; values.quantity = values.items[0].quantity; - //get orderable and stockCard const productInformation = values.items[0].product; - //const lotCode = !values.lot ? null : values.lot.lotCode; const lotCode = values?.lot?.lotCode ?? null; productInformation.forEach(prod => { const productLotCode = prod?.lot?.lotCode ?? null;