diff --git a/src/Components/Clientes/Amazon/Reportes/Clasification/WaitingAnswerFromAmazon/RptPendingAnswerFromAmazon.tsx b/src/Components/Clientes/Amazon/Reportes/Clasification/WaitingAnswerFromAmazon/RptPendingAnswerFromAmazon.tsx index 9bbbde4..aa82847 100644 --- a/src/Components/Clientes/Amazon/Reportes/Clasification/WaitingAnswerFromAmazon/RptPendingAnswerFromAmazon.tsx +++ b/src/Components/Clientes/Amazon/Reportes/Clasification/WaitingAnswerFromAmazon/RptPendingAnswerFromAmazon.tsx @@ -240,12 +240,15 @@ export default function RptPendingAnswerFromAmazon( }) } - const ApplyAnswerFiles2Invoice = () => { + 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( +