Fixes Bug #0009921
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@75625 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a61f40e7fc
commit
56e485f058
|
@ -5,6 +5,7 @@ import java.io.FileNotFoundException;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
import java.io.FileWriter;
|
import java.io.FileWriter;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.zip.Deflater;
|
import java.util.zip.Deflater;
|
||||||
|
@ -19,14 +20,24 @@ import org.zkoss.util.resource.Labels;
|
||||||
import org.zkoss.zhtml.Filedownload;
|
import org.zkoss.zhtml.Filedownload;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Bandbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Datebox;
|
import org.zkoss.zul.Datebox;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.service.CategoriaService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.service.SisdapService;
|
import com.rjconsultores.ventaboletos.service.SisdapService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderDescontoGratuidade;
|
||||||
|
|
||||||
@Controller("relatorioSisdapController")
|
@Controller("relatorioSisdapController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
|
@ -37,11 +48,48 @@ public class RelatorioSisdapController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private Integer MAX_BUFFER_ZIP = Integer.valueOf(18024);
|
private Integer MAX_BUFFER_ZIP = Integer.valueOf(18024);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Categoria> plwCategoriaDescontoIdoso;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Categoria> plwCategoriaDescontoJovem;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Categoria> plwCategoriaGratuidadeIdoso;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Categoria> plwCategoriaGratuidadeJovem;
|
||||||
|
|
||||||
private Datebox datInicio;
|
private Datebox datInicio;
|
||||||
private Datebox datFinal;
|
private Datebox datFinal;
|
||||||
private Empresa empresa;
|
private Empresa empresa;
|
||||||
private Combobox cmbEmpresa;
|
private Combobox cmbEmpresa;
|
||||||
|
|
||||||
|
private MyTextbox txtDescontoIdoso;
|
||||||
|
private Bandbox bbDescontoIdoso;
|
||||||
|
private MyListbox pesquisaDescontoIdoso;
|
||||||
|
private MyListbox pesquisaDescontoIdosoList;
|
||||||
|
private Paging pagingDescontoIdoso;
|
||||||
|
|
||||||
|
private MyTextbox txtDescontoJovem;
|
||||||
|
private Bandbox bbDescontoJovem;
|
||||||
|
private MyListbox pesquisaDescontoJovem;
|
||||||
|
private MyListbox pesquisaDescontoJovemList;
|
||||||
|
private Paging pagingDescontoJovem;
|
||||||
|
|
||||||
|
private MyTextbox txtGratuidadeIdoso;
|
||||||
|
private Bandbox bbGratuidadeIdoso;
|
||||||
|
private MyListbox pesquisaGratuidadeIdoso;
|
||||||
|
private MyListbox pesquisaGratuidadeIdosoList;
|
||||||
|
private Paging pagingGratuidadeIdoso;
|
||||||
|
|
||||||
|
private MyTextbox txtGratuidadeJovem;
|
||||||
|
private Bandbox bbGratuidadeJovem;
|
||||||
|
private MyListbox pesquisaGratuidadeJovem;
|
||||||
|
private MyListbox pesquisaGratuidadeJovemList;
|
||||||
|
private Paging pagingGratuidadeJovem;
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaService empresaService;
|
private EmpresaService empresaService;
|
||||||
|
|
||||||
|
@ -55,16 +103,154 @@ public class RelatorioSisdapController extends MyGenericForwardComposer {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
pesquisaDescontoIdosoList.setItemRenderer(new RenderDescontoGratuidade());
|
||||||
|
pesquisaGratuidadeIdosoList.setItemRenderer(new RenderDescontoGratuidade());
|
||||||
|
pesquisaDescontoJovemList.setItemRenderer(new RenderDescontoGratuidade());
|
||||||
|
pesquisaGratuidadeJovemList.setItemRenderer(new RenderDescontoGratuidade());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisaDescontoIdoso(Event ev) {
|
||||||
|
HibernateSearchObject<Categoria> categoria = new HibernateSearchObject<Categoria>(Categoria.class, pagingDescontoIdoso.getPageSize());
|
||||||
|
categoria.addFilterILike("desccategoria", "%" + txtDescontoIdoso.getValue() + "%");
|
||||||
|
categoria.addSortAsc("desccategoria");
|
||||||
|
categoria.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
plwCategoriaDescontoIdoso.init(categoria, pesquisaDescontoIdosoList, pagingDescontoIdoso);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisaDescontoJovem(Event ev) {
|
||||||
|
HibernateSearchObject<Categoria> categoria = new HibernateSearchObject<Categoria>(Categoria.class, pagingDescontoJovem.getPageSize());
|
||||||
|
categoria.addFilterILike("desccategoria", "%" + txtDescontoJovem.getValue() + "%");
|
||||||
|
categoria.addSortAsc("desccategoria");
|
||||||
|
categoria.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
plwCategoriaDescontoJovem.init(categoria, pesquisaDescontoJovemList, pagingDescontoJovem);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisaGratuidadeIdoso(Event ev) {
|
||||||
|
HibernateSearchObject<Categoria> categoria = new HibernateSearchObject<Categoria>(Categoria.class, pagingGratuidadeIdoso.getPageSize());
|
||||||
|
categoria.addFilterILike("desccategoria", "%" + txtGratuidadeIdoso.getValue() + "%");
|
||||||
|
categoria.addSortAsc("desccategoria");
|
||||||
|
categoria.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
plwCategoriaGratuidadeIdoso.init(categoria, pesquisaGratuidadeIdosoList, pagingGratuidadeIdoso);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisaGratuidadeJovem(Event ev) {
|
||||||
|
HibernateSearchObject<Categoria> categoria = new HibernateSearchObject<Categoria>(Categoria.class, pagingGratuidadeJovem.getPageSize());
|
||||||
|
categoria.addFilterILike("desccategoria", "%" + txtGratuidadeJovem.getValue() + "%");
|
||||||
|
categoria.addSortAsc("desccategoria");
|
||||||
|
categoria.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
plwCategoriaGratuidadeJovem.init(categoria, pesquisaGratuidadeJovemList, pagingGratuidadeJovem);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaDescontoIdoso(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaDescontoIdoso.getSelected();
|
||||||
|
pesquisaDescontoIdoso.removeItem(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaDescontoJovem(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaDescontoJovem.getSelected();
|
||||||
|
pesquisaDescontoJovem.removeItem(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaGratuidadeIdoso(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaGratuidadeIdoso.getSelected();
|
||||||
|
pesquisaGratuidadeIdoso.removeItem(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaGratuidadeJovem(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaGratuidadeJovem.getSelected();
|
||||||
|
pesquisaGratuidadeJovem.removeItem(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaDescontoIdosoList(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaDescontoIdosoList.getSelected();
|
||||||
|
pesquisaDescontoIdoso.addItemNovo(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaDescontoJovemList(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaDescontoJovemList.getSelected();
|
||||||
|
pesquisaDescontoJovem.addItemNovo(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaGratuidadeIdosoList(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaGratuidadeIdosoList.getSelected();
|
||||||
|
pesquisaGratuidadeIdoso.addItemNovo(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$pesquisaGratuidadeJovemList(Event ev) {
|
||||||
|
Categoria categoria = (Categoria) pesquisaGratuidadeJovemList.getSelected();
|
||||||
|
pesquisaGratuidadeJovem.addItemNovo(categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLimparDescontoIdoso(Event ev) {
|
||||||
|
pesquisaDescontoIdosoList.setData(new ArrayList<Categoria>());
|
||||||
|
bbDescontoIdoso.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLimparDescontoJovem(Event ev) {
|
||||||
|
pesquisaDescontoJovemList.setData(new ArrayList<Categoria>());
|
||||||
|
bbDescontoJovem.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLimparGratuidadeIdoso(Event ev) {
|
||||||
|
pesquisaGratuidadeIdosoList.setData(new ArrayList<Categoria>());
|
||||||
|
bbGratuidadeIdoso.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLimparGratuidadeJovem(Event ev) {
|
||||||
|
pesquisaGratuidadeJovemList.setData(new ArrayList<Categoria>());
|
||||||
|
bbGratuidadeJovem.setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||||
|
if (pesquisaDescontoIdoso.getListData().size() == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.desconto.idoso.obrigatorio"),
|
||||||
|
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
log.error("", e);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (pesquisaGratuidadeIdoso.getListData().size() == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.gratuidade.idoso.obrigatorio"),
|
||||||
|
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
log.error("", e);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (pesquisaDescontoJovem.getListData().size() == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.desconto.jovem.obrigatorio"),
|
||||||
|
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
log.error("", e);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (pesquisaGratuidadeJovem.getListData().size() == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.gratuidade.jovem.obrigatorio"),
|
||||||
|
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
log.error("", e);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (cmbEmpresa.getSelectedIndex() < 0) {
|
if (cmbEmpresa.getSelectedIndex() < 0) {
|
||||||
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.empresaErro"),
|
Messagebox.show(Labels.getLabel("relatorioSisdapController.MSG.empresaErro"),
|
||||||
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
Labels.getLabel("filtroRelatorioSisdap.window.title"),
|
||||||
Messagebox.OK, Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
processarRelatorioSisdap(datInicio.getValue(), datFinal.getValue());
|
processarRelatorioSisdap(datInicio.getValue(), datFinal.getValue(), pesquisaDescontoIdoso, pesquisaGratuidadeIdoso, pesquisaDescontoJovem, pesquisaGratuidadeJovem);
|
||||||
closeWindow();
|
closeWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,10 +296,11 @@ public class RelatorioSisdapController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processarRelatorioSisdap(Date fecInicio, Date fecFinal) {
|
private void processarRelatorioSisdap(Date fecInicio, Date fecFinal, MyListbox pesquisaDescontoIdoso, MyListbox pesquisaGratuidadeIdoso, MyListbox pesquisaDescontoJovem, MyListbox pesquisaGratuidadeJovem) {
|
||||||
|
|
||||||
List<String> movimentoLinhas = sisdapService.getMovimentoLinhas(fecInicio, fecFinal, empresa.getEmpresaId());
|
List<String> movimentoLinhas = sisdapService.getMovimentoLinhas(fecInicio, fecFinal, empresa.getEmpresaId());
|
||||||
List<String> movimentoSecoes = sisdapService.getMovimentoSecoes(fecInicio, fecFinal, empresa.getEmpresaId());
|
List<String> movimentoSecoes = sisdapService.getMovimentoSecoes(fecInicio, fecFinal, empresa.getEmpresaId(), pesquisaDescontoIdoso.getListData(), pesquisaGratuidadeIdoso.getListData(), pesquisaDescontoJovem.getListData(), pesquisaGratuidadeJovem.getListData());
|
||||||
|
|
||||||
|
|
||||||
if (movimentoLinhas.size() <= 1 && movimentoSecoes.size() <= 1) {
|
if (movimentoLinhas.size() <= 1 && movimentoSecoes.size() <= 1) {
|
||||||
// Não retornou dados
|
// Não retornou dados
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||||
|
|
||||||
|
import org.zkoss.zul.Listcell;
|
||||||
|
import org.zkoss.zul.Listitem;
|
||||||
|
import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Thiago
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class RenderDescontoGratuidade implements ListitemRenderer {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
|
Categoria categoria = (Categoria) o;
|
||||||
|
Listcell lc = new Listcell(categoria.getDesccategoria());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lstm.setAttribute("Categoria", categoria);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -625,7 +625,16 @@ relatorioSisdapController.lbEmpresa.value=Empresa
|
||||||
relatorioSisdapController.btnCerrar.tooltiptext=Salir
|
relatorioSisdapController.btnCerrar.tooltiptext=Salir
|
||||||
relatorioSisdapController.MSG.empresaErro=Debe de seleccionar una empresa
|
relatorioSisdapController.MSG.empresaErro=Debe de seleccionar una empresa
|
||||||
relatorioSisdapController.MSG.nenhumRegistro=No se encontró ningún registro
|
relatorioSisdapController.MSG.nenhumRegistro=No se encontró ningún registro
|
||||||
|
relatorioSisdapController.desconto.idoso.value=Desconto idoso
|
||||||
|
relatorioSisdapController.gratuidade.idoso.value=Gratuidade idoso
|
||||||
|
relatorioSisdapController.desconto.jovem.value=Desconto jovem
|
||||||
|
relatorioSisdapController.gratuidade.jovem.value=Gratuidade jovem
|
||||||
|
relatorioSisdapController.btnPesquisa.label=Pesquisar
|
||||||
|
relatorioSisdapController.btnLimpar.label=Limpar
|
||||||
|
relatorioSisdapController.MSG.desconto.idoso.obrigatorio=É obrigatório informar as categorias de desconto do idoso
|
||||||
|
relatorioSisdapController.MSG.gratuidade.idoso.obrigatorio=É obrigatório informar as categorias de gratuidade do idoso
|
||||||
|
relatorioSisdapController.MSG.desconto.jovem.obrigatorio=É obrigatório informar as categorias de desconto do jovem
|
||||||
|
relatorioSisdapController.MSG.gratuidade.jovem.obrigatorio=É obrigatório informar as categorias de gratuidade do jovem
|
||||||
filtroRelatorioSisdap.window.title=Reporte SISDAP
|
filtroRelatorioSisdap.window.title=Reporte SISDAP
|
||||||
|
|
||||||
#Reporte de ventas por agente de Pasajes
|
#Reporte de ventas por agente de Pasajes
|
||||||
|
|
|
@ -688,7 +688,16 @@ relatorioSisdapController.lbEmpresa.value=Empresa
|
||||||
relatorioSisdapController.btnCerrar.tooltiptext=Sair
|
relatorioSisdapController.btnCerrar.tooltiptext=Sair
|
||||||
relatorioSisdapController.MSG.empresaErro=Deve selecionar uma empresa!
|
relatorioSisdapController.MSG.empresaErro=Deve selecionar uma empresa!
|
||||||
relatorioSisdapController.MSG.nenhumRegistro=Nenhum registro encontrado para o relatório
|
relatorioSisdapController.MSG.nenhumRegistro=Nenhum registro encontrado para o relatório
|
||||||
|
relatorioSisdapController.desconto.idoso.value=Desconto idoso
|
||||||
|
relatorioSisdapController.gratuidade.idoso.value=Gratuidade idoso
|
||||||
|
relatorioSisdapController.desconto.jovem.value=Desconto jovem
|
||||||
|
relatorioSisdapController.gratuidade.jovem.value=Gratuidade jovem
|
||||||
|
relatorioSisdapController.btnPesquisa.label=Pesquisar
|
||||||
|
relatorioSisdapController.btnLimpar.label=Limpar
|
||||||
|
relatorioSisdapController.MSG.desconto.idoso.obrigatorio=É obrigatório informar as categorias de desconto do idoso
|
||||||
|
relatorioSisdapController.MSG.gratuidade.idoso.obrigatorio=É obrigatório informar as categorias de gratuidade do idoso
|
||||||
|
relatorioSisdapController.MSG.desconto.jovem.obrigatorio=É obrigatório informar as categorias de desconto do jovem
|
||||||
|
relatorioSisdapController.MSG.gratuidade.jovem.obrigatorio=É obrigatório informar as categorias de gratuidade do jovem
|
||||||
filtroRelatorioSisdap.window.title=Relatório SISDAP
|
filtroRelatorioSisdap.window.title=Relatório SISDAP
|
||||||
|
|
||||||
#Relatório de Vendas por bilheteiro
|
#Relatório de Vendas por bilheteiro
|
||||||
|
@ -6730,6 +6739,7 @@ relatorioBilhetesVendidosController.reservado.label = Reservado
|
||||||
relatorioBilhetesVendidosController.extravidado.label = Extraviado
|
relatorioBilhetesVendidosController.extravidado.label = Extraviado
|
||||||
relatorioBilhetesVendidosController.reimpresso.label = Reimpresso
|
relatorioBilhetesVendidosController.reimpresso.label = Reimpresso
|
||||||
relatorioBilhetesVendidosController.marcado.label = Marcado
|
relatorioBilhetesVendidosController.marcado.label = Marcado
|
||||||
|
relatorioBilhetesVendidosController.categoria.label = Categoria
|
||||||
|
|
||||||
# Relatório de Descontos
|
# Relatório de Descontos
|
||||||
relatorioDescontosController.window.title = Relatório de Descontos
|
relatorioDescontosController.window.title = Relatório de Descontos
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winFiltroRelatorioSisdap"
|
<window id="winFiltroRelatorioSisdap"
|
||||||
apply="${relatorioSisdapController}"
|
apply="${relatorioSisdapController}"
|
||||||
contentStyle="overflow:auto" height="165px" width="550px"
|
contentStyle="overflow:auto" height="450px" width="550px"
|
||||||
border="normal" closable="true">
|
border="normal" closable="true">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
|
@ -44,6 +44,145 @@
|
||||||
selectedItem="@{winFiltroRelatorioSisdap$composer.empresa}" />
|
selectedItem="@{winFiltroRelatorioSisdap$composer.empresa}" />
|
||||||
</cell>
|
</cell>
|
||||||
</row>
|
</row>
|
||||||
|
<!-- DESCONTO IDOSO -->
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<label value="${c:l('relatorioSisdapController.desconto.idoso.value')}" />
|
||||||
|
<bandbox id="bbDescontoIdoso" width="100%" mold="rounded" readonly="true">
|
||||||
|
<bandpopup>
|
||||||
|
<vbox>
|
||||||
|
<hbox>
|
||||||
|
<label value="${c:l('relatorioSisdapController.desconto.idoso.value')}" />
|
||||||
|
<textbox id="txtDescontoIdoso" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" width="300px" mold="rounded" />
|
||||||
|
<button id="btnPesquisaDescontoIdoso" image="/gui/img/find.png" label="${c:l('relatorioSisdapController.btnPesquisa.label')}" />
|
||||||
|
<button id="btnLimparDescontoIdoso" image="/gui/img/eraser.png" label="${c:l('relatorioSisdapController.btnLimpar.label')}" />
|
||||||
|
</hbox>
|
||||||
|
<paging id="pagingSelDescontoIdoso" pageSize="10" />
|
||||||
|
<listbox id="pesquisaDescontoIdosoList" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100%" width="700px">
|
||||||
|
<listhead>
|
||||||
|
<listheader label="${c:l('relatorioSisdapController.desconto.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</vbox>
|
||||||
|
</bandpopup>
|
||||||
|
</bandbox>
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
<row spans="4">
|
||||||
|
<listbox id="pesquisaDescontoIdoso" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100px" width="100%">
|
||||||
|
<listhead>
|
||||||
|
<listheader
|
||||||
|
label="${c:l('relatorioBilhetesVendidosController.categoria.label')}" />
|
||||||
|
<listheader width="5%" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
<paging id="pagingDescontoIdoso" pageSize="10" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<!-- GRATUIDADE IDOSO -->
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<label value="${c:l('relatorioSisdapController.gratuidade.idoso.value')}" />
|
||||||
|
<bandbox id="bbGratuidadeIdoso" width="100%" mold="rounded" readonly="true">
|
||||||
|
<bandpopup>
|
||||||
|
<vbox>
|
||||||
|
<hbox>
|
||||||
|
<label value="${c:l('relatorioSisdapController.gratuidade.idoso.value')}" />
|
||||||
|
<textbox id="txtGratuidadeIdoso" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" width="300px" mold="rounded" />
|
||||||
|
<button id="btnPesquisaGratuidadeIdoso" image="/gui/img/find.png" label="${c:l('relatorioSisdapController.btnPesquisa.label')}" />
|
||||||
|
<button id="btnLimparGratuidadeIdoso" image="/gui/img/eraser.png" label="${c:l('relatorioSisdapController.btnLimpar.label')}" />
|
||||||
|
</hbox>
|
||||||
|
<paging id="pagingSelGratuidadeIdoso" pageSize="10" />
|
||||||
|
<listbox id="pesquisaGratuidadeIdosoList" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100%" width="700px">
|
||||||
|
<listhead>
|
||||||
|
<listheader label="${c:l('relatorioSisdapController.gratuidade.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</vbox>
|
||||||
|
</bandpopup>
|
||||||
|
</bandbox>
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
<row spans="4">
|
||||||
|
<listbox id="pesquisaGratuidadeIdoso" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100px" width="100%">
|
||||||
|
<listhead>
|
||||||
|
<listheader
|
||||||
|
label="${c:l('relatorioBilhetesVendidosController.categoria.label')}" />
|
||||||
|
<listheader width="5%" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
<paging id="pagingGratuidadeIdoso" pageSize="10" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<!-- GRATUIDADE JOVEM -->
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<label value="${c:l('relatorioSisdapController.desconto.jovem.value')}" />
|
||||||
|
<bandbox id="bbDescontoJovem" width="100%" mold="rounded" readonly="true">
|
||||||
|
<bandpopup>
|
||||||
|
<vbox>
|
||||||
|
<hbox>
|
||||||
|
<label value="${c:l('relatorioSisdapController.desconto.jovem.value')}" />
|
||||||
|
<textbox id="txtDescontoJovem" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" width="300px" mold="rounded" />
|
||||||
|
<button id="btnPesquisaDescontoJovem" image="/gui/img/find.png" label="${c:l('relatorioSisdapController.btnPesquisa.label')}" />
|
||||||
|
<button id="btnLimparDescontoJovem" image="/gui/img/eraser.png" label="${c:l('relatorioSisdapController.btnLimpar.label')}" />
|
||||||
|
</hbox>
|
||||||
|
<paging id="pagingSelDescontoJovem" pageSize="10" />
|
||||||
|
<listbox id="pesquisaDescontoJovemList" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100%" width="700px">
|
||||||
|
<listhead>
|
||||||
|
<listheader label="${c:l('relatorioSisdapController.desconto.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</vbox>
|
||||||
|
</bandpopup>
|
||||||
|
</bandbox>
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
<row spans="4">
|
||||||
|
<listbox id="pesquisaDescontoJovem" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100px" width="100%">
|
||||||
|
<listhead>
|
||||||
|
<listheader
|
||||||
|
label="${c:l('relatorioBilhetesVendidosController.categoria.label')}" />
|
||||||
|
<listheader width="5%" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
<paging id="pagingDescontoJovem" pageSize="10" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<!-- GRATUIDADE JOVEM -->
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<label value="${c:l('relatorioSisdapController.gratuidade.jovem.value')}" />
|
||||||
|
<bandbox id="bbGratuidadeJovem" width="100%" mold="rounded" readonly="true">
|
||||||
|
<bandpopup>
|
||||||
|
<vbox>
|
||||||
|
<hbox>
|
||||||
|
<label value="${c:l('relatorioSisdapController.gratuidade.jovem.value')}" />
|
||||||
|
<textbox id="txtGratuidadeJovem" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" width="300px" mold="rounded" />
|
||||||
|
<button id="btnPesquisaGratuidadeJovem" image="/gui/img/find.png" label="${c:l('relatorioSisdapController.btnPesquisa.label')}" />
|
||||||
|
<button id="btnLimparGratuidadeJovem" image="/gui/img/eraser.png" label="${c:l('relatorioSisdapController.btnLimpar.label')}" />
|
||||||
|
</hbox>
|
||||||
|
<paging id="pagingSelGratuidadeJovem" pageSize="10" />
|
||||||
|
<listbox id="pesquisaGratuidadeJovemList" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100%" width="700px">
|
||||||
|
<listhead>
|
||||||
|
<listheader label="${c:l('relatorioSisdapController.gratuidade.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</vbox>
|
||||||
|
</bandpopup>
|
||||||
|
</bandbox>
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
<row spans="4">
|
||||||
|
<listbox id="pesquisaGratuidadeJovem" mold="paging" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" height="100px" width="100%">
|
||||||
|
<listhead>
|
||||||
|
<listheader
|
||||||
|
label="${c:l('relatorioBilhetesVendidosController.categoria.label')}" />
|
||||||
|
<listheader width="5%" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
<paging id="pagingGratuidadeJovem" pageSize="10" />
|
||||||
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
Loading…
Reference in New Issue