Merge branch 'dev' into 'staging'
кнопкагенерации актов See merge request frontend/marketplace!196
This commit is contained in:
commit
560940b166
@ -52,7 +52,8 @@ export default function AccordionWrapper2({ tariff, price, last, first, createdA
|
||||
async function sendBillByEmail(tariffId: string) {
|
||||
try {
|
||||
await makeRequest({
|
||||
url: process.env.REACT_APP_DOMAIN + `/customer/sendReport/${tariffId}`,
|
||||
url: process.env.REACT_APP_DOMAIN + `/customer/sendReport`,
|
||||
body: {id: tariffId},
|
||||
method: "POST",
|
||||
});
|
||||
enqueueSnackbar("Акт будет отправлен на почту, указанную при регистрации");
|
||||
@ -184,7 +185,7 @@ export default function AccordionWrapper2({ tariff, price, last, first, createdA
|
||||
</Box>
|
||||
{!isMobile &&
|
||||
<>
|
||||
{/* <IconButton
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
sendBillByEmail(tariff._id);
|
||||
@ -205,7 +206,7 @@ export default function AccordionWrapper2({ tariff, price, last, first, createdA
|
||||
}}
|
||||
>
|
||||
<ForwardToInboxOutlinedIcon fontSize={"medium"} sx={{ opacity: 0.7 }}/>
|
||||
</IconButton> */}
|
||||
</IconButton>
|
||||
<IconButton
|
||||
title="Добавить в корзину тариф"
|
||||
onClick={(e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user