fixes bug#13389
Adicionado para modificar mesmo na edição de pricing dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@89699 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ab8633257c
commit
b2d9c755fa
|
@ -452,6 +452,16 @@ public class EditarPricingController extends PricingController {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Tipo Pasajero - Categoria
|
||||||
|
if (ApplicationProperties.getInstance().habilitarPricingCategoria()) {
|
||||||
|
pricingCategoriaList.setDisabled(Boolean.FALSE);
|
||||||
|
btnNovoCategoria.setDisabled(Boolean.FALSE);
|
||||||
|
btnApagarCategoria.setDisabled(Boolean.FALSE);
|
||||||
|
btnModificarCategoria.setDisabled(Boolean.FALSE);
|
||||||
|
} else {
|
||||||
|
incluirCategoria(categoriaService.obtenerID(1));
|
||||||
|
}
|
||||||
|
|
||||||
if (pricing.getPricingId() != null) {
|
if (pricing.getPricingId() != null) {
|
||||||
pricing = pricingService.obtenerID(pricing.getPricingId());
|
pricing = pricingService.obtenerID(pricing.getPricingId());
|
||||||
|
|
||||||
|
@ -662,16 +672,6 @@ public class EditarPricingController extends PricingController {
|
||||||
pricingMercadoService.suscribir(pme);
|
pricingMercadoService.suscribir(pme);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tipo Pasajero - Categoria
|
|
||||||
if (ApplicationProperties.getInstance().habilitarPricingCategoria()) {
|
|
||||||
pricingCategoriaList.setDisabled(Boolean.FALSE);
|
|
||||||
btnNovoCategoria.setDisabled(Boolean.FALSE);
|
|
||||||
btnApagarCategoria.setDisabled(Boolean.FALSE);
|
|
||||||
btnModificarCategoria.setDisabled(Boolean.FALSE);
|
|
||||||
} else {
|
|
||||||
incluirCategoria(categoriaService.obtenerID(1));
|
|
||||||
}
|
|
||||||
|
|
||||||
incluirCategoriasPadroes();
|
incluirCategoriasPadroes();
|
||||||
|
|
||||||
btnApagar.setVisible(Boolean.FALSE);
|
btnApagar.setVisible(Boolean.FALSE);
|
||||||
|
|
Loading…
Reference in New Issue