Rev 195 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 195 | Rev 280 | ||
|---|---|---|---|
| Line 350... | Line 350... | ||
| 350 | this.setCodigoProdutoNotaFiscal(produtoNota.getProd().getCProd()); |
350 | this.setCodigoProdutoNotaFiscal(produtoNota.getProd().getCProd()); |
| 351 | this.setDescricaoProdutoNotaFiscal(produtoNota.getProd().getXProd()); |
351 | this.setDescricaoProdutoNotaFiscal(produtoNota.getProd().getXProd()); |
| 352 | 352 | ||
| 353 | this.setCodigoNCM(produtoNota.getProd().getNCM()); |
353 | this.setCodigoNCM(produtoNota.getProd().getNCM()); |
| 354 | 354 | ||
| - | 355 | /*
|
|
| 355 | if (VerificadorUtil.naoEstaNuloOuVazio(produtoNota.getProd().getMed())) { |
356 | if (VerificadorUtil.naoEstaNuloOuVazio(produtoNota.getProd().getMed())) {
|
| 356 | for (nfce.java.TNFe.InfNFe.Det.Prod.Med medicamento : produtoNota.getProd().getMed()) { |
357 | for (nfce.java.TNFe.InfNFe.Det.Prod.Med medicamento : produtoNota.getProd().getMed()) {
|
| 357 | if (VerificadorUtil.naoEstaNuloOuVazio(medicamento.getNLote())) { |
358 | if (VerificadorUtil.naoEstaNuloOuVazio(medicamento.getNLote())) {
|
| 358 | this.setLote(medicamento.getNLote()); |
359 | this.setLote(medicamento.getNLote());
|
| 359 | }
|
360 | }
|
| Line 369... | Line 370... | ||
| 369 | if (VerificadorUtil.naoEstaNuloOuVazio(medicamento.getVPMC())) { |
370 | if (VerificadorUtil.naoEstaNuloOuVazio(medicamento.getVPMC())) {
|
| 370 | this.setValorPrecoMaximo(new Double(medicamento.getVPMC())); |
371 | this.setValorPrecoMaximo(new Double(medicamento.getVPMC()));
|
| 371 | }
|
372 | }
|
| 372 | }
|
373 | }
|
| 373 | }
|
374 | }
|
| - | 375 | */
|
|
| 374 | }
|
376 | }
|
| 375 | 377 | ||
| 376 | @Transient |
378 | @Transient |
| 377 | public void atualizarAliquotas(Fornecedor fornecedor) { |
379 | public void atualizarAliquotas(Fornecedor fornecedor) { |
| 378 | if (VerificadorUtil.naoEstaNulo(getProduto())) { |
380 | if (VerificadorUtil.naoEstaNulo(getProduto())) { |