Rev 631 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 631 | Rev 636 | ||
|---|---|---|---|
| Line 132... | Line 132... | ||
| 132 | public void execute() { |
132 | public void execute() { |
| 133 | posVendaService.iniciarAtendimento(getPosVendaSelecionado()); |
133 | posVendaService.iniciarAtendimento(getPosVendaSelecionado()); |
| 134 | consultarPosVenda(); |
134 | consultarPosVenda(); |
| 135 | preConsultar(); |
135 | preConsultar(); |
| 136 | LancadorMensagem.lancarSucesso("PÓS-VENDA SALVO COM SUCESSO"); |
136 | LancadorMensagem.lancarSucesso("PÓS-VENDA SALVO COM SUCESSO"); |
| - | 137 | }
|
|
| - | 138 | }); |
|
| - | 139 | }
|
|
| - | 140 | ||
| - | 141 | public void finalizarAtendimento() { |
|
| - | 142 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
|
| - | 143 | public void execute() { |
|
| - | 144 | posVendaService.finalizarAtendimento(getPosVendaSelecionado()); |
|
| - | 145 | consultarPosVenda(); |
|
| - | 146 | preConsultar(); |
|
| - | 147 | LancadorMensagem.lancarSucesso("PÓS-VENDA FINALIZADO COM SUCESSO"); |
|
| 137 | }
|
148 | }
|
| 138 | }); |
149 | }); |
| 139 | }
|
150 | }
|
| 140 | 151 | ||
| 141 | }
|
152 | }
|