fixes bug#7817
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@58974 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
23deef8c0e
commit
006b68469d
|
@ -26,6 +26,7 @@ import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Datebox;
|
import org.zkoss.zul.Datebox;
|
||||||
import org.zkoss.zul.Filedownload;
|
import org.zkoss.zul.Filedownload;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
import com.rjconsultores.hstcajservice.ws.BilheteService;
|
import com.rjconsultores.hstcajservice.ws.BilheteService;
|
||||||
import com.rjconsultores.hstcajservice.ws.BilheteServiceService;
|
import com.rjconsultores.hstcajservice.ws.BilheteServiceService;
|
||||||
|
@ -49,8 +50,8 @@ public class RelatorioErrosIntegracaoBGMController extends MyGenericForwardCompo
|
||||||
private Datebox dataInicial;
|
private Datebox dataInicial;
|
||||||
private Datebox dataFinal;
|
private Datebox dataFinal;
|
||||||
private MyComboboxEstandar cmbEmpresa;
|
private MyComboboxEstandar cmbEmpresa;
|
||||||
private Combobox cmbPuntoVentaInicial;
|
private Textbox txtNumPtoVtaInicial;
|
||||||
private Combobox cmbPuntoVentaFinal;
|
private Textbox txtNumPtoVtaFinal;
|
||||||
private List<Empresa> lsEmpresa;
|
private List<Empresa> lsEmpresa;
|
||||||
private MyTextbox txtNombrePuntoVentaInicial;
|
private MyTextbox txtNombrePuntoVentaInicial;
|
||||||
|
|
||||||
|
@ -84,13 +85,13 @@ public class RelatorioErrosIntegracaoBGMController extends MyGenericForwardCompo
|
||||||
dataInicial.getValue();
|
dataInicial.getValue();
|
||||||
dataFinal.getValue();
|
dataFinal.getValue();
|
||||||
cmbEmpresa.getValue();
|
cmbEmpresa.getValue();
|
||||||
cmbPuntoVentaInicial.getValue();
|
txtNumPtoVtaInicial.getValue();
|
||||||
cmbPuntoVentaFinal.getValue();
|
txtNumPtoVtaFinal.getValue();
|
||||||
|
|
||||||
String dataInicio= format.format(dataInicial.getValue());
|
String dataInicio= format.format(dataInicial.getValue());
|
||||||
String dataFim = format.format(dataFinal.getValue());
|
String dataFim = format.format(dataFinal.getValue());
|
||||||
String puntoVentaInicial = ((PuntoVenta)cmbPuntoVentaInicial.getSelectedItem().getValue()).getNumPuntoVenta();
|
String puntoVentaInicial = txtNumPtoVtaInicial.getValue();
|
||||||
String puntoVentaFinal= ((PuntoVenta)cmbPuntoVentaFinal.getSelectedItem().getValue()).getNumPuntoVenta();
|
String puntoVentaFinal= txtNumPtoVtaFinal.getValue();
|
||||||
String empresa= ((Empresa)cmbEmpresa.getSelectedItem().getValue()).getEmpresaId().toString();
|
String empresa= ((Empresa)cmbEmpresa.getSelectedItem().getValue()).getEmpresaId().toString();
|
||||||
|
|
||||||
configurarWebService();
|
configurarWebService();
|
||||||
|
@ -171,35 +172,6 @@ public class RelatorioErrosIntegracaoBGMController extends MyGenericForwardCompo
|
||||||
this.lsEmpresa = lsEmpresa;
|
this.lsEmpresa = lsEmpresa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyComboboxEstandar getCmbEmpresa() {
|
|
||||||
return cmbEmpresa;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCmbEmpresa(MyComboboxEstandar cmbEmpresa) {
|
|
||||||
this.cmbEmpresa = cmbEmpresa;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Combobox getCmbPuntoVentaInicial() {
|
|
||||||
return cmbPuntoVentaInicial;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCmbPuntoVentaInicial(Combobox cmbPuntoVentaInicial) {
|
|
||||||
this.cmbPuntoVentaInicial = cmbPuntoVentaInicial;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Combobox getCmbPuntoVentaFinal() {
|
|
||||||
return cmbPuntoVentaFinal;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCmbPuntoVentaFinal(Combobox cmbPuntoVentaFinal) {
|
|
||||||
this.cmbPuntoVentaFinal = cmbPuntoVentaFinal;
|
|
||||||
}
|
|
||||||
|
|
||||||
public MyTextbox getTxtNombrePuntoVentaInicial() {
|
|
||||||
return txtNombrePuntoVentaInicial;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNombrePuntoVentaInicial(MyTextbox txtNombrePuntoVentaInicial) {
|
|
||||||
this.txtNombrePuntoVentaInicial = txtNombrePuntoVentaInicial;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,21 +41,11 @@
|
||||||
</row>
|
</row>
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label value="${c:l('relatorioErrosIntegracaoBGMController.lbPuntoVentaInicial.value')}"/>
|
<label value="${c:l('relatorioErrosIntegracaoBGMController.lbPuntoVentaInicial.value')}"/>
|
||||||
<combobox id="cmbPuntoVentaInicial"
|
<textbox id="txtNumPtoVtaInicial" maxlength="10" constraint="no empty"/>
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
|
||||||
width="100%"
|
|
||||||
constraint="no empty"
|
|
||||||
mold="rounded" />
|
|
||||||
</row>
|
</row>
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label value="${c:l('relatorioErrosIntegracaoBGMController.lbPuntoVentaFinal.value')}"/>
|
<label value="${c:l('relatorioErrosIntegracaoBGMController.lbPuntoVentaFinal.value')}"/>
|
||||||
<combobox id="cmbPuntoVentaFinal"
|
<textbox id="txtNumPtoVtaFinal" maxlength="10" constraint="no empty"/>
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
|
||||||
width="100%"
|
|
||||||
constraint="no empty"
|
|
||||||
mold="rounded" />
|
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
Loading…
Reference in New Issue