0004983: Exportação SISDAP
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@34355 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
71100072de
commit
c3d4e3de0d
|
@ -14,10 +14,13 @@ import java.util.zip.ZipOutputStream;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Filedownload;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
|
@ -33,6 +36,7 @@ public class RelatorioSisdapController extends MyGenericForwardComposer {
|
|||
private Datebox datInicio;
|
||||
private Datebox datFinal;
|
||||
private Empresa empresa;
|
||||
private Combobox cmbEmpresa;
|
||||
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
|
@ -49,6 +53,12 @@ public class RelatorioSisdapController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
if (cmbEmpresa.getSelectedIndex() < 0){
|
||||
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.empresaErro"),
|
||||
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
return;
|
||||
}
|
||||
export(datInicio.getValue(), datFinal.getValue());
|
||||
closeWindow();
|
||||
}
|
||||
|
|
|
@ -389,6 +389,9 @@ relatorioSisdapController.lbDatInicio.value=Fecha Inicio
|
|||
relatorioSisdapController.lbDatFinal.value=Fecha Final
|
||||
relatorioSisdapController.lbEmpresa.value=Empresa
|
||||
relatorioSisdapController.btnCerrar.tooltiptext=Sair
|
||||
relatorioSisdapController.MSG.empresaErro=Debe de seleccionar una Empresa
|
||||
|
||||
filtroRelatorioSisdap.window.title=Relatório SISDAP
|
||||
|
||||
# Pantalla Editar clase
|
||||
editarClaseServicioController.window.title = Clase de servicio
|
||||
|
|
|
@ -418,6 +418,9 @@ relatorioSisdapController.lbDatInicio.value=Data Inicio
|
|||
relatorioSisdapController.lbDatFinal.value=Data Final
|
||||
relatorioSisdapController.lbEmpresa.value=Empresa
|
||||
relatorioSisdapController.btnCerrar.tooltiptext=Sair
|
||||
relatorioSisdapController.MSG.empresaErro=Deve selecionar uma empresa!
|
||||
|
||||
filtroRelatorioSisdap.window.title=Relatório SISDAP
|
||||
|
||||
# Pantalla Editar Classe
|
||||
editarClaseServicioController.window.title = Tipo de Classe
|
||||
|
|
Loading…
Reference in New Issue