Added Emplyee Access missing names

This commit is contained in:
Srinath 2026-01-28 19:31:14 +05:30
parent de94e57845
commit c84c6503b0
1 changed files with 2 additions and 2 deletions

View File

@ -612,7 +612,7 @@ const SalesQuotationForm = () => {
}; };
let response = await dispatch(getEmpAccess(data)).unwrap(); let response = await dispatch(getEmpAccess(data)).unwrap();
let datas = response?.data?.data?.[0]?.EmpAccessDetails?.filter( let datas = response?.data?.data?.[0]?.EmpAccessDetails?.filter(
(item) => item.ConfigName === 'Purchase Quotation' (item) => item.ConfigName === 'Sales Quotation'
); );
setEmpData(datas?.[0]); setEmpData(datas?.[0]);
}; };
@ -1653,7 +1653,7 @@ const SalesQuotationForm = () => {
// Add these functions inside your component, before the return statement: // Add these functions inside your component, before the return statement:
// const handleEmailClick = () => { // const handleEmailClick = () => {
// const subject = encodeURIComponent('Purchase Quotation'); // const subject = encodeURIComponent('Sales Quotation');
// const body = encodeURIComponent('Please find attached the purchase quotation.'); // const body = encodeURIComponent('Please find attached the purchase quotation.');
// window.open(`mailto:?subject=${subject}&body=${body}`); // window.open(`mailto:?subject=${subject}&body=${body}`);
// }; // };