fixes bug #10474
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@78913 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6cb7235b64
commit
e4e6e831aa
|
@ -234,23 +234,20 @@ public class ArchivoIntegracionECFManual {
|
||||||
for (ImportacionManualFiscalVO imf : list) {
|
for (ImportacionManualFiscalVO imf : list) {
|
||||||
|
|
||||||
List<SubItens> itens = new ArrayList<SubItens>();
|
List<SubItens> itens = new ArrayList<SubItens>();
|
||||||
|
|
||||||
// if (imf.getImporteoutros() != null) {
|
|
||||||
// itens.add(new SubItens(imf.getImporteoutros(), "00000000000-OT"));
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (imf.getImportepedagio() != null) {
|
if (imf.getImportepedagio() != null) {
|
||||||
itens.add(new SubItens(imf.getImportepedagio(), "00000000000-PE"));
|
itens.add(new SubItens(imf.getImportepedagio(), "00000000000-PE"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (imf.getImporteseguro() != null) {
|
if (imf.getImporteseguro() != null) {
|
||||||
|
if (imf.getImporteseguro().signum() > BigDecimal.ZERO.intValue())
|
||||||
itens.add(new SubItens(imf.getImporteseguro(), "00000000000-SE"));
|
itens.add(new SubItens(imf.getImporteseguro(), "00000000000-SE"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (imf.getImportetaxaembarque() != null) {
|
if (imf.getImportetaxaembarque() != null) {
|
||||||
itens.add(new SubItens(imf.getImportetaxaembarque(), "00000000000-TX"));
|
itens.add(new SubItens(imf.getImportetaxaembarque(), "00000000000-TX"));
|
||||||
}
|
}
|
||||||
if (imf.getValorItem() != null) {
|
|
||||||
|
if (imf.getValorTotal() != null) {
|
||||||
itens.add(new SubItens(imf.getValorTotal(), "00000000000-TA"));
|
itens.add(new SubItens(imf.getValorTotal(), "00000000000-TA"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue