Estoque por Agência

1 – AIDF
 - Incluir nos campos espécie e tipo a opção de Excesso de Bagagem ok
1.1 - No campo de insc. Estadual, ao selecionar a empresa, apresentar  lista de inscrição estadual. Será necessário para a pesquisa, Incluir no cadastro da empresa um campo para cadastro de inscrição estadual. Obs. Uma UF pode ter mais de uma inscrição estadual

3 – Movimento de Estoque – Agência
 3.1 - No campo Origem apresentar as opções contendo Número e descrição da estação (Hoje esta buscando somente a descrição); ok
 - Limpar combo, pois esta trazendo informações de agências que já foram pesquisadas
 3.2 - No campo Série, apresentar as séries já cadastradas na estação selecionada no campo origem



git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@34251 d1611594-4594-4d17-8e1d-87c2c4800839
master
vinicius 2014-03-20 18:42:31 +00:00
parent 06f9eb3259
commit 9151a9a0c0
10 changed files with 276 additions and 40 deletions

View File

@ -24,6 +24,9 @@ import org.zkoss.zkplus.databind.BindingListModelList;
import org.zkoss.zul.Button; import org.zkoss.zul.Button;
import org.zkoss.zul.Combobox; import org.zkoss.zul.Combobox;
import org.zkoss.zul.Comboitem; import org.zkoss.zul.Comboitem;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer;
import org.zkoss.zul.Messagebox; import org.zkoss.zul.Messagebox;
import org.zkoss.zul.Row; import org.zkoss.zul.Row;
@ -31,6 +34,8 @@ import com.rjconsultores.ventaboletos.entidad.Ciudad;
import com.rjconsultores.ventaboletos.entidad.Empresa; import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto; import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
import com.rjconsultores.ventaboletos.entidad.Estado; import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
import com.rjconsultores.ventaboletos.entidad.UsuarioEmpresa;
import com.rjconsultores.ventaboletos.service.CiudadService; import com.rjconsultores.ventaboletos.service.CiudadService;
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService; import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
import com.rjconsultores.ventaboletos.service.EmpresaService; import com.rjconsultores.ventaboletos.service.EmpresaService;
@ -75,7 +80,12 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
private Row rowEquivalencia; private Row rowEquivalencia;
private List<Estado> lsEstados; private List<Estado> lsEstados;
private List<Ciudad> lsCidades; private List<Ciudad> lsCidades;
private MyListbox inscEstadualList;
private Combobox cmbEstadoInscEstadual;
private MyTextbox txtInscEstadual;
private Button btnRemoverInscEstadual;
public Empresa getEmpresa() { public Empresa getEmpresa() {
return empresa; return empresa;
} }
@ -118,14 +128,28 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
abrirEmpresaImposto(empresaImposto); abrirEmpresaImposto(empresaImposto);
} }
}); });
inscEstadualList.setItemRenderer(new ListitemRenderer() {
@Override
public void render(Listitem listItem, Object item) throws Exception {
InscricaoEstadual inscricaoEstadual = (InscricaoEstadual) item;
new Listcell(inscricaoEstadual.getEstado().getNombestado()).setParent(listItem);
new Listcell(inscricaoEstadual.getInscricaoEstadual()).setParent(listItem);
listItem.setAttribute("data", inscricaoEstadual);
}
});
if (empresa.getEmpresaId() != null) { if (empresa.getEmpresaId() != null) {
empresa = empresaService.obtenerID(empresa.getEmpresaId()); empresa = empresaService.obtenerID(empresa.getEmpresaId());
lsEmpresaImposto = empresaImpostoService.buscarByEmpresa(empresa); lsEmpresaImposto = empresaImpostoService.buscarByEmpresa(empresa);
empresaImpostoList.setData(lsEmpresaImposto); empresaImpostoList.setData(lsEmpresaImposto);
inscEstadualList.setData(empresa.getInscricoesEstaduaisActivas());
} }
txtNome.focus(); txtNome.focus();
@ -267,4 +291,66 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
Labels.getLabel("editarEmpresaImpostoController.window.title"), args, MODAL); Labels.getLabel("editarEmpresaImpostoController.window.title"), args, MODAL);
} }
public MyListbox getInscEstadualList() {
return inscEstadualList;
}
public void setInscEstadualList(MyListbox inscEstadualList) {
this.inscEstadualList = inscEstadualList;
}
public void onClick$btnAdicionarInscEstadual(Event ev) throws InterruptedException {
Estado estado = (Estado) cmbEstadoInscEstadual.getSelectedItem().getValue();
String inscEstadual = txtInscEstadual.getValue();
InscricaoEstadual nuevaInscEstadual = new InscricaoEstadual(inscEstadual, empresa, estado, UsuarioLogado.getUsuarioLogado().getUsuarioId());
empresaService.actualizaInscEstadual(nuevaInscEstadual);
empresa.getInscricoesEstaduais().add(nuevaInscEstadual);
inscEstadualList.setData(empresa.getInscricoesEstaduaisActivas());
cmbEstadoInscEstadual.setSelectedItem(null);
txtInscEstadual.setText(null);
}
public void onClick$btnRemoverInscEstadual(Event ev) throws InterruptedException {
InscricaoEstadual inscEstadual = (InscricaoEstadual) inscEstadualList.getSelected();
if (inscEstadual != null) {
if (inscEstadual.getInscricaoestadualId() != null) {
inscEstadual.setActivo(Boolean.FALSE);
inscEstadual.setFecmodif(Calendar.getInstance().getTime());
inscEstadual.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
empresaService.actualizaInscEstadual(inscEstadual);
}
inscEstadualList.setData(empresa.getInscricoesEstaduaisActivas());
}
}
public Combobox getCmbEstadoInscEstadual() {
return cmbEstadoInscEstadual;
}
public void setCmbEstadoInscEstadual(Combobox cmbEstadoInscEstadual) {
this.cmbEstadoInscEstadual = cmbEstadoInscEstadual;
}
public MyTextbox getTxtInscEstadual() {
return txtInscEstadual;
}
public void setTxtInscEstadual(MyTextbox txtInscEstadual) {
this.txtInscEstadual = txtInscEstadual;
}
public Button getBtnRemoverInscEstadual() {
return btnRemoverInscEstadual;
}
public void setBtnRemoverInscEstadual(Button btnRemoverInscEstadual) {
this.btnRemoverInscEstadual = btnRemoverInscEstadual;
}
} }

View File

@ -52,7 +52,7 @@ public class AidfListItemRenderer implements ListitemRenderer {
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
Listcell fecadquisicionCell = new Listcell(sdf.format(aidf.getFecadquisicion())); Listcell fecadquisicionCell = new Listcell(aidf.getFecadquisicion() != null ? sdf.format(aidf.getFecadquisicion()) : null);
fecadquisicionCell.setParent(listItem); fecadquisicionCell.setParent(listItem);
Listcell fecvencimientoCell = new Listcell(sdf.format(aidf.getFecvencimiento())); Listcell fecvencimientoCell = new Listcell(sdf.format(aidf.getFecvencimiento()));

View File

@ -1,5 +1,6 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.gr; package com.rjconsultores.ventaboletos.web.gui.controladores.gr;
import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
import java.util.List; import java.util.List;
@ -12,17 +13,23 @@ import org.zkoss.zhtml.Messagebox;
import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.Event;
import org.zkoss.zkplus.databind.BindingListModel;
import org.zkoss.zkplus.databind.BindingListModelList;
import org.zkoss.zul.Button; import org.zkoss.zul.Button;
import org.zkoss.zul.Comboitem;
import org.zkoss.zul.ComboitemRenderer;
import org.zkoss.zul.Datebox; import org.zkoss.zul.Datebox;
import org.zkoss.zul.Textbox; import org.zkoss.zul.Textbox;
import org.zkoss.zul.api.Combobox; import org.zkoss.zul.Combobox;
import com.rjconsultores.ventaboletos.entidad.Aidf; import com.rjconsultores.ventaboletos.entidad.Aidf;
import com.rjconsultores.ventaboletos.entidad.AidfEspecie; import com.rjconsultores.ventaboletos.entidad.AidfEspecie;
import com.rjconsultores.ventaboletos.entidad.AidfTipo; import com.rjconsultores.ventaboletos.entidad.AidfTipo;
import com.rjconsultores.ventaboletos.entidad.Empresa; import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.Estado; import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
import com.rjconsultores.ventaboletos.service.AidfService; import com.rjconsultores.ventaboletos.service.AidfService;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.service.EstadoService; import com.rjconsultores.ventaboletos.service.EstadoService;
import com.rjconsultores.ventaboletos.service.MovimentacionBilhetesService; import com.rjconsultores.ventaboletos.service.MovimentacionBilhetesService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
@ -41,6 +48,9 @@ public class EditarAidfController extends MyGenericForwardComposer {
@Autowired @Autowired
private MovimentacionBilhetesService movimentacionBilhetesService; private MovimentacionBilhetesService movimentacionBilhetesService;
@Autowired
private EmpresaService empresaService;
private Aidf aidf; private Aidf aidf;
private MyListbox aidfList; private MyListbox aidfList;
@ -57,7 +67,9 @@ public class EditarAidfController extends MyGenericForwardComposer {
private Combobox cmbEmpresa; private Combobox cmbEmpresa;
private List<Empresa> lsEmpresas; private List<Empresa> lsEmpresas;
private Textbox txtInscestadual; // private Textbox txtInscestadual;
private Combobox cmbInscestadual;
private List<InscricaoEstadual> lsInscestadual;
private Textbox txtDocFiscal; private Textbox txtDocFiscal;
private Textbox txtAcFiscal; private Textbox txtAcFiscal;
@ -237,6 +249,7 @@ public class EditarAidfController extends MyGenericForwardComposer {
lsAidfEspecie = aidfService.obtenerTodosAdifEspecie(); lsAidfEspecie = aidfService.obtenerTodosAdifEspecie();
lsEstado = estadoService.obtenerTodos(); lsEstado = estadoService.obtenerTodos();
lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa(); lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa();
lsInscestadual = new ArrayList<InscricaoEstadual>();
super.doAfterCompose(comp); super.doAfterCompose(comp);
@ -254,8 +267,14 @@ public class EditarAidfController extends MyGenericForwardComposer {
cmbAidfTipo.getValue(); cmbAidfTipo.getValue();
cmbEmpresa.getValue(); cmbEmpresa.getValue();
cmbEstado.getValue(); cmbEstado.getValue();
cmbInscestadual.getValue();
try{ try{
Comboitem inscEstadualSeleccionada = cmbInscestadual.getSelectedItem();
String _inscestadual = inscEstadualSeleccionada != null ? inscEstadualSeleccionada.getValue().toString() : "";
aidf.setInscestadual(_inscestadual);
aidf.setActivo(true); aidf.setActivo(true);
aidf.setFecmodif(Calendar.getInstance().getTime()); aidf.setFecmodif(Calendar.getInstance().getTime());
aidf.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId()); aidf.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
@ -316,14 +335,33 @@ public class EditarAidfController extends MyGenericForwardComposer {
public void setTxtFormfinal(Textbox txtFormfinal) { public void setTxtFormfinal(Textbox txtFormfinal) {
this.txtFormfinal = txtFormfinal; this.txtFormfinal = txtFormfinal;
} }
public Textbox getTxtInscestadual() {
return txtInscestadual;
}
public void setTxtInscestadual(Textbox txtInscestadual) {
this.txtInscestadual = txtInscestadual;
}
public void onChange$cmbEmpresa(Event ev) {
Comboitem cbiEmpresa = cmbEmpresa.getSelectedItem();
if (cbiEmpresa != null) {
Empresa empresa = (Empresa) cbiEmpresa.getValue();
lsInscestadual = new ArrayList<InscricaoEstadual>();
lsInscestadual.addAll(empresaService.buscaInscricoesEstaduais(empresa));
cmbInscestadual.setModel(new BindingListModelList(lsInscestadual, true));
}
}
public Combobox getCmbInscestadual() {
return cmbInscestadual;
}
public void setCmbInscestadual(Combobox cmbInscestadual) {
this.cmbInscestadual = cmbInscestadual;
}
public List<InscricaoEstadual> getLsInscestadual() {
return lsInscestadual;
}
public void setLsInscestadual(List<InscricaoEstadual> lsInscestadual) {
this.lsInscestadual = lsInscestadual;
}
} }

View File

@ -44,7 +44,9 @@ public class MovimentacionBilhetesPuntoVentaController extends MyGenericForwardC
private Textbox txtForminicial; private Textbox txtForminicial;
private Textbox txtFormfinal; private Textbox txtFormfinal;
private Textbox txtNumSerie; // private Textbox txtNumSerie;
private Combobox cmbNumSerie;
private List<String> lsNumSerie;
private List<Estacion> lsEstacion; private List<Estacion> lsEstacion;
private Combobox cmbEstacionOrigem; private Combobox cmbEstacionOrigem;
@ -56,14 +58,12 @@ public class MovimentacionBilhetesPuntoVentaController extends MyGenericForwardC
@Override @Override
public void doAfterCompose(Component comp) throws Exception { public void doAfterCompose(Component comp) throws Exception {
lsEstacion = new ArrayList<Estacion>(); setLsEstacion(new ArrayList<Estacion>());
lsTipoMovimentacion = movimentacionBilhetesService.obtenerTiposMovimetacionPuntoVenta(); setLsNumSerie(new ArrayList<String>());
setLsPuntoVenta(new ArrayList<PuntoVenta>()); setLsPuntoVenta(new ArrayList<PuntoVenta>());
setLsTipoMovimentacion(movimentacionBilhetesService.obtenerTiposMovimetacionPuntoVenta());
super.doAfterCompose(comp); super.doAfterCompose(comp);
txtForminicial.setConstraint("no empty");
} }
public void onChange$cmbPuntoVenta(Event ev) { public void onChange$cmbPuntoVenta(Event ev) {
@ -80,12 +80,40 @@ public class MovimentacionBilhetesPuntoVentaController extends MyGenericForwardC
} }
} }
public void onChange$cmbEstacionOrigem(Event ev) {
Comboitem origemSeleccionada = cmbEstacionOrigem.getSelectedItem();
Estacion origem = origemSeleccionada != null ? (Estacion)origemSeleccionada.getValue() : null;
if (origem != null)
bindModelCmbNumSerie(origem);
}
public void onChange$cmbEstacionDestino(Event ev) {
Comboitem origemSeleccionada = cmbEstacionOrigem.getSelectedItem();
Comboitem destinoSeleccionado = cmbEstacionDestino.getSelectedItem();
Estacion destino = destinoSeleccionado != null ? (Estacion)destinoSeleccionado.getValue() : null;
if (origemSeleccionada == null && destino != null)
bindModelCmbNumSerie(destino);
}
private void bindModelCmbNumSerie(Estacion estacion){
List<String> numSeriesEstacion = movimentacionBilhetesService.buscarSeriesBilhetesPorEstacion(estacion);
lsNumSerie.addAll(numSeriesEstacion);
cmbNumSerie.setModel(new BindingListModelList(lsNumSerie, true));
}
public void onClick$btnSalvar(Event ev) throws InterruptedException { public void onClick$btnSalvar(Event ev) throws InterruptedException {
cmbPuntoVenta.getValue(); cmbPuntoVenta.getValue();
cmbEstacionOrigem.getValue(); cmbEstacionOrigem.getValue();
cmbEstacionDestino.getValue(); cmbEstacionDestino.getValue();
cmbTipoMovimentacion.getValue(); cmbTipoMovimentacion.getValue();
cmbNumSerie.getValue();
txtForminicial.getValue(); txtForminicial.getValue();
@ -106,7 +134,9 @@ public class MovimentacionBilhetesPuntoVentaController extends MyGenericForwardC
String formInicial = txtForminicial.getValue(); String formInicial = txtForminicial.getValue();
String formFinal = txtFormfinal.getValue(); String formFinal = txtFormfinal.getValue();
String numSerie = txtNumSerie.getValue(); // String numSerie = txtNumSerie.getValue();
Comboitem serieSeleccionado = cmbNumSerie.getSelectedItem();
String numSerie = serieSeleccionado != null ? (String)serieSeleccionado.getValue() : null;
if(StringUtils.isNotBlank(formInicial) && StringUtils.isNotBlank(formFinal) && StringUtils.isNotBlank(numSerie)) if(StringUtils.isNotBlank(formInicial) && StringUtils.isNotBlank(formFinal) && StringUtils.isNotBlank(numSerie))
movimentacionBilhetesService.realizaMovimentacionBilhetes(puntoVenta, origem, destino, numSerie, formInicial, formFinal, tipoMovimentacion); movimentacionBilhetesService.realizaMovimentacionBilhetes(puntoVenta, origem, destino, numSerie, formInicial, formFinal, tipoMovimentacion);
@ -116,11 +146,22 @@ public class MovimentacionBilhetesPuntoVentaController extends MyGenericForwardC
Labels.getLabel("movimentacionBilhetesController.window.title"), Labels.getLabel("movimentacionBilhetesController.window.title"),
Messagebox.OK, Messagebox.INFORMATION); Messagebox.OK, Messagebox.INFORMATION);
cmbEstacionDestino.setSelectedItem(null); cmbTipoMovimentacion.setSelectedItem(null);
cmbEstacionOrigem.setSelectedItem(null);
txtFormfinal.setValue(null);
txtNumSerie.setValue(null);
cmbPuntoVenta.setSelectedItem(null);
cmbPuntoVenta.setText(null);
cmbEstacionOrigem.setSelectedItem(null);
cmbEstacionOrigem.getChildren().clear();
cmbEstacionDestino.setSelectedItem(null);
cmbEstacionDestino.getChildren().clear();
txtForminicial.setValue(null);
txtFormfinal.setValue(null);
// txtNumSerie.setValue(null);
cmbNumSerie.setSelectedItem(null);
cmbNumSerie.getChildren().clear();
} catch (Exception ex) { } catch (Exception ex) {
String msgError = ex.getMessage(); String msgError = ex.getMessage();
@ -202,12 +243,28 @@ public class MovimentacionBilhetesPuntoVentaController extends MyGenericForwardC
this.lsPuntoVenta = lsPuntoVenta; this.lsPuntoVenta = lsPuntoVenta;
} }
public Textbox getTxtNumSerie() { // public Textbox getTxtNumSerie() {
return txtNumSerie; // return txtNumSerie;
// }
//
// public void setTxtNumSerie(Textbox txtNumserie) {
// this.txtNumSerie = txtNumserie;
// }
public Combobox getCmbNumSerie() {
return cmbNumSerie;
} }
public void setTxtNumSerie(Textbox txtNumserie) { public void setCmbNumSerie(Combobox cmbNumSerie) {
this.txtNumSerie = txtNumserie; this.cmbNumSerie = cmbNumSerie;
}
public List<String> getLsNumSerie() {
return lsNumSerie;
}
public void setLsNumSerie(List<String> lsNumSerie) {
this.lsNumSerie = lsNumSerie;
} }
} }

View File

@ -340,6 +340,8 @@
</value> </value>
<value>com.rjconsultores.ventaboletos.entidad.RequisicionBoleto <value>com.rjconsultores.ventaboletos.entidad.RequisicionBoleto
</value> </value>
<value>com.rjconsultores.ventaboletos.entidad.InscricaoEstadual
</value>
<!-- value>com.rjconsultores.ventaboletos.entidad.ControleEstoqueMigracao</value --> <!-- value>com.rjconsultores.ventaboletos.entidad.ControleEstoqueMigracao</value -->

View File

@ -640,7 +640,8 @@ editarEmpresaController.cep.label = CEP
editarEmpresaController.bairro.label = Barrio editarEmpresaController.bairro.label = Barrio
editarEmpresaController.cidade.label = Ciudad editarEmpresaController.cidade.label = Ciudad
editarEmpresaController.estado.label = Estado editarEmpresaController.estado.label = Estado
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
editarEmpresaController.lhUFInscEstadual.label=UF
#Empresa impuesto #Empresa impuesto
editarEmpresaImpostoController.window.title = Configuración de impuesto por empresa/estado editarEmpresaImpostoController.window.title = Configuración de impuesto por empresa/estado

View File

@ -669,7 +669,8 @@ editarEmpresaController.cep.label = CEP
editarEmpresaController.bairro.label = Bairro editarEmpresaController.bairro.label = Bairro
editarEmpresaController.cidade.label = Cidade editarEmpresaController.cidade.label = Cidade
editarEmpresaController.estado.label = Estado editarEmpresaController.estado.label = Estado
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
editarEmpresaController.lhUFInscEstadual.label=UF
#Empresa Imposto #Empresa Imposto
editarEmpresaImpostoController.window.title = Configuração de Imposto por Empresa/Estado editarEmpresaImpostoController.window.title = Configuração de Imposto por Empresa/Estado

View File

@ -33,6 +33,9 @@
label="${c:l('editarEmpresaController.endereco.label')}" /> label="${c:l('editarEmpresaController.endereco.label')}" />
<tab <tab
label="${c:l('editarEmpresaController.impostos.label')}" /> label="${c:l('editarEmpresaController.impostos.label')}" />
<tab
label="${c:l('editarEmpresaController.inscricaoestadual.label')}" />
</tabs> </tabs>
<tabpanels> <tabpanels>
<tabpanel> <tabpanel>
@ -196,6 +199,50 @@
</listhead> </listhead>
</listbox> </listbox>
</tabpanel> </tabpanel>
<tabpanel id="tbInscEstadual" height="80%">
<toolbar>
<button id="btnAdicionarInscEstadual" height="20" image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarUsuarioController.btnAdicionarInscEstadual.tooltiptext')}"/>
<button id="btnRemoverInscEstadual" height="20" image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarUsuarioController.btnRemover.tooltiptext')}"/>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarEmpresaController.estado.label')}" />
<combobox id="cmbEstadoInscEstadual"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="70%"
model="@{winEditarEmpresa$composer.lsEstados}"/>
</row>
<row>
<label value="${c:l('editarEmpresaController.inscricaoestadual.label')}"/>
<textbox id="txtInscEstadual" width="98%"
maxlength="20"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
</rows>
</grid>
<listbox id="inscEstadualList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false" height="170px" >
<listhead sizable="true">
<listheader id="lhUFInscEstadual" image="/gui/img/create_doc.gif"
label="${c:l('editarEmpresaController.lhUFInscEstadual.label')}"/>
<listheader id="lhInscEstadual" image="/gui/img/create_doc.gif"
label="${c:l('editarEmpresaController.inscricaoestadual.label')}"/>
</listhead>
</listbox>
</tabpanel>
</tabpanels> </tabpanels>
</tabbox> </tabbox>
</window> </window>

View File

@ -110,10 +110,12 @@
</row> </row>
<row> <row>
<label value="${c:l('busquedaAidfController.inscestadual.label')}" /> <label value="${c:l('busquedaAidfController.inscestadual.label')}" />
<textbox id="txtInscEstadual" width="100px" <combobox id="cmbInscestadual"
maxlength="20" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
value="@{winEditarAidf$composer.aidf.inscestadual}" width="70%" mold="rounded" buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" /> model="@{winEditarAidf$composer.lsInscestadual}"
selectedItem="@{winEditarAidf$composer.aidf.getInscestadual()}"/>
</row> </row>
<row> <row>
<label value="${c:l('busquedaAidfController.fecadquisicion.label')}" /> <label value="${c:l('busquedaAidfController.fecadquisicion.label')}" />

View File

@ -64,16 +64,18 @@
model="@{winMovimentacionBilhetesPuntoVenta$composer.lsEstacion}"/> model="@{winMovimentacionBilhetesPuntoVenta$composer.lsEstacion}"/>
</row> </row>
<row> <row>
<label value="${c:l('winMovimentacionBilhetesPuntoVenta.numSerie.label')}" /> <label value="${c:l('winMovimentacionBilhetesPuntoVenta.numSerie.label')}" />
<textbox id="txtNumSerie" width="100px" <combobox id="cmbNumSerie"
maxlength="20"/> use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="70%" mold="rounded" buttonVisible="true"
model="@{winMovimentacionBilhetesPuntoVenta$composer.lsNumSerie}"/>
</row> </row>
<row> <row>
<label value="${c:l('winMovimentacionBilhetesPuntoVenta.forminicial.label')}" /> <label value="${c:l('winMovimentacionBilhetesPuntoVenta.forminicial.label')}" />
<textbox id="txtForminicial" width="100px" <textbox id="txtForminicial" width="100px"
maxlength="20" constraint="no empty" maxlength="20"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" /> use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row> </row>
<row> <row>