АТ
Size: a a a
V
АТ
path/to/${doc}
}path/to/${doc}.extension
}http://ion-service.ssp-soft.com/api/orders/${ordersCard.id}/${doc}
}V
path/to/${doc}
}path/to/${doc}.extension
}http://ion-service.ssp-soft.com/api/orders/${ordersCard.id}/${doc}
}АТ
V
АТ
V
АТ
АТ
DS
<a
onClick={() => {
fetch('https://stagingapi.chief.services/sales/emailsignups/excel')
.then((response) => {
if ((response.ok === true) & (response.status === 200)) {
return response.blob()
}
})
.then((data) => {
const url = window.URL.createObjectURL(data)
const link = document.createElement('a')
link.href = url
link.setAttribute('download', 'organizations_export.xls')
document.body.append(link)
link.click()
link.remove()
})
}}
>
some text
</a>
АТ
<a
onClick={() => {
fetch('https://stagingapi.chief.services/sales/emailsignups/excel')
.then((response) => {
if ((response.ok === true) & (response.status === 200)) {
return response.blob()
}
})
.then((data) => {
const url = window.URL.createObjectURL(data)
const link = document.createElement('a')
link.href = url
link.setAttribute('download', 'organizations_export.xls')
document.body.append(link)
link.click()
link.remove()
})
}}
>
some text
</a>
DS
V
V
V
АТ
V
EM