Merge branch 'hotfix/remove-qty-default-value-in-marketing' into 'development'

[HOTFIX/FE] Remove Qty Default Value in Marketing

See merge request mbugroup/lti-web-client!516
This commit is contained in:
Giovanni Gabriel Septriadi
2026-06-15 04:19:25 +00:00
@@ -251,11 +251,11 @@ const SalesOrderProductForm = ({
); );
setSelectedProductWarehouse(productWarehouse || null); setSelectedProductWarehouse(productWarehouse || null);
formik.setFieldValue('product_warehouse_data', productWarehouse || null); formik.setFieldValue('product_warehouse_data', productWarehouse || null);
formik.setFieldValue('qty', productWarehouse?.quantity);
if (productWarehouse?.quantity) { // comment default value for quantity by request on 15 June 2026
handleFieldChange('qty', productWarehouse?.quantity); // if (productWarehouse?.quantity) {
} // handleFieldChange('qty', productWarehouse?.quantity);
// }
formik.setFieldValue('uom', productWarehouse?.product?.uom?.name || ''); formik.setFieldValue('uom', productWarehouse?.product?.uom?.name || '');
if ( if (