fixes bug#24595
dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@112582 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ff81ac8d34
commit
712a3d5f28
|
@ -16,10 +16,12 @@ import org.zkoss.zul.Comboitem;
|
|||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.service.SapService;
|
||||
import com.rjconsultores.ventaboletos.vo.integracao.FechamentoCntCorrenteVO;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderFechamentoCntcorrente;
|
||||
|
@ -35,10 +37,12 @@ public class RelatorioSapController extends MyGenericForwardComposer {
|
|||
private List<Empresa> lsEmpresas;
|
||||
private List<FechamentoCntCorrenteVO> lsFechamentoCntcorrente;
|
||||
private Empresa empresa;
|
||||
private PuntoVenta puntoVenta;
|
||||
private Boolean reenviar;
|
||||
private int qtdEnviar = 0;
|
||||
|
||||
private Combobox cmbEmpresa;
|
||||
private MyComboboxPuntoVenta cmbPuntoVenta;
|
||||
private Datebox fecBoletoIni;
|
||||
private Datebox fecBoletoFin;
|
||||
private Checkbox chkReenviarGerados;
|
||||
|
@ -97,7 +101,11 @@ public class RelatorioSapController extends MyGenericForwardComposer {
|
|||
|
||||
empresa = (Empresa) cmbEmpresa.getSelectedItem().getValue();
|
||||
|
||||
this.lsFechamentoCntcorrente = sapService.obtenerTodosParaRemessa(empresa, this.fecBoletoIni.getValue(), this.fecBoletoFin.getValue(), chkReenviarGerados.isChecked());
|
||||
if( cmbPuntoVenta.getSelectedItem() != null ) {
|
||||
puntoVenta = (PuntoVenta) cmbPuntoVenta.getSelectedItem().getValue();
|
||||
}
|
||||
|
||||
this.lsFechamentoCntcorrente = sapService.obtenerTodosParaRemessa(empresa, this.fecBoletoIni.getValue(), this.fecBoletoFin.getValue(), chkReenviarGerados.isChecked(), puntoVenta);
|
||||
this.boletoFechamentoList.setData(this.lsFechamentoCntcorrente);
|
||||
|
||||
if(this.lsFechamentoCntcorrente.isEmpty()){
|
||||
|
|
|
@ -48,6 +48,16 @@
|
|||
maxlength="10" />
|
||||
</cell>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('lb.puntoventa')}" />
|
||||
<cell colspan="2">
|
||||
<combobox id="cmbPuntoVenta"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||
mold="rounded"
|
||||
buttonVisible="true"
|
||||
width="70%"/>
|
||||
</cell>
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioSapController.reenviarGerados.label')}" />
|
||||
|
|
Loading…
Reference in New Issue