Rev 195 | Rev 237 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 195 | Rev 212 | ||
|---|---|---|---|
| Line 732... | Line 732... | ||
| 732 | }
|
732 | }
|
| 733 | }
|
733 | }
|
| 734 | 734 | ||
| 735 | private void acrescentarValorIPISeHouver(Lancamento lancamento) { |
735 | private void acrescentarValorIPISeHouver(Lancamento lancamento) { |
| 736 | if (VerificadorUtil.naoEstaNulo(lancamento.getProduto())) { |
736 | if (VerificadorUtil.naoEstaNulo(lancamento.getProduto())) { |
| 737 | lancamento.setValorCompra(lancamento.getProduto().calculoOperacao()); |
- | |
| - | 737 | lancamento.setValorCompra(lancamento.getProduto().getValorCompra()); |
|
| - | 738 | // lancamento.setValorCompra(lancamento.getProduto().calculoOperacao());
|
|
| 738 | }
|
739 | }
|
| 739 | }
|
740 | }
|
| 740 | 741 | ||
| 741 | private void cadastrarPagamentos(ParametrosVendaDTO parametrosVenda, Venda venda) { |
742 | private void cadastrarPagamentos(ParametrosVendaDTO parametrosVenda, Venda venda) { |
| 742 | for (VendaFormaPagamento vendaFormaPagamento : parametrosVenda.getLancamentosPagamentos()) { |
743 | for (VendaFormaPagamento vendaFormaPagamento : parametrosVenda.getLancamentosPagamentos()) { |