Rev 305 | Rev 330 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 305 | Rev 311 | ||
|---|---|---|---|
| Line 763... | Line 763... | ||
| 763 | Long sequencialNovoPedido = pedidoService.cadastrarPedidoVendaPersonalizada(vendaCadastrada, getParametrosVenda()); |
763 | Long sequencialNovoPedido = pedidoService.cadastrarPedidoVendaPersonalizada(vendaCadastrada, getParametrosVenda()); |
| 764 | if (VerificadorUtil.naoEstaNulo(sequencialNovoPedido)) { |
764 | if (VerificadorUtil.naoEstaNulo(sequencialNovoPedido)) { |
| 765 | LancadorMensagem.lancarSucesso("Nº PERSONALIZAÇÃO: " + sequencialNovoPedido); |
765 | LancadorMensagem.lancarSucesso("Nº PERSONALIZAÇÃO: " + sequencialNovoPedido); |
| 766 | }
|
766 | }
|
| 767 | iniciarNovaVenda(); |
767 | iniciarNovaVenda(); |
| - | 768 | LancadorMensagem.lancarSucesso("VENDA REALIZADA COM SUCESSO"); |
|
| 768 | }
|
769 | }
|
| 769 | }); |
770 | }); |
| 770 | }
|
771 | }
|
| 771 | 772 | ||
| 772 | public void cadastrarVendaComCupom() { |
773 | public void cadastrarVendaComCupom() { |
| Line 779... | Line 780... | ||
| 779 | }
|
780 | }
|
| 780 | preCarregamento(); |
781 | preCarregamento(); |
| 781 | getParametrosVenda().setLoja(getVendaSelecionada().getLoja()); |
782 | getParametrosVenda().setLoja(getVendaSelecionada().getLoja()); |
| 782 | getParametrosVenda().setMaquineta(getVendaSelecionada().getLoja().getMaquineta()); |
783 | getParametrosVenda().setMaquineta(getVendaSelecionada().getLoja().getMaquineta()); |
| 783 | setEmitirCupom(true); |
784 | setEmitirCupom(true); |
| - | 785 | LancadorMensagem.lancarSucesso("VENDA REALIZADA COM SUCESSO"); |
|
| 784 | }
|
786 | }
|
| 785 | }); |
787 | }); |
| 786 | }
|
788 | }
|
| 787 | 789 | ||
| 788 | public void cadastrarVendaFarma() { |
790 | public void cadastrarVendaFarma() { |