Rev 317 | Rev 577 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 317 | Rev 352 | ||
|---|---|---|---|
| Line 205... | Line 205... | ||
| 205 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh14x()) {quantidadeVezes = 14;} |
205 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh14x()) {quantidadeVezes = 14;} |
| 206 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh15x()) {quantidadeVezes = 15;} |
206 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh15x()) {quantidadeVezes = 15;} |
| 207 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh16x()) {quantidadeVezes = 16;} |
207 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh16x()) {quantidadeVezes = 16;} |
| 208 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh17x()) {quantidadeVezes = 17;} |
208 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh17x()) {quantidadeVezes = 17;} |
| 209 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh18x()) {quantidadeVezes = 18;} |
209 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh18x()) {quantidadeVezes = 18;} |
| - | 210 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh19x()) {quantidadeVezes = 19;} |
|
| - | 211 | if (vendaFormaPagamento.getFormaPagamento().formaPagamentoEh20x()) {quantidadeVezes = 20;} |
|
| 210 | Date dataParcela = vendaFormaPagamento.getVenda().getDataVenda(); |
212 | Date dataParcela = vendaFormaPagamento.getVenda().getDataVenda(); |
| 211 | Date dataInicial = vendaFormaPagamento.getVenda().getDataVenda(); |
213 | Date dataInicial = vendaFormaPagamento.getVenda().getDataVenda(); |
| 212 | for (int i = 1; i <= quantidadeVezes; i++) { |
214 | for (int i = 1; i <= quantidadeVezes; i++) { |
| 213 | if (i == 1) { |
215 | if (i == 1) { |
| 214 | dataParcela = DataUtils.acrescentarDias(dataParcela, taxa.getQuantidadeDiasPrimeiraParcela()); |
216 | dataParcela = DataUtils.acrescentarDias(dataParcela, taxa.getQuantidadeDiasPrimeiraParcela()); |