Rev 582 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 582 | Rev 587 | ||
|---|---|---|---|
| Line 264... | Line 264... | ||
| 264 | public String getCorTipoStatus() { |
264 | public String getCorTipoStatus() { |
| 265 | if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) { |
265 | if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) { |
| 266 | return TipoStatusPedidoCompra.parse(getStatusPedidoCompra()).getStyleBotao(); |
266 | return TipoStatusPedidoCompra.parse(getStatusPedidoCompra()).getStyleBotao(); |
| 267 | }
|
267 | }
|
| 268 | return "black-btn"; |
268 | return "black-btn"; |
| - | 269 | }
|
|
| - | 270 | ||
| - | 271 | public String getCorTipoStatusPedidoCompra() { |
|
| - | 272 | if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) { |
|
| - | 273 | return TipoStatusPedidoCompra.parse(getStatusPedidoCompra()).getCor(); |
|
| - | 274 | }
|
|
| - | 275 | return "black"; |
|
| 269 | }
|
276 | }
|
| 270 | 277 | ||
| 271 | public String getQuantidadeParaComprarDoPedido() { |
278 | public String getQuantidadeParaComprarDoPedido() { |
| 272 | if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) { |
279 | if (VerificadorUtil.naoEstaNulo(getStatusPedidoCompra())) { |
| 273 | if (VerificadorUtil.naoEstaNulo(getQuantidadeParaComprarPedidoCompra())) { |
280 | if (VerificadorUtil.naoEstaNulo(getQuantidadeParaComprarPedidoCompra())) { |