Rev 543 | Rev 548 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 543 | Rev 546 | ||
|---|---|---|---|
| Line 400... | Line 400... | ||
| 400 | 400 | ||
| 401 | public void retirarDestinatario() { |
401 | public void retirarDestinatario() { |
| 402 | getEntidade().setPessoaDestinatario(null); |
402 | getEntidade().setPessoaDestinatario(null); |
| 403 | }
|
403 | }
|
| 404 | 404 | ||
| 405 | public void emitirNotaFiscalRemessa() { |
- | |
| - | 405 | public void emitirNotaFiscal() { |
|
| 406 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
406 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 407 | public void execute() { |
407 | public void execute() { |
| 408 | notaFiscalService.emitirNotaFiscalEletronica(getEntidade()); |
408 | notaFiscalService.emitirNotaFiscalEletronica(getEntidade()); |
| 409 | LancadorMensagem.lancarSucesso("NOTA FISCAL DE REMESSA EMITIDA COM SUCESSO"); |
- | |
| - | 409 | LancadorMensagem.lancarSucesso("NOTA FISCAL DE " + getEntidade().descricaoTipoNotaFiscalNaturezaOperacao() + " EMITIDA COM SUCESSO"); |
|
| 410 | }
|
410 | }
|
| 411 | }); |
411 | }); |
| 412 | }
|
412 | }
|
| 413 | 413 | ||
| 414 | public void emitirNotaFiscalImportacao() { |
414 | public void emitirNotaFiscalImportacao() { |