added direct sale search

This commit is contained in:
unknown 2026-02-13 18:55:01 +05:30
parent ba013fc415
commit 7198c4845a
1 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ const MultipleSearch = ({ close }) => {
{ label: "Category Name", value: "CategoryName" },
{ label: "Sub Category Name", value: "SubCategoryName" },
{ label: "Brand Name", value: "BrandName" },
{ label: "Direct Sale", value: "ProdShortCode" },
];
const [selectedValues, setSelectedValues] = useState([]);
@ -50,7 +51,7 @@ const MultipleSearch = ({ close }) => {
const response = await dispatch(PostProductSearch(data)).unwrap();
console.log("Search Response:", response);
if (response?.data?.statusCode == 1) {
GetmultipleSearchData();
GetmultipleSearchData();
setSelectedValues("");
close(false);
}
@ -59,7 +60,7 @@ const MultipleSearch = ({ close }) => {
}
};
const GetmultipleSearchData = async () => {
const GetmultipleSearchData = async () => {
const data = {
AppId,
CompId,