add singlePc field
This commit is contained in:
parent
f1e8442872
commit
8124100aba
|
|
@ -1176,6 +1176,7 @@ const BSBillingTable3 = () => {
|
||||||
CompleteRemove: true,
|
CompleteRemove: true,
|
||||||
InwardDtlId: isPaidproduct?.InwardDtlId,
|
InwardDtlId: isPaidproduct?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
|
OrderRate: isPaidproduct?.OrderRate,
|
||||||
Offer: 0,
|
Offer: 0,
|
||||||
});
|
});
|
||||||
} else if (isPaidproduct?.OrderQty > item?.OrderQty) {
|
} else if (isPaidproduct?.OrderQty > item?.OrderQty) {
|
||||||
|
|
@ -1350,6 +1351,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate,
|
||||||
});
|
});
|
||||||
await ChangeFreeprodlistFn({
|
await ChangeFreeprodlistFn({
|
||||||
OverAllFreeQty: isCheckFreeProduct?.OverAllFreeQty,
|
OverAllFreeQty: isCheckFreeProduct?.OverAllFreeQty,
|
||||||
|
|
@ -1429,6 +1431,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate,
|
||||||
});
|
});
|
||||||
await ChangeFreeprodlistFn({
|
await ChangeFreeprodlistFn({
|
||||||
OverAllFreeQty: isCheckFreeProduct?.OverAllFreeQty,
|
OverAllFreeQty: isCheckFreeProduct?.OverAllFreeQty,
|
||||||
|
|
@ -1462,6 +1465,8 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate,
|
||||||
|
|
||||||
});
|
});
|
||||||
await ChangeOfferAppliedProdsFn({
|
await ChangeOfferAppliedProdsFn({
|
||||||
inwardDtlId: item?.InwardDtlId,
|
inwardDtlId: item?.InwardDtlId,
|
||||||
|
|
@ -1493,6 +1498,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: isPaidProductAvailableInCart?.InwardDtlId,
|
InwardDtlId: isPaidProductAvailableInCart?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: 0,
|
Offer: 0,
|
||||||
|
OrderRate: isPaidProductAvailableInCart?.OrderRate,
|
||||||
});
|
});
|
||||||
} else if (
|
} else if (
|
||||||
isPaidProductAvailableInCart?.OrderQty > item?.OrderQty
|
isPaidProductAvailableInCart?.OrderQty > item?.OrderQty
|
||||||
|
|
@ -1576,6 +1582,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate,
|
||||||
});
|
});
|
||||||
await ChangeFreeprodlistFn({
|
await ChangeFreeprodlistFn({
|
||||||
OverAllFreeQty: freeProdList?.OverAllFreeQty,
|
OverAllFreeQty: freeProdList?.OverAllFreeQty,
|
||||||
|
|
@ -1602,6 +1609,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate,
|
||||||
});
|
});
|
||||||
await ChangeFreeprodlistFn({
|
await ChangeFreeprodlistFn({
|
||||||
OverAllFreeQty: freeProdList?.OverAllFreeQty,
|
OverAllFreeQty: freeProdList?.OverAllFreeQty,
|
||||||
|
|
@ -1649,7 +1657,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: null,
|
BuyInwardDtlId: null,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
OrderRate: item?.OrderRate,
|
OrderRate: item?.OrderRate
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const isCheck = GlobalOfferAppliedProductsData?.find(
|
const isCheck = GlobalOfferAppliedProductsData?.find(
|
||||||
|
|
@ -1951,6 +1959,7 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: item?.InwardDtlId,
|
BuyInwardDtlId: item?.InwardDtlId,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate
|
||||||
});
|
});
|
||||||
await ChangeFreeprodlistFn({
|
await ChangeFreeprodlistFn({
|
||||||
OverAllFreeQty: FreeProd?.OverAllFreeQty - item?.OrderQty,
|
OverAllFreeQty: FreeProd?.OverAllFreeQty - item?.OrderQty,
|
||||||
|
|
@ -1969,6 +1978,8 @@ const BSBillingTable3 = () => {
|
||||||
InwardDtlId: item?.InwardDtlId,
|
InwardDtlId: item?.InwardDtlId,
|
||||||
BuyInwardDtlId: item?.InwardDtlId,
|
BuyInwardDtlId: item?.InwardDtlId,
|
||||||
Offer: item?.Offer,
|
Offer: item?.Offer,
|
||||||
|
OrderRate: item?.OrderRate,
|
||||||
|
|
||||||
});
|
});
|
||||||
await ChangeFreeprodlistFn({
|
await ChangeFreeprodlistFn({
|
||||||
OverAllFreeQty: item?.OrderQty,
|
OverAllFreeQty: item?.OrderQty,
|
||||||
|
|
@ -2394,8 +2405,7 @@ const BSBillingTable3 = () => {
|
||||||
{OldtableDataTakeAway?.map((item, index) => (
|
{OldtableDataTakeAway?.map((item, index) => (
|
||||||
<tr
|
<tr
|
||||||
key={index}
|
key={index}
|
||||||
className={`${
|
className={`${item?.SalesId && OrderType !== 'Hold'
|
||||||
item?.SalesId && OrderType !== 'Hold'
|
|
||||||
? 'BSBill-Table3-content-Disabled'
|
? 'BSBill-Table3-content-Disabled'
|
||||||
: 'BSBill-Table3-content'
|
: 'BSBill-Table3-content'
|
||||||
}
|
}
|
||||||
|
|
@ -2673,8 +2683,7 @@ const BSBillingTable3 = () => {
|
||||||
{OldtableDataDinein?.map((item, index) => (
|
{OldtableDataDinein?.map((item, index) => (
|
||||||
<tr
|
<tr
|
||||||
key={OldtableDataTakeAway?.length + index}
|
key={OldtableDataTakeAway?.length + index}
|
||||||
className={`${
|
className={`${item?.SalesId
|
||||||
item?.SalesId
|
|
||||||
? 'BSBill-Table3-content-Disabled'
|
? 'BSBill-Table3-content-Disabled'
|
||||||
: 'BSBill-Table3-content'
|
: 'BSBill-Table3-content'
|
||||||
}
|
}
|
||||||
|
|
@ -2956,8 +2965,7 @@ const BSBillingTable3 = () => {
|
||||||
OldtableDataTakeAway?.length +
|
OldtableDataTakeAway?.length +
|
||||||
index
|
index
|
||||||
}
|
}
|
||||||
className={`${
|
className={`${BookingType === 'Dine In' && item?.SalesId
|
||||||
BookingType === 'Dine In' && item?.SalesId
|
|
||||||
? 'BSBill-Table3-content-Disabled'
|
? 'BSBill-Table3-content-Disabled'
|
||||||
: 'BSBill-Table3-content'
|
: 'BSBill-Table3-content'
|
||||||
}
|
}
|
||||||
|
|
@ -3282,8 +3290,7 @@ const BSBillingTable3 = () => {
|
||||||
tableDataTakeAway?.length +
|
tableDataTakeAway?.length +
|
||||||
index
|
index
|
||||||
}
|
}
|
||||||
className={`${
|
className={`${BookingType === 'Dine In' && item?.SalesId
|
||||||
BookingType === 'Dine In' && item?.SalesId
|
|
||||||
? 'BSBill-Table3-content-Disabled'
|
? 'BSBill-Table3-content-Disabled'
|
||||||
: 'BSBill-Table3-content'
|
: 'BSBill-Table3-content'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -819,12 +819,15 @@ function BSCategoryHorizontal(props) {
|
||||||
postData['Size'] = values.Size;
|
postData['Size'] = values.Size;
|
||||||
postData['MRP'] = values.MRP;
|
postData['MRP'] = values.MRP;
|
||||||
postData['TaxId'] = values.TaxId;
|
postData['TaxId'] = values.TaxId;
|
||||||
|
postData['SinglePc'] = 'N';
|
||||||
if (EditState) {
|
if (EditState) {
|
||||||
const updatedData = {
|
const updatedData = {
|
||||||
...EditState,
|
...EditState,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
SellPrice: values.MRP,
|
SellPrice: values.MRP,
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
|
|
@ -838,6 +841,7 @@ function BSCategoryHorizontal(props) {
|
||||||
...othersdata,
|
...othersdata,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -674,12 +674,14 @@ function BSCategoryVertical(props) {
|
||||||
postData['Size'] = values.Size;
|
postData['Size'] = values.Size;
|
||||||
postData['MRP'] = values.MRP;
|
postData['MRP'] = values.MRP;
|
||||||
postData['TaxId'] = values.TaxId;
|
postData['TaxId'] = values.TaxId;
|
||||||
|
postData['SinglePc'] = 'N';
|
||||||
if (EditState) {
|
if (EditState) {
|
||||||
const updatedData = {
|
const updatedData = {
|
||||||
...EditState,
|
...EditState,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
SellPrice: values.MRP,
|
SellPrice: values.MRP,
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
setEditState();
|
setEditState();
|
||||||
|
|
@ -692,6 +694,7 @@ function BSCategoryVertical(props) {
|
||||||
...othersdata,
|
...othersdata,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -684,12 +684,14 @@ function BSOtherServicesHorizontalcat(props) {
|
||||||
postData['Size'] = values.Size;
|
postData['Size'] = values.Size;
|
||||||
postData['MRP'] = values.MRP;
|
postData['MRP'] = values.MRP;
|
||||||
postData['TaxId'] = values.TaxId;
|
postData['TaxId'] = values.TaxId;
|
||||||
|
postData['SinglePc'] = 'N';
|
||||||
if (EditState) {
|
if (EditState) {
|
||||||
const updatedData = {
|
const updatedData = {
|
||||||
...EditState,
|
...EditState,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
SellPrice: values.MRP,
|
SellPrice: values.MRP,
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
|
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
|
|
@ -703,6 +705,7 @@ function BSOtherServicesHorizontalcat(props) {
|
||||||
...othersdata,
|
...othersdata,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -585,12 +585,14 @@ function BSOtherServicesVerticalcat(props) {
|
||||||
postData['Size'] = values.Size;
|
postData['Size'] = values.Size;
|
||||||
postData['MRP'] = values.MRP;
|
postData['MRP'] = values.MRP;
|
||||||
postData['TaxId'] = values.TaxId;
|
postData['TaxId'] = values.TaxId;
|
||||||
|
postData['SinglePc'] = 'N';
|
||||||
if (EditState) {
|
if (EditState) {
|
||||||
const updatedData = {
|
const updatedData = {
|
||||||
...EditState,
|
...EditState,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
SellPrice: values.MRP,
|
SellPrice: values.MRP,
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
setEditState();
|
setEditState();
|
||||||
|
|
@ -603,6 +605,7 @@ function BSOtherServicesVerticalcat(props) {
|
||||||
...othersdata,
|
...othersdata,
|
||||||
Quantity: parseInt(values.Quantity),
|
Quantity: parseInt(values.Quantity),
|
||||||
OtherProduct: 'Others',
|
OtherProduct: 'Others',
|
||||||
|
SinglePc: 'N',
|
||||||
};
|
};
|
||||||
dispatch(changeothersdata(updatedData));
|
dispatch(changeothersdata(updatedData));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1296,6 +1296,7 @@ const BSItemCard = (props) => {
|
||||||
OtherProduct: otherscarddata?.OtherProduct,
|
OtherProduct: otherscarddata?.OtherProduct,
|
||||||
// 'ProdVariantName': otherscarddata?.ProdVariantName,
|
// 'ProdVariantName': otherscarddata?.ProdVariantName,
|
||||||
BookingTypeName: BookingType,
|
BookingTypeName: BookingType,
|
||||||
|
SinglePc: otherscarddata?.SinglePc,
|
||||||
CounterName: '', //sri
|
CounterName: '', //sri
|
||||||
};
|
};
|
||||||
AddOrderDetails(data);
|
AddOrderDetails(data);
|
||||||
|
|
|
||||||
|
|
@ -1365,6 +1365,7 @@ const BsBookingitemCard = (props) => {
|
||||||
OtherProduct: otherscarddata?.OtherProduct,
|
OtherProduct: otherscarddata?.OtherProduct,
|
||||||
// 'ProdVariantName': otherscarddata?.ProdVariantName,
|
// 'ProdVariantName': otherscarddata?.ProdVariantName,
|
||||||
BookingTypeName: BookingType,
|
BookingTypeName: BookingType,
|
||||||
|
SinglePc: otherscarddata?.SinglePc,
|
||||||
CounterName: '', //sri
|
CounterName: '', //sri
|
||||||
};
|
};
|
||||||
AddOrderDetails(data);
|
AddOrderDetails(data);
|
||||||
|
|
@ -2309,7 +2310,7 @@ const BsBookingitemCard = (props) => {
|
||||||
parseInt(totalSelectedProductQty || 0) +
|
parseInt(totalSelectedProductQty || 0) +
|
||||||
parseInt(reorderComboConsumed || 0);
|
parseInt(reorderComboConsumed || 0);
|
||||||
}
|
}
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let getCurrentProdDtl = orderDetails?.filter(
|
let getCurrentProdDtl = orderDetails?.filter(
|
||||||
(a) => a?.ProdName === ProdName
|
(a) => a?.ProdName === ProdName
|
||||||
);
|
);
|
||||||
|
|
@ -2510,7 +2511,7 @@ const BsBookingitemCard = (props) => {
|
||||||
parseInt(totalSelectedProductQty || 0) +
|
parseInt(totalSelectedProductQty || 0) +
|
||||||
parseInt(reorderComboConsumed || 0);
|
parseInt(reorderComboConsumed || 0);
|
||||||
}
|
}
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let getCurrentProdDtl = orderDetails?.filter((a) => a?.ProdId === ProdId);
|
let getCurrentProdDtl = orderDetails?.filter((a) => a?.ProdId === ProdId);
|
||||||
let totalOrderQty = getCurrentProdDtl?.reduce((accumulator, card) => {
|
let totalOrderQty = getCurrentProdDtl?.reduce((accumulator, card) => {
|
||||||
return (
|
return (
|
||||||
|
|
@ -2546,7 +2547,7 @@ const BsBookingitemCard = (props) => {
|
||||||
}, 0);
|
}, 0);
|
||||||
totalOrderQty =
|
totalOrderQty =
|
||||||
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
||||||
if (
|
if (
|
||||||
parseInt(ItemQuantity) >
|
parseInt(ItemQuantity) >
|
||||||
|
|
@ -2632,7 +2633,7 @@ const BsBookingitemCard = (props) => {
|
||||||
parseInt(totalSelectedProductQty || 0) +
|
parseInt(totalSelectedProductQty || 0) +
|
||||||
parseInt(reorderComboConsumed || 0);
|
parseInt(reorderComboConsumed || 0);
|
||||||
}
|
}
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let getCurrentProdDtl = orderDetails?.filter((a) => a?.ProdId === ProdId);
|
let getCurrentProdDtl = orderDetails?.filter((a) => a?.ProdId === ProdId);
|
||||||
let totalOrderQty = getCurrentProdDtl?.reduce((accumulator, card) => {
|
let totalOrderQty = getCurrentProdDtl?.reduce((accumulator, card) => {
|
||||||
return (
|
return (
|
||||||
|
|
@ -2671,7 +2672,7 @@ const BsBookingitemCard = (props) => {
|
||||||
}, 0);
|
}, 0);
|
||||||
totalOrderQty =
|
totalOrderQty =
|
||||||
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
||||||
if (
|
if (
|
||||||
parseInt(ItemQuantity) >
|
parseInt(ItemQuantity) >
|
||||||
|
|
@ -2763,7 +2764,7 @@ const BsBookingitemCard = (props) => {
|
||||||
parseInt(totalSelectedProductQty || 0) +
|
parseInt(totalSelectedProductQty || 0) +
|
||||||
parseInt(reorderComboConsumed || 0);
|
parseInt(reorderComboConsumed || 0);
|
||||||
}
|
}
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let getCurrentProdDtl = orderDetails?.filter(
|
let getCurrentProdDtl = orderDetails?.filter(
|
||||||
(a) => a?.ProdId === ProdId && a?.InwardDtlId === InwardDtlId
|
(a) => a?.ProdId === ProdId && a?.InwardDtlId === InwardDtlId
|
||||||
);
|
);
|
||||||
|
|
@ -2806,7 +2807,7 @@ const BsBookingitemCard = (props) => {
|
||||||
}, 0);
|
}, 0);
|
||||||
totalOrderQty =
|
totalOrderQty =
|
||||||
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
|
|
||||||
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
||||||
if (
|
if (
|
||||||
|
|
@ -2890,7 +2891,7 @@ const BsBookingitemCard = (props) => {
|
||||||
parseInt(totalSelectedProductQty || 0) +
|
parseInt(totalSelectedProductQty || 0) +
|
||||||
parseInt(reorderComboConsumed || 0);
|
parseInt(reorderComboConsumed || 0);
|
||||||
}
|
}
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
let getCurrentProdDtl = orderDetails?.filter(
|
let getCurrentProdDtl = orderDetails?.filter(
|
||||||
(a) => a?.ProdId === ProdId && a?.InwardDtlId === InwardDtlId
|
(a) => a?.ProdId === ProdId && a?.InwardDtlId === InwardDtlId
|
||||||
);
|
);
|
||||||
|
|
@ -2937,7 +2938,7 @@ const BsBookingitemCard = (props) => {
|
||||||
}, 0);
|
}, 0);
|
||||||
totalOrderQty =
|
totalOrderQty =
|
||||||
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
parseInt(totalOrderQty || 0) + parseInt(comboConsumed || 0);
|
||||||
} catch (_) {}
|
} catch (_) { }
|
||||||
|
|
||||||
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
let OverallProdQty = totalOrderQty - totalSelectedProductQty;
|
||||||
if (
|
if (
|
||||||
|
|
@ -4874,7 +4875,7 @@ const BsBookingitemCard = (props) => {
|
||||||
className="BSItemCard-itemName"
|
className="BSItemCard-itemName"
|
||||||
>
|
>
|
||||||
{item?.ProdName}
|
{item?.ProdName}
|
||||||
{}
|
{ }
|
||||||
</p>
|
</p>
|
||||||
{cardFunction?.Price && (
|
{cardFunction?.Price && (
|
||||||
<p
|
<p
|
||||||
|
|
@ -6073,8 +6074,7 @@ const BsBookingitemCard = (props) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
key={idx}
|
key={idx}
|
||||||
className={`slotTimingSelect ${
|
className={`slotTimingSelect ${isBooked
|
||||||
isBooked
|
|
||||||
? 'booked'
|
? 'booked'
|
||||||
: isAlreadyAdded
|
: isAlreadyAdded
|
||||||
? 'incart'
|
? 'incart'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue