wilian 2017-09-22 00:29:43 +00:00
parent f93e9bbba2
commit d12ac9c062
1 changed files with 9 additions and 0 deletions

View File

@ -94,6 +94,15 @@ public class BusquedaMotivoCancelacionController extends MyGenericForwardCompose
@Override
public void onEvent(Event event) throws Exception {
MotivoCancelacion mc = (MotivoCancelacion) motivoCancelacionList.getSelected();
if (mc.getCveSistema() != null) {
Messagebox.show(
Labels.getLabel("MSG.noEditabled"),
Labels.getLabel("editarMotivoCancelacionController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
return;
}
verPeriodo(mc);
}
});