Subversion Repositories Integrator Subversion

Rev

Rev 106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 106 Rev 159
Line 101... Line 101...
101
        }
101
        }
102
       
102
       
103
        public String retornarTributacaoPeloNCM(String codigoNCM) {
103
        public String retornarTributacaoPeloNCM(String codigoNCM) {
104
                for (Tributacao tributacao : getTributacoes()) {
104
                for (Tributacao tributacao : getTributacoes()) {
105
                        if (tributacao.getCodigoNCM().equals(codigoNCM)) {
105
                        if (tributacao.getCodigoNCM().equals(codigoNCM)) {
106
                                return tributacao.getDescricao() + " (" + tributacao.getCodigoNCM() + ")";
-
 
-
 
106
                                return "(" + tributacao.getCodigoNCM() + ") " + tributacao.getDescricao();
107
                        }
107
                        }
108
                }
108
                }
109
                return "(" + codigoNCM + ")";
109
                return "(" + codigoNCM + ")";
110
        }
110
        }
111
        /*
111
        /*