Rev 288 | Rev 397 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 288 | Rev 387 | ||
|---|---|---|---|
| Line 102... | Line 102... | ||
| 102 | 102 | ||
| 103 | public void iniciarParcelaAReceber(ContaBancaria contaBancaria) { |
103 | public void iniciarParcelaAReceber(ContaBancaria contaBancaria) { |
| 104 | entidade = new Parcela(); |
104 | entidade = new Parcela(); |
| 105 | entidade.setContaBancaria(contaBancaria); |
105 | entidade.setContaBancaria(contaBancaria); |
| 106 | entidade.setConta(new Conta(TipoConta.CONTA_A_RECEBER.getValor())); |
106 | entidade.setConta(new Conta(TipoConta.CONTA_A_RECEBER.getValor())); |
| - | 107 | entidade.setIndicadorConciliado(false); |
|
| 107 | }
|
108 | }
|
| 108 | 109 | ||
| 109 | public void iniciarParcelaAPagar(ContaBancaria contaBancaria) { |
110 | public void iniciarParcelaAPagar(ContaBancaria contaBancaria) { |
| 110 | entidade = new Parcela(); |
111 | entidade = new Parcela(); |
| 111 | entidade.setContaBancaria(contaBancaria); |
112 | entidade.setContaBancaria(contaBancaria); |
| 112 | entidade.setConta(new Conta(TipoConta.CONTA_A_PAGAR.getValor())); |
113 | entidade.setConta(new Conta(TipoConta.CONTA_A_PAGAR.getValor())); |
| - | 114 | entidade.setIndicadorConciliado(false); |
|
| 113 | }
|
115 | }
|
| 114 | 116 | ||
| 115 | public void iniciarParcelaAPagar(Pagamento pagamento) { |
117 | public void iniciarParcelaAPagar(Pagamento pagamento) { |
| 116 | entidade = new Parcela(); |
118 | entidade = new Parcela(); |
| 117 | entidade.setContaBancaria(new ContaBancaria(ContaBancaria.getContaCaixa())); |
119 | entidade.setContaBancaria(new ContaBancaria(ContaBancaria.getContaCaixa())); |
| Line 120... | Line 122... | ||
| 120 | entidade.setConta(conta); |
122 | entidade.setConta(conta); |
| 121 | entidade.setDataPagamento(pagamento.getData()); |
123 | entidade.setDataPagamento(pagamento.getData()); |
| 122 | entidade.setDataVencimento(pagamento.getData()); |
124 | entidade.setDataVencimento(pagamento.getData()); |
| 123 | entidade.setObservacao(pagamento.getDescricao()); |
125 | entidade.setObservacao(pagamento.getDescricao()); |
| 124 | entidade.setValor(pagamento.getValor()); |
126 | entidade.setValor(pagamento.getValor()); |
| - | 127 | entidade.setIndicadorConciliado(false); |
|
| 125 | }
|
128 | }
|
| 126 | 129 | ||
| 127 | public void depositar() { |
130 | public void depositar() { |
| 128 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
131 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 129 | public void execute() { |
132 | public void execute() { |