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 106... Line 106...
106
                return (quantidadeParaComprar * quantidadeVendas) - quantidadeEstoque;
106
                return (quantidadeParaComprar * quantidadeVendas) - quantidadeEstoque;
107
        }
107
        }
108
       
108
       
109
        public String getCorTipoStatusSimplificado() {
109
        public String getCorTipoStatusSimplificado() {
110
                if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) {
110
                if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) {
111
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.NAO_COMPRAR.getValor())) {
-
 
112
                                return "pink-btn";
-
 
113
                        }
-
 
114
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.PENDENTE.getValor())) {
-
 
115
                                return "orange-btn";
-
 
116
                        }
-
 
117
                        if (getStatusPedidoCompra().equals(TipoStatusPedidoCompra.SOLICITADO.getValor())) {
-
 
118
                                return "blue-btn";
-
 
119
                        }
-
 
120
                        return "green-btn";
-
 
-
 
111
                        return TipoStatusPedidoCompra.parse(getStatusPedidoCompra()).getStyleBotao();
121
                }
112
                }
122
                return "black-btn";
113
                return "black-btn";
123
        }
114
        }
124
       
115
       
125
        public String getCorTipoStatus() {
116
        public String getCorTipoStatus() {