|
|
|
@ -241,11 +241,14 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const ApplyAnswerFiles2Invoice = () => {
|
|
|
|
|
setWaitingMessage('Generando...') |
|
|
|
|
const Filenames = AmazonAnswerFile.map(element => element.nombreArchivo); |
|
|
|
|
setWaitingDialog(true) |
|
|
|
|
DSAmazon.ApplyAnswerFile2Invoice(Filenames) |
|
|
|
|
.then((response) => { |
|
|
|
|
loadReport() |
|
|
|
|
setAmazonAnswerFile([]) |
|
|
|
|
setWaitingDialog(false) |
|
|
|
|
setShowModal(false) |
|
|
|
|
}) |
|
|
|
|
.catch((e: Error) => { |
|
|
|
@ -922,6 +925,7 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
</Modal.Body> |
|
|
|
|
<Modal.Footer></Modal.Footer> |
|
|
|
|
</Modal> |
|
|
|
|
|
|
|
|
|
<MsgInformativo |
|
|
|
|
show={show} |
|
|
|
|
msg={msg} |
|
|
|
|