P2 - Status Checkin (bug #5303)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@36192 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2111195ed2
commit
13f1e29ac3
|
@ -32,6 +32,8 @@ import org.zkoss.zul.Textbox;
|
|||
@Scope("prototype")
|
||||
public class EditarMotivoCancelacionController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Autowired
|
||||
private MotivoCancelacionService motivoCancelacionService;
|
||||
private MotivoCancelacion motivoCancelacion;
|
||||
|
@ -39,7 +41,6 @@ public class EditarMotivoCancelacionController extends MyGenericForwardComposer
|
|||
private static Logger log = Logger.getLogger(EditarMotivoCancelacionController.class);
|
||||
private Textbox txtNome;
|
||||
private Button btnApagar;
|
||||
private Button btnSalvar;
|
||||
private Combobox cmbTipoMotivo;
|
||||
|
||||
public Button getBtnApagar() {
|
||||
|
@ -68,7 +69,7 @@ public class EditarMotivoCancelacionController extends MyGenericForwardComposer
|
|||
if (motivoCancelacion.getMotivocancelacionId() == null) {
|
||||
btnApagar.setVisible(Boolean.FALSE);
|
||||
} else {
|
||||
if (motivoCancelacion.getMotivocancelacionId() <= 35) {
|
||||
if (motivoCancelacionService.validaMotivoCancelacionConstante(motivoCancelacion)) {
|
||||
btnApagar.setVisible(false);
|
||||
txtNome.setDisabled(true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue