Subversion Repositories Integrator Subversion

Rev

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

Rev 266 Rev 590
Line 245... Line 245...
245
                return 0.0;
245
                return 0.0;
246
        }
246
        }
247
       
247
       
248
        public String getCorTipoStatusSimplificado() {
248
        public String getCorTipoStatusSimplificado() {
249
                if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) {
249
                if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) {
250
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.NAO_COMPRAR.getValor())) {
-
 
251
                                return "pink-btn";
-
 
252
                        }
-
 
253
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.PENDENTE.getValor())) {
-
 
254
                                return "orange-btn";
-
 
255
                        }
-
 
256
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.SOLICITADO.getValor())) {
-
 
257
                                return "blue-btn";
-
 
258
                        }
-
 
259
                        return "green-btn";
-
 
-
 
250
                        return TipoStatusPedidoCompra.parse(getStatusPedidoCompra()).getStyleBotao();
260
                }
251
                }
261
                return "black-btn";
252
                return "black-btn";
262
        }
253
        }
263
       
254
       
264
        public String getCorTipoStatus() {
255
        public String getCorTipoStatus() {