Subversion Repositories Integrator Subversion

Rev

Rev 583 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 583 Rev 604
Line 240... Line 240...
240
                return 0.0;
240
                return 0.0;
241
        }
241
        }
242
       
242
       
243
        public String getCorTipoStatusSimplificado() {
243
        public String getCorTipoStatusSimplificado() {
244
                if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) {
244
                if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) {
245
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.NAO_COMPRAR.getValor())) {
-
 
246
                                return "pink-btn";
-
 
247
                        }
-
 
248
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.PENDENTE.getValor())) {
-
 
249
                                return "orange-btn";
-
 
250
                        }
-
 
251
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.SOLICITADO.getValor())) {
-
 
252
                                return "blue-btn";
-
 
253
                        }
-
 
254
                        return "green-btn";
-
 
-
 
245
                        return TipoStatusPedidoCompra.parse(getStatusPedidoCompra()).getStyleBotao();
255
                }
246
                }
256
                return "black-btn";
247
                return "black-btn";
257
        }
248
        }
258
       
249
       
259
        public String getCorTipoStatus() {
250
        public String getCorTipoStatus() {