From 641524067bfa8bb97634f7fa147fddb17252c8e3 Mon Sep 17 00:00:00 2001 From: karthikalakshmi Date: Mon, 9 Feb 2026 17:20:57 +0530 Subject: [PATCH] Fix #114 Remove Condition in price change --- .../BSBillingEditQuantity.jsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Pages/BookingScreen/Components/BSBillingTables/BSBillingEditQuantity/BSBillingEditQuantity.jsx b/src/Pages/BookingScreen/Components/BSBillingTables/BSBillingEditQuantity/BSBillingEditQuantity.jsx index af7eb6a..4a3942d 100644 --- a/src/Pages/BookingScreen/Components/BSBillingTables/BSBillingEditQuantity/BSBillingEditQuantity.jsx +++ b/src/Pages/BookingScreen/Components/BSBillingTables/BSBillingEditQuantity/BSBillingEditQuantity.jsx @@ -3393,19 +3393,19 @@ const [RadioBtnSelection, setRadioBtnSelection] = useState(() => { const enteredDiscount = parseFloat(data?.target.value); if (limit === null || limit === undefined || limit === 0) { - if ( - parseFloat(enteredDiscount) < parseFloat(sellingPrice) || - parseFloat(enteredDiscount) === parseFloat(sellingPrice) - ) { + // if ( + // parseFloat(enteredDiscount) < parseFloat(sellingPrice) || + // parseFloat(enteredDiscount) === parseFloat(sellingPrice) + // ) { setEditedPrice(enteredDiscount); setDisableSubmitButton(true); - } else { - setMessageType('error'); - setMessageData('Please Give less than value for sell price'); - setDisableSubmitButton(false); - setEditedPrice(0); - formRef.current?.resetFields(); - } + // } else { + // setMessageType('error'); + // setMessageData('Please Give less than value for sell price'); + // setDisableSubmitButton(false); + // setEditedPrice(0); + // formRef.current?.resetFields(); + // } return; }