diff --git a/modules/addons/NFEioServiceInvoices/lib/Hooks/AdminInvoicesControlsOutput.php b/modules/addons/NFEioServiceInvoices/lib/Hooks/AdminInvoicesControlsOutput.php index 4a90b2a..d7f5472 100644 --- a/modules/addons/NFEioServiceInvoices/lib/Hooks/AdminInvoicesControlsOutput.php +++ b/modules/addons/NFEioServiceInvoices/lib/Hooks/AdminInvoicesControlsOutput.php @@ -56,18 +56,18 @@ public function run() if ($request === 'reissue') { $result = $nfe->queue($this->invoiceId, true); if ($result['success']) { - $msg->success('Nota adicionada a fila para reemissão.'); + $msg->success('Nota adicionada a fila para reemissão.', $urn . '&nfeioreissue=true'); } else { - $msg->error("Problemas ao tentar reemitir a nota: {$result['message']}"); + $msg->error("Problemas ao tentar reemitir a nota: {$result['message']}", $urn . '&nfeioreissue=true'); } } if ($request === 'cancel') { $result = $nfe->cancelNfSeriesByInvoiceId($this->invoiceId); if ($result['status'] === 'success') { - $msg->info("Nota enviada para cancelamento, por favor aguarde."); + $msg->info("Nota enviada para cancelamento, por favor aguarde.", $urn . '&nfeiocancel=true'); } else { - $msg->warning("Nota fiscal cancelada, mas com aviso: {$result['message']}."); + $msg->warning("Nota fiscal cancelada, mas com aviso: {$result['message']}.", $urn . '&nfeiocancel=true'); } } diff --git a/modules/addons/NFEioServiceInvoices/lib/templates/admin/admininvoicescontrolsoutput.tpl b/modules/addons/NFEioServiceInvoices/lib/templates/admin/admininvoicescontrolsoutput.tpl index 6e6c191..ca18685 100644 --- a/modules/addons/NFEioServiceInvoices/lib/templates/admin/admininvoicescontrolsoutput.tpl +++ b/modules/addons/NFEioServiceInvoices/lib/templates/admin/admininvoicescontrolsoutput.tpl @@ -59,6 +59,17 @@