diff --git a/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl b/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl index 65440b81d6..9e6e45e0a8 100644 --- a/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl +++ b/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl @@ -24,7 +24,7 @@ under the License. for (var x = 0; x <= rowCount; x++) { var quantityAcceptedInput = document.getElementById('quantityAccepted_o_' + x); var quantityInput = document.getElementById('quantity_o_' + x); - if (quantityAcceptedInput?? && quantityInput??) { + if (quantityAcceptedInput != null && quantityInput != null) { quantityInput.value = quantityAcceptedInput.value; } }