Created
January 9, 2013 10:20
-
-
Save anonymous/4492123 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (DuplicataNota duplicata : duplicatas) { | |
valorMovto = MoneyHelper.somar(valorMovto, duplicata.getValor()); | |
LancamentoContabil lcto = new LancamentoContabil(EmpresaHelper.getParametrosEmpresaLogada(MovimentacaoContabil.class.cast(movContabilValue. | |
getValue()).getDataMovimentacao()).getContaFornecedores(), duplicata.getValor(), StringUtils.EMPTY, EmpresaHelper.getEmpresaLogada()); | |
if(duplicata.isAPagar()) | |
lcto.setTipo(LancamentoContabil.DEBITO); | |
else | |
lcto.setTipo(LancamentoContabil.CREDITO); | |
lancamentos.add(lcto); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment