Added Emplyee Access missing names
This commit is contained in:
parent
de94e57845
commit
c84c6503b0
|
|
@ -612,7 +612,7 @@ const SalesQuotationForm = () => {
|
|||
};
|
||||
let response = await dispatch(getEmpAccess(data)).unwrap();
|
||||
let datas = response?.data?.data?.[0]?.EmpAccessDetails?.filter(
|
||||
(item) => item.ConfigName === 'Purchase Quotation'
|
||||
(item) => item.ConfigName === 'Sales Quotation'
|
||||
);
|
||||
setEmpData(datas?.[0]);
|
||||
};
|
||||
|
|
@ -1653,7 +1653,7 @@ const SalesQuotationForm = () => {
|
|||
|
||||
// Add these functions inside your component, before the return statement:
|
||||
// const handleEmailClick = () => {
|
||||
// const subject = encodeURIComponent('Purchase Quotation');
|
||||
// const subject = encodeURIComponent('Sales Quotation');
|
||||
// const body = encodeURIComponent('Please find attached the purchase quotation.');
|
||||
// window.open(`mailto:?subject=${subject}&body=${body}`);
|
||||
// };
|
||||
|
|
|
|||
Loading…
Reference in New Issue