fixes bug #AL-2468

master
valdevir 2023-06-05 17:37:36 -03:00
parent c4883f7480
commit 3fd5a204f6
1 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ public class RelatorioGratuidadeController extends MyGenericForwardComposer {
if ((parametros.get("fecInicioViagem") == null && parametros.get("datFinalViagem") == null) &&
(parametros.get("fecInicioVenda") == null && parametros.get("datFinalVenda") == null)) {
Messagebox.show(Labels.getLabel("relatorioGratuidadeController.MSG.orgaoAGERNaoCadastradoCorretamente"),
Messagebox.show(Labels.getLabel("relatorioGratuidadeController.data.obrigatoria"),
Labels.getLabel("relatorioGratuidadeController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
return;
@ -260,7 +260,7 @@ public class RelatorioGratuidadeController extends MyGenericForwardComposer {
if (isAGER) {
lsOrgaoConcedente = orgaocConcedenteService.buscar("AGER/MT");
if(lsOrgaoConcedente==null ||lsOrgaoConcedente.isEmpty() ) {
Messagebox.show(Labels.getLabel("relatorioGratuidadeController.data.obrigatoria"),
Messagebox.show(Labels.getLabel("relatorioGratuidadeController.MSG.orgaoAGERNaoCadastradoCorretamente"),
Labels.getLabel("relatorioGratuidadeController.window.title"),
Messagebox.ABORT, Messagebox.INFORMATION);
return;