add Missed Api call fn
This commit is contained in:
parent
b1c5327e0a
commit
14fb7e3088
|
|
@ -120,7 +120,7 @@ import { ApplicationPreferences } from '../../../../Features/BrachLogin/BranchLo
|
|||
import { useDateStore } from '../../../../Features/BookingScreen/BookingData/DateStore.js';
|
||||
import AddProduct from '../../../../Components/AddProduct/AddProduct.jsx';
|
||||
import { MdOutlineAddShoppingCart } from 'react-icons/md';
|
||||
import { bulkpostdata } from '../../../../Features/ProductPage/ProductPage.js';
|
||||
import { bulkpostdata, getUomData } from '../../../../Features/ProductPage/ProductPage.js';
|
||||
import ProductPriceChange from '../UtillComponents/ProductPriceChange.jsx';
|
||||
import ExpireConfirmModal from '../BookingFunctionality/ExpireConfirmModal.jsx';
|
||||
import { calculateOverAllQtyLimit } from '../../../../utils/calculations.js';
|
||||
|
|
@ -978,6 +978,7 @@ const BSItemCard = (props) => {
|
|||
await dispatch(
|
||||
getOfferinBooking({ AppId: AppId, CompId: CompId, BranchId: BranchId })
|
||||
).unwrap();
|
||||
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
|
@ -1055,11 +1056,17 @@ const BSItemCard = (props) => {
|
|||
if (AppId && CompId && BranchId) {
|
||||
fetchedit();
|
||||
GetmultipleSearchData();
|
||||
getUom()
|
||||
|
||||
}
|
||||
|
||||
// dispatch(changepreOrder(false)); Commented to Add Normal Produts After Adding the Combo Pack !!!!!! Dont Touch Without Shifayath Permission
|
||||
}, [AppId, CompId, BranchId]);
|
||||
|
||||
const getUom = () => {
|
||||
dispatch(getUomData());
|
||||
}
|
||||
|
||||
const GetmultipleSearchData = async () => {
|
||||
const data = {
|
||||
AppId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue