git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@20594 d1611594-4594-4d17-8e1d-87c2c4800839
parent
34ccd46f32
commit
d7810bfbf2
|
@ -44,7 +44,6 @@ public class BusquedaEmpresaController extends MyGenericForwardComposer {
|
||||||
private Textbox txtNombre;
|
private Textbox txtNombre;
|
||||||
private Textbox txtEquivalencia;
|
private Textbox txtEquivalencia;
|
||||||
private Textbox txtRFC;
|
private Textbox txtRFC;
|
||||||
private Combobox cmbExterna;
|
|
||||||
private Combobox cmbIndTipo;
|
private Combobox cmbIndTipo;
|
||||||
private Row rowEquivalencia;
|
private Row rowEquivalencia;
|
||||||
private Listheader headerEquivalencia;
|
private Listheader headerEquivalencia;
|
||||||
|
@ -91,18 +90,6 @@ public class BusquedaEmpresaController extends MyGenericForwardComposer {
|
||||||
HibernateSearchObject<Empresa> empresaBusqueda =
|
HibernateSearchObject<Empresa> empresaBusqueda =
|
||||||
new HibernateSearchObject<Empresa>(Empresa.class, pagingEmpresa.getPageSize());
|
new HibernateSearchObject<Empresa>(Empresa.class, pagingEmpresa.getPageSize());
|
||||||
|
|
||||||
Comboitem ci = cmbExterna.getSelectedItem();
|
|
||||||
String value;
|
|
||||||
if (ci != null) {
|
|
||||||
value = (String) ci.getValue();
|
|
||||||
|
|
||||||
if (value.equals("1")) {
|
|
||||||
empresaBusqueda.addFilterEqual("indExterna", Boolean.TRUE);
|
|
||||||
} else {
|
|
||||||
empresaBusqueda.addFilterEqual("indExterna", Boolean.FALSE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Comboitem cbiTipo = cmbIndTipo.getSelectedItem();
|
Comboitem cbiTipo = cmbIndTipo.getSelectedItem();
|
||||||
Short tipo = null;
|
Short tipo = null;
|
||||||
if (cbiTipo != null) {
|
if (cbiTipo != null) {
|
||||||
|
|
|
@ -34,6 +34,7 @@ import org.zkoss.zul.Textbox;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaFormaPagoController extends MyGenericForwardComposer {
|
public class BusquedaFormaPagoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private transient PagedListWrapper<FormaPago> plwFormaPago;
|
private transient PagedListWrapper<FormaPago> plwFormaPago;
|
||||||
private MyListbox formaPagoList;
|
private MyListbox formaPagoList;
|
||||||
|
@ -43,54 +44,6 @@ public class BusquedaFormaPagoController extends MyGenericForwardComposer {
|
||||||
private Row rowEquivalencia;
|
private Row rowEquivalencia;
|
||||||
private Listheader headerEquivalencia;
|
private Listheader headerEquivalencia;
|
||||||
|
|
||||||
public MyListbox getFormaPagoList() {
|
|
||||||
return formaPagoList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFormaPagoList(MyListbox formaPagoList) {
|
|
||||||
this.formaPagoList = formaPagoList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Paging getPagingFormaPago() {
|
|
||||||
return pagingFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPagingFormaPago(Paging pagingFormaPago) {
|
|
||||||
this.pagingFormaPago = pagingFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Textbox getTxtNome() {
|
|
||||||
return txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNome(Textbox txtNome) {
|
|
||||||
this.txtNome = txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Textbox getTxtEquivalencia() {
|
|
||||||
return txtEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtEquivalencia(Textbox txtEquivalencia) {
|
|
||||||
this.txtEquivalencia = txtEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Listheader getHeaderEquivalencia() {
|
|
||||||
return headerEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setHeaderEquivalencia(Listheader headerEquivalencia) {
|
|
||||||
this.headerEquivalencia = headerEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Row getRowEquivalencia() {
|
|
||||||
return rowEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRowEquivalencia(Row rowEquivalencia) {
|
|
||||||
this.rowEquivalencia = rowEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
@ -115,6 +68,7 @@ public class BusquedaFormaPagoController extends MyGenericForwardComposer {
|
||||||
txtNome.focus();
|
txtNome.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
private void verFormaPago(FormaPago f) {
|
private void verFormaPago(FormaPago f) {
|
||||||
if (f == null) {
|
if (f == null) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -31,56 +31,13 @@ import org.zkoss.zul.Textbox;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaTipoVentaController extends MyGenericForwardComposer {
|
public class BusquedaTipoVentaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private transient PagedListWrapper<TipoVenta> plwTipoVenta;
|
private transient PagedListWrapper<TipoVenta> plwTipoVenta;
|
||||||
private MyListbox tipoVentaList;
|
private MyListbox tipoVentaList;
|
||||||
private Paging pagingTipoVenta;
|
private Paging pagingTipoVenta;
|
||||||
private Textbox txtNombre;
|
private Textbox txtNombre;
|
||||||
|
|
||||||
public Textbox getTxtNombre() {
|
|
||||||
return txtNombre;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNombre(Textbox txtNombre) {
|
|
||||||
this.txtNombre = txtNombre;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Paging getPagingTipoVenta() {
|
|
||||||
return pagingTipoVenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPagingTipoVenta(Paging pagingTipoVenta) {
|
|
||||||
this.pagingTipoVenta = pagingTipoVenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public MyListbox getTipoVentaList() {
|
|
||||||
return tipoVentaList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTipoVentaList(MyListbox tipoVentaList) {
|
|
||||||
this.tipoVentaList = tipoVentaList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public PagedListWrapper<TipoVenta> getPlwTipoVenta() {
|
|
||||||
return plwTipoVenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPlwTipoVenta(PagedListWrapper<TipoVenta> plwTipoVenta) {
|
|
||||||
this.plwTipoVenta = plwTipoVenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onClick$btnPesquisa(Event ev) throws InterruptedException {
|
|
||||||
refreshLista();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onClick$btnRefresh(Event ev) {
|
|
||||||
refreshLista();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onClick$btnNovo(Event ev) {
|
|
||||||
verPeriodo(new TipoVenta());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
@ -100,6 +57,7 @@ public class BusquedaTipoVentaController extends MyGenericForwardComposer {
|
||||||
txtNombre.focus();
|
txtNombre.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
private void verPeriodo(TipoVenta ts) {
|
private void verPeriodo(TipoVenta ts) {
|
||||||
if (ts == null) {
|
if (ts == null) {
|
||||||
return;
|
return;
|
||||||
|
@ -133,4 +91,16 @@ public class BusquedaTipoVentaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisa(Event ev) throws InterruptedException {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnNovo(Event ev) {
|
||||||
|
verPeriodo(new TipoVenta());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@ import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zkplus.databind.BindingListModel;
|
import org.zkoss.zkplus.databind.BindingListModel;
|
||||||
import org.zkoss.zkplus.databind.BindingListModelList;
|
import org.zkoss.zkplus.databind.BindingListModelList;
|
||||||
import org.zkoss.zul.Button;
|
import org.zkoss.zul.Button;
|
||||||
import org.zkoss.zul.Checkbox;
|
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Comboitem;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
|
@ -59,7 +58,6 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private MyTextbox txtCNPJ;
|
private MyTextbox txtCNPJ;
|
||||||
private Button btnApagar;
|
private Button btnApagar;
|
||||||
private Combobox cmbIndTipo;
|
private Combobox cmbIndTipo;
|
||||||
private Checkbox chkExterna;
|
|
||||||
private Combobox cmbEstado;
|
private Combobox cmbEstado;
|
||||||
private Combobox cmbCidade;
|
private Combobox cmbCidade;
|
||||||
private Row rowEquivalencia;
|
private Row rowEquivalencia;
|
||||||
|
@ -104,10 +102,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
if (empresa.getEmpresaId() == null) {
|
if (empresa.getEmpresaId() == null) {
|
||||||
btnApagar.setVisible(Boolean.FALSE);
|
btnApagar.setVisible(Boolean.FALSE);
|
||||||
chkExterna.setChecked(true);
|
|
||||||
} else {
|
} else {
|
||||||
chkExterna.setChecked(empresa.getIndExterna() == null ? false : empresa.getIndExterna());
|
|
||||||
|
|
||||||
Ciudad cidade = empresa.getCidade();
|
Ciudad cidade = empresa.getCidade();
|
||||||
if (cidade != null) {
|
if (cidade != null) {
|
||||||
cmbCidade.setText(cidade.getNombciudad());
|
cmbCidade.setText(cidade.getNombciudad());
|
||||||
|
@ -144,7 +139,6 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
empresa.setActivo(Boolean.TRUE);
|
empresa.setActivo(Boolean.TRUE);
|
||||||
empresa.setFecmodif(Calendar.getInstance().getTime());
|
empresa.setFecmodif(Calendar.getInstance().getTime());
|
||||||
empresa.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
empresa.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
empresa.setIndExterna(chkExterna.isChecked());
|
|
||||||
|
|
||||||
if (empresa.getEmpresaId() == null) {
|
if (empresa.getEmpresaId() == null) {
|
||||||
List<Empresa> lsEmpresa =
|
List<Empresa> lsEmpresa =
|
||||||
|
@ -183,14 +177,6 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$chkExterna(Event ev) {
|
|
||||||
if (!chkExterna.isChecked()) {
|
|
||||||
chkExterna.setChecked(false);
|
|
||||||
} else {
|
|
||||||
chkExterna.setChecked(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onClick$btnApagar(Event ev) {
|
public void onClick$btnApagar(Event ev) {
|
||||||
try {
|
try {
|
||||||
int resp = Messagebox.show(
|
int resp = Messagebox.show(
|
||||||
|
|
|
@ -4,15 +4,9 @@
|
||||||
*/
|
*/
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
|
||||||
import com.rjconsultores.ventaboletos.service.FormaPagoService;
|
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
|
||||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
|
@ -23,10 +17,17 @@ 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.zul.Button;
|
import org.zkoss.zul.Button;
|
||||||
import org.zkoss.zul.Comboitem;
|
|
||||||
import org.zkoss.zul.Radio;
|
import org.zkoss.zul.Radio;
|
||||||
import org.zkoss.zul.Row;
|
import org.zkoss.zul.Row;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
||||||
|
import com.rjconsultores.ventaboletos.service.FormaPagoService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Administrador
|
* @author Administrador
|
||||||
|
@ -35,6 +36,7 @@ import org.zkoss.zul.Row;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class EditarFormaPagoController extends MyGenericForwardComposer {
|
public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private FormaPagoService formaPagoService;
|
private FormaPagoService formaPagoService;
|
||||||
private FormaPago formaPago;
|
private FormaPago formaPago;
|
||||||
|
@ -58,38 +60,6 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
this.formaPago = formaPago;
|
this.formaPago = formaPago;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyTextbox getTxtNome() {
|
|
||||||
return txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNome(MyTextbox txtNome) {
|
|
||||||
this.txtNome = txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Button getBtnApagar() {
|
|
||||||
return btnApagar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setBtnApagar(Button btnApagar) {
|
|
||||||
this.btnApagar = btnApagar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Button getBtnSalvar() {
|
|
||||||
return btnSalvar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setBtnSalvar(Button btnSalvar) {
|
|
||||||
this.btnSalvar = btnSalvar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Row getRowEquivalencia() {
|
|
||||||
return rowEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRowEquivalencia(Row rowEquivalencia) {
|
|
||||||
this.rowEquivalencia = rowEquivalencia;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
@ -111,7 +81,6 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
rd3.setChecked(true);
|
rd3.setChecked(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (formaPago.getFormapagoId() <= 11 || (formaPago.getFormapagoId() >= 96 && formaPago.getFormapagoId() <= 99)) {
|
if (formaPago.getFormapagoId() <= 11 || (formaPago.getFormapagoId() >= 96 && formaPago.getFormapagoId() <= 99)) {
|
||||||
btnApagar.setVisible(Boolean.FALSE);
|
btnApagar.setVisible(Boolean.FALSE);
|
||||||
btnSalvar.setVisible(Boolean.FALSE);
|
btnSalvar.setVisible(Boolean.FALSE);
|
||||||
|
|
|
@ -4,25 +4,25 @@
|
||||||
*/
|
*/
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
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.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.TipoVenta;
|
import com.rjconsultores.ventaboletos.entidad.TipoVenta;
|
||||||
import com.rjconsultores.ventaboletos.service.TipoVentaService;
|
import com.rjconsultores.ventaboletos.service.TipoVentaService;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
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.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.context.annotation.Scope;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.List;
|
|
||||||
import org.zkoss.util.resource.Labels;
|
|
||||||
import org.zkoss.zk.ui.Component;
|
|
||||||
import org.zkoss.zk.ui.Executions;
|
|
||||||
import org.zkoss.zk.ui.event.Event;
|
|
||||||
import org.zkoss.zul.Button;
|
|
||||||
import org.zkoss.zul.Messagebox;
|
|
||||||
import org.zkoss.zul.Textbox;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -32,29 +32,20 @@ import org.zkoss.zul.Textbox;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class EditarTipoVentaController extends MyGenericForwardComposer {
|
public class EditarTipoVentaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private TipoVentaService tipoVentaService;
|
private TipoVentaService tipoVentaService;
|
||||||
private TipoVenta tipoVenta;
|
private TipoVenta tipoVenta;
|
||||||
private MyListbox tipoVentaList;
|
private MyListbox tipoVentaList;
|
||||||
private static Logger log = Logger.getLogger(EditarTipoVentaController.class);
|
private static Logger log = Logger.getLogger(EditarTipoVentaController.class);
|
||||||
private MyTextbox txtNome;
|
private MyTextbox txtNome;
|
||||||
private Button btnApagar;
|
|
||||||
private Button btnSalvar;
|
|
||||||
|
|
||||||
public Button getBtnApagar() {
|
public TipoVenta getTipoVenta() {
|
||||||
return btnApagar;
|
return tipoVenta;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBtnApagar(Button btnApagar) {
|
public void setTipoVenta(TipoVenta tipoVenta) {
|
||||||
this.btnApagar = btnApagar;
|
this.tipoVenta = tipoVenta;
|
||||||
}
|
|
||||||
|
|
||||||
public Textbox getTxtNome() {
|
|
||||||
return txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNome(MyTextbox txtNome) {
|
|
||||||
this.txtNome = txtNome;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -68,12 +59,9 @@ public class EditarTipoVentaController extends MyGenericForwardComposer {
|
||||||
if (tipoVenta.getDesctipoventa() != null) {
|
if (tipoVenta.getDesctipoventa() != null) {
|
||||||
txtNome.setValue(tipoVenta.getDesctipoventa());
|
txtNome.setValue(tipoVenta.getDesctipoventa());
|
||||||
}
|
}
|
||||||
if (tipoVenta.getTipoventaId() == null) {
|
|
||||||
btnApagar.setVisible(Boolean.FALSE);
|
if (tipoVenta.getTipoventaId() != null) {
|
||||||
} else {
|
|
||||||
if (tipoVenta.getTipoventaId() <= 12) {
|
if (tipoVenta.getTipoventaId() <= 12) {
|
||||||
btnApagar.setVisible(Boolean.FALSE);
|
|
||||||
btnSalvar.setVisible(Boolean.FALSE);
|
|
||||||
txtNome.setDisabled(Boolean.TRUE);
|
txtNome.setDisabled(Boolean.TRUE);
|
||||||
|
|
||||||
Messagebox.show(
|
Messagebox.show(
|
||||||
|
@ -162,28 +150,4 @@ public class EditarTipoVentaController extends MyGenericForwardComposer {
|
||||||
log.error(ex);
|
log.error(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TipoVenta getTipoVenta() {
|
|
||||||
return tipoVenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTipoVenta(TipoVenta tipoVenta) {
|
|
||||||
this.tipoVenta = tipoVenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public MyListbox getTipoVentaList() {
|
|
||||||
return tipoVentaList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTipoVentaList(MyListbox tipoVentaList) {
|
|
||||||
this.tipoVentaList = tipoVentaList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public TipoVentaService getTipoVentaService() {
|
|
||||||
return tipoVentaService;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTipoVentaService(TipoVentaService tipoVentaService) {
|
|
||||||
this.tipoVentaService = tipoVentaService;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,36 +31,13 @@ import org.zkoss.zul.Textbox;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaConfiguracionFormaPagoController extends MyGenericForwardComposer {
|
public class BusquedaConfiguracionFormaPagoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private transient PagedListWrapper<FormaPagoDet> plwConfigFormaPago;
|
private transient PagedListWrapper<FormaPagoDet> plwConfigFormaPago;
|
||||||
private MyListbox configFormaPagoList;
|
private MyListbox configFormaPagoList;
|
||||||
private Paging pagingConfigFormaPago;
|
private Paging pagingConfigFormaPago;
|
||||||
private Textbox txtNome;
|
private Textbox txtNome;
|
||||||
|
|
||||||
public MyListbox getConfigFormaPagoList() {
|
|
||||||
return configFormaPagoList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setConfigFormaPagoList(MyListbox configFormaPagoList) {
|
|
||||||
this.configFormaPagoList = configFormaPagoList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Paging getPagingConfigFormaPago() {
|
|
||||||
return pagingConfigFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPagingConfigFormaPago(Paging pagingConfigFormaPago) {
|
|
||||||
this.pagingConfigFormaPago = pagingConfigFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Textbox getTxtNome() {
|
|
||||||
return txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNome(Textbox txtNome) {
|
|
||||||
this.txtNome = txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
@ -80,6 +57,7 @@ public class BusquedaConfiguracionFormaPagoController extends MyGenericForwardCo
|
||||||
txtNome.focus();
|
txtNome.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
private void verConfigFormaPago(FormaPagoDet fpd) {
|
private void verConfigFormaPago(FormaPagoDet fpd) {
|
||||||
if (fpd == null) {
|
if (fpd == null) {
|
||||||
return;
|
return;
|
||||||
|
@ -95,11 +73,9 @@ public class BusquedaConfiguracionFormaPagoController extends MyGenericForwardCo
|
||||||
|
|
||||||
private void refreshLista() {
|
private void refreshLista() {
|
||||||
HibernateSearchObject<FormaPagoDet> configFormaPagoBusqueda =
|
HibernateSearchObject<FormaPagoDet> configFormaPagoBusqueda =
|
||||||
new HibernateSearchObject<FormaPagoDet>(FormaPagoDet.class,
|
new HibernateSearchObject<FormaPagoDet>(FormaPagoDet.class, pagingConfigFormaPago.getPageSize());
|
||||||
pagingConfigFormaPago.getPageSize());
|
|
||||||
|
|
||||||
configFormaPagoBusqueda.addFilterLike("formaPago.descpago",
|
configFormaPagoBusqueda.addFilterLike("formaPago.descpago", "%" + txtNome.getText().trim().concat("%"));
|
||||||
"%" + txtNome.getText().trim().concat("%"));
|
|
||||||
|
|
||||||
configFormaPagoBusqueda.addSortAsc("formaPago.descpago");
|
configFormaPagoBusqueda.addSortAsc("formaPago.descpago");
|
||||||
configFormaPagoBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
configFormaPagoBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
|
|
@ -31,36 +31,13 @@ import org.zkoss.zul.Textbox;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaRestriccionFormaPagoController extends MyGenericForwardComposer {
|
public class BusquedaRestriccionFormaPagoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private transient PagedListWrapper<ConfigRestriccionPago> plwRestriccionFormaPago;
|
private transient PagedListWrapper<ConfigRestriccionPago> plwRestriccionFormaPago;
|
||||||
private MyListbox restriccionFormaPagoList;
|
private MyListbox restriccionFormaPagoList;
|
||||||
private Paging pagingrestriccionFormaPago;
|
private Paging pagingrestriccionFormaPago;
|
||||||
private Textbox txtNome;
|
private Textbox txtNome;
|
||||||
|
|
||||||
public Paging getPagingrestriccionFormaPago() {
|
|
||||||
return pagingrestriccionFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPagingrestriccionFormaPago(Paging pagingrestriccionFormaPago) {
|
|
||||||
this.pagingrestriccionFormaPago = pagingrestriccionFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public MyListbox getRestriccionFormaPagoList() {
|
|
||||||
return restriccionFormaPagoList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRestriccionFormaPagoList(MyListbox restriccionFormaPagoList) {
|
|
||||||
this.restriccionFormaPagoList = restriccionFormaPagoList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Textbox getTxtNome() {
|
|
||||||
return txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxtNome(Textbox txtNome) {
|
|
||||||
this.txtNome = txtNome;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
@ -82,6 +59,7 @@ public class BusquedaRestriccionFormaPagoController extends MyGenericForwardComp
|
||||||
txtNome.focus();
|
txtNome.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
private void verConfigRestriccionPago(ConfigRestriccionPago c) {
|
private void verConfigRestriccionPago(ConfigRestriccionPago c) {
|
||||||
if (c == null) {
|
if (c == null) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -4,6 +4,20 @@
|
||||||
*/
|
*/
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||||
|
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
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.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.ConfigRestriccionPago;
|
import com.rjconsultores.ventaboletos.entidad.ConfigRestriccionPago;
|
||||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
||||||
import com.rjconsultores.ventaboletos.entidad.RestriccionPago;
|
import com.rjconsultores.ventaboletos.entidad.RestriccionPago;
|
||||||
|
@ -13,19 +27,6 @@ import com.rjconsultores.ventaboletos.service.RestriccionPagoService;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
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.MyListbox;
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
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.Messagebox;
|
|
||||||
import org.zkoss.zk.ui.Component;
|
|
||||||
import org.zkoss.zk.ui.Executions;
|
|
||||||
import org.zkoss.zk.ui.event.Event;
|
|
||||||
import org.zkoss.zul.Button;
|
|
||||||
import org.zkoss.zul.Combobox;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -35,6 +36,7 @@ import org.zkoss.zul.Combobox;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class EditarRestriccionFormaPagoController extends MyGenericForwardComposer {
|
public class EditarRestriccionFormaPagoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
@Autowired
|
@Autowired
|
||||||
private FormaPagoService formaPagoService;
|
private FormaPagoService formaPagoService;
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -47,25 +49,8 @@ public class EditarRestriccionFormaPagoController extends MyGenericForwardCompos
|
||||||
private List<RestriccionPago> lsRestriccionPago;
|
private List<RestriccionPago> lsRestriccionPago;
|
||||||
private Combobox cmbFormaPago;
|
private Combobox cmbFormaPago;
|
||||||
private Combobox cmbRestriccionFormaPago;
|
private Combobox cmbRestriccionFormaPago;
|
||||||
private Button btnApagar;
|
|
||||||
private static Logger log = Logger.getLogger(EditarRestriccionFormaPagoController.class);
|
private static Logger log = Logger.getLogger(EditarRestriccionFormaPagoController.class);
|
||||||
|
|
||||||
public Button getBtnApagar() {
|
|
||||||
return btnApagar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setBtnApagar(Button btnApagar) {
|
|
||||||
this.btnApagar = btnApagar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public FormaPagoService getFormaPagoService() {
|
|
||||||
return formaPagoService;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFormaPagoService(FormaPagoService formaPagoService) {
|
|
||||||
this.formaPagoService = formaPagoService;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<FormaPago> getLsFormaPago() {
|
public List<FormaPago> getLsFormaPago() {
|
||||||
return lsFormaPago;
|
return lsFormaPago;
|
||||||
}
|
}
|
||||||
|
@ -90,22 +75,6 @@ public class EditarRestriccionFormaPagoController extends MyGenericForwardCompos
|
||||||
this.configRestriccionPago = configRestriccionPago;
|
this.configRestriccionPago = configRestriccionPago;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Combobox getCmbFormaPago() {
|
|
||||||
return cmbFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCmbFormaPago(Combobox cmbFormaPago) {
|
|
||||||
this.cmbFormaPago = cmbFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Combobox getCmbRestriccionFormaPago() {
|
|
||||||
return cmbRestriccionFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCmbRestriccionFormaPago(Combobox cmbRestriccionFormaPago) {
|
|
||||||
this.cmbRestriccionFormaPago = cmbRestriccionFormaPago;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsFormaPago = formaPagoService.obtenerTodos();
|
lsFormaPago = formaPagoService.obtenerTodos();
|
||||||
|
@ -116,10 +85,6 @@ public class EditarRestriccionFormaPagoController extends MyGenericForwardCompos
|
||||||
configRestriccionPago = (ConfigRestriccionPago) Executions.getCurrent().getArg().get("configRestriccionPago");
|
configRestriccionPago = (ConfigRestriccionPago) Executions.getCurrent().getArg().get("configRestriccionPago");
|
||||||
restriccionFormaPagoList = (MyListbox) Executions.getCurrent().getArg().get("configRestriccionFormaPagoList");
|
restriccionFormaPagoList = (MyListbox) Executions.getCurrent().getArg().get("configRestriccionFormaPagoList");
|
||||||
|
|
||||||
if (configRestriccionPago.getConfigrestriccionId() == null) {
|
|
||||||
btnApagar.setVisible(Boolean.FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
cmbFormaPago.focus();
|
cmbFormaPago.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,7 +92,6 @@ public class EditarRestriccionFormaPagoController extends MyGenericForwardCompos
|
||||||
cmbFormaPago.getValue();
|
cmbFormaPago.getValue();
|
||||||
cmbRestriccionFormaPago.getValue();
|
cmbRestriccionFormaPago.getValue();
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
boolean puedoDarDeAlta = configRestriccionPagoService.puedoDarDeAlta(configRestriccionPago);
|
boolean puedoDarDeAlta = configRestriccionPagoService.puedoDarDeAlta(configRestriccionPago);
|
||||||
|
|
||||||
|
@ -159,7 +123,7 @@ public class EditarRestriccionFormaPagoController extends MyGenericForwardCompos
|
||||||
}
|
}
|
||||||
|
|
||||||
Messagebox.show(
|
Messagebox.show(
|
||||||
Labels.getLabel("editarRestriccionFormaPagoController.MSG.puedoDarDeAlta", new Object[]{msg}),
|
Labels.getLabel("editarRestriccionFormaPagoController.MSG.puedoDarDeAlta", new Object[] { msg }),
|
||||||
Labels.getLabel("editarRestriccionFormaPagoController.window.title"),
|
Labels.getLabel("editarRestriccionFormaPagoController.window.title"),
|
||||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -26,17 +26,6 @@ public class RenderEmpresa implements ListitemRenderer {
|
||||||
lc = new Listcell(empresa.getNombempresa());
|
lc = new Listcell(empresa.getNombempresa());
|
||||||
lc.setParent(lstm);
|
lc.setParent(lstm);
|
||||||
|
|
||||||
Boolean externa = empresa.getIndExterna();
|
|
||||||
if (externa != null) {
|
|
||||||
if (externa) {
|
|
||||||
lc = new Listcell(Labels.getLabel("MSG.SI"));
|
|
||||||
lc.setParent(lstm);
|
|
||||||
} else {
|
|
||||||
lc = new Listcell(Labels.getLabel("MSG.NO"));
|
|
||||||
lc.setParent(lstm);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Short tipo = empresa.getIndTipo();
|
Short tipo = empresa.getIndTipo();
|
||||||
Short short1 = 1;
|
Short short1 = 1;
|
||||||
Short short2 = 2;
|
Short short2 = 2;
|
||||||
|
|
|
@ -286,19 +286,19 @@
|
||||||
class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
|
class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> -->
|
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
|
||||||
<!-- <property name="resourceRef" value="true" /> -->
|
<property name="resourceRef" value="true" />
|
||||||
<!-- <property name="jndiName" value="${database.jndi.name}" /> -->
|
<property name="jndiName" value="${database.jndi.name}" />
|
||||||
<!-- </bean> -->
|
|
||||||
|
|
||||||
<bean id="dataSource"
|
|
||||||
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
|
||||||
<property name="driverClassName" value="${database.driver}" />
|
|
||||||
<property name="url" value="${database.url}" />
|
|
||||||
<property name="username" value="${database.username}" />
|
|
||||||
<property name="password" value="${database.password}" />
|
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<!-- <bean id="dataSource" -->
|
||||||
|
<!-- class="org.springframework.jdbc.datasource.DriverManagerDataSource"> -->
|
||||||
|
<!-- <property name="driverClassName" value="${database.driver}" /> -->
|
||||||
|
<!-- <property name="url" value="${database.url}" /> -->
|
||||||
|
<!-- <property name="username" value="${database.username}" /> -->
|
||||||
|
<!-- <property name="password" value="${database.password}" /> -->
|
||||||
|
<!-- </bean> -->
|
||||||
|
|
||||||
<!-- ====================================================== -->
|
<!-- ====================================================== -->
|
||||||
<!-- Search class from Hibernate-Generic-DAO framework -->
|
<!-- Search class from Hibernate-Generic-DAO framework -->
|
||||||
<!-- ====================================================== -->
|
<!-- ====================================================== -->
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# <controler>. <id>. <propiedade> = XXX
|
# <controler>. <id>. <propiedade> = XXX
|
||||||
|
|
||||||
#Versao do VentaBoleto:
|
#Versao do VentaBoleto:
|
||||||
versao = ADM_20120817_1RC47
|
versao = ADM_20120820_1RC48
|
||||||
|
|
||||||
# MSG Defaut:
|
# MSG Defaut:
|
||||||
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
||||||
|
|
|
@ -5,18 +5,21 @@
|
||||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winBusquedaEmpresa" title="${c:l('busquedaEmpresaController.window.title')}"
|
<window id="winBusquedaEmpresa"
|
||||||
|
title="${c:l('busquedaEmpresaController.window.title')}"
|
||||||
apply="${busquedaEmpresaController}" contentStyle="overflow:auto"
|
apply="${busquedaEmpresaController}" contentStyle="overflow:auto"
|
||||||
height="450px" width="850px" border="normal" >
|
height="450px" width="850px" border="normal">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
<button id="btnRefresh" image="/gui/img/refresh.png"
|
||||||
|
width="35px"
|
||||||
tooltiptext="${c:l('busquedaEmpresaController.btnRefresh.tooltiptext')}" />
|
tooltiptext="${c:l('busquedaEmpresaController.btnRefresh.tooltiptext')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaEmpresaController.btnNovo.tooltiptext')}" />
|
tooltiptext="${c:l('busquedaEmpresaController.btnNovo.tooltiptext')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnCerrar" onClick="winBusquedaEmpresa.detach()" image="/gui/img/exit.png" width="35px"
|
<button id="btnCerrar" onClick="winBusquedaEmpresa.detach()"
|
||||||
tooltiptext="${c:l('busquedaEmpresaController.btnCerrar.tooltiptext')}"/>
|
image="/gui/img/exit.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaEmpresaController.btnCerrar.tooltiptext')}" />
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
|
@ -26,67 +29,69 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('busquedaEmpresaController.txtNombre.label')}"/>
|
<label
|
||||||
<textbox id="txtNombre" width="300px" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
value="${c:l('busquedaEmpresaController.txtNombre.label')}" />
|
||||||
|
<textbox id="txtNombre" width="300px"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('editarEmpresaController.IndTipo.label')}"/>
|
<label
|
||||||
<combobox id="cmbIndTipo" width="90%" mold="rounded" buttonVisible="true" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar">
|
value="${c:l('editarEmpresaController.IndTipo.label')}" />
|
||||||
<comboitem value="1" label="${c:l('editarEmpresaController.IndTipo.1')}" />
|
<combobox id="cmbIndTipo" width="90%" mold="rounded"
|
||||||
<comboitem value="2" label="${c:l('editarEmpresaController.IndTipo.2')}" />
|
buttonVisible="true"
|
||||||
<comboitem value="3" label="${c:l('editarEmpresaController.IndTipo.3')}" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar">
|
||||||
|
<comboitem value="1"
|
||||||
|
label="${c:l('editarEmpresaController.IndTipo.1')}" />
|
||||||
|
<comboitem value="2"
|
||||||
|
label="${c:l('editarEmpresaController.IndTipo.2')}" />
|
||||||
|
<comboitem value="3"
|
||||||
|
label="${c:l('editarEmpresaController.IndTipo.3')}" />
|
||||||
</combobox>
|
</combobox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('editarEmpresaController.externa.label')}"/>
|
<label
|
||||||
<combobox id="cmbExterna" width="90%" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" mold="rounded" buttonVisible="true">
|
value="${c:l('editarEmpresaController.rfc.label')}" />
|
||||||
<comboitem value="1" label="${c:l('MSG.SI')}" />
|
|
||||||
<comboitem value="0" label="${c:l('MSG.NO')}" />
|
|
||||||
</combobox>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<label value="${c:l('editarEmpresaController.rfc.label')}"/>
|
|
||||||
<textbox id="txtRFC" width="100px" maxlength="13"
|
<textbox id="txtRFC" width="100px" maxlength="13"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row id="rowEquivalencia">
|
<row id="rowEquivalencia">
|
||||||
<label value="${c:l('lb.Equivalencia')}"/>
|
<label value="${c:l('lb.Equivalencia')}" />
|
||||||
<textbox id="txtEquivalencia" width="100px" maxlength="10"
|
<textbox id="txtEquivalencia" width="100px"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
maxlength="10"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnPesquisa" image="/gui/img/find.png"
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
label="${c:l('busquedaEmpresaController.btnPesquisa.label')}"/>
|
label="${c:l('busquedaEmpresaController.btnPesquisa.label')}" />
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<paging id="pagingEmpresa" pageSize="20"/>
|
<paging id="pagingEmpresa" pageSize="20" />
|
||||||
<listbox id="empresaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
<listbox id="empresaList"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true" multiple="false">
|
vflex="true" multiple="false">
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader id="lhId" width="70px" image="/gui/img/builder.gif"
|
<listheader id="lhId" width="70px"
|
||||||
|
image="/gui/img/builder.gif"
|
||||||
label="${c:l('busquedaEmpresaController.lhId.label')}"
|
label="${c:l('busquedaEmpresaController.lhId.label')}"
|
||||||
sort="auto(empresaId)"/>
|
sort="auto(empresaId)" />
|
||||||
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
|
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('busquedaEmpresaController.lhDesc.label')}"
|
label="${c:l('busquedaEmpresaController.lhDesc.label')}"
|
||||||
sort="auto(nombempresa)"/>
|
sort="auto(nombempresa)" />
|
||||||
<listheader image="/gui/img/create_doc.gif" width="100px"
|
|
||||||
label="${c:l('editarEmpresaController.externa.label')}"
|
|
||||||
sort="auto(indExterna)"/>
|
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('editarEmpresaController.IndTipo.label')}"
|
label="${c:l('editarEmpresaController.IndTipo.label')}"
|
||||||
sort="auto(indTipo)"/>
|
sort="auto(indTipo)" />
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('editarEmpresaController.rfc.label')}"
|
label="${c:l('editarEmpresaController.rfc.label')}"
|
||||||
sort="auto(rfc)"/>
|
sort="auto(rfc)" />
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('editarEmpresaController.cnpj.label')}"
|
label="${c:l('editarEmpresaController.cnpj.label')}"
|
||||||
sort="auto(cnpj)"/>
|
sort="auto(cnpj)" />
|
||||||
<listheader id="headerEquivalencia" image="/gui/img/create_doc.gif"
|
<listheader id="headerEquivalencia"
|
||||||
label="${c:l('lb.Equivalencia')}"
|
image="/gui/img/create_doc.gif" label="${c:l('lb.Equivalencia')}"
|
||||||
sort="auto(equivalenciaId)"/>
|
sort="auto(equivalenciaId)" />
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -5,57 +5,64 @@
|
||||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winBusquedaFormaPago" title="${c:l('busquedaFormaPagoController.window.title')}"
|
<window id="winBusquedaFormaPago"
|
||||||
|
title="${c:l('busquedaFormaPagoController.window.title')}"
|
||||||
apply="${busquedaFormaPagoController}" contentStyle="overflow:auto"
|
apply="${busquedaFormaPagoController}" contentStyle="overflow:auto"
|
||||||
height="350px" width="600px" border="normal" >
|
height="350px" width="600px" border="normal">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
<button id="btnRefresh" image="/gui/img/refresh.png"
|
||||||
|
width="35px"
|
||||||
tooltiptext="${c:l('busquedaFormaPagoController.btnRefresh.tooltiptext')}" />
|
tooltiptext="${c:l('busquedaFormaPagoController.btnRefresh.tooltiptext')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaFormaPagoController.btnNovo.tooltiptext')}" />
|
tooltiptext="${c:l('busquedaFormaPagoController.btnNovo.tooltiptext')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnCerrar" onClick="winBusquedaFormaPago.detach()" image="/gui/img/exit.png" width="35px"
|
<button id="btnCerrar"
|
||||||
tooltiptext="${c:l('busquedaFormaPagoController.btnCerrar.tooltiptext')}"/>
|
onClick="winBusquedaFormaPago.detach()" image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaFormaPagoController.btnCerrar.tooltiptext')}" />
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="20%" />
|
<column width="30%" />
|
||||||
<column width="80%" />
|
<column width="70%" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('busquedaFormaPagoController.txtNome.label')}"/>
|
<label
|
||||||
|
value="${c:l('busquedaFormaPagoController.txtNome.label')}" />
|
||||||
<textbox id="txtNome" width="300px"
|
<textbox id="txtNome" width="300px"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row id="rowEquivalencia">
|
<row id="rowEquivalencia">
|
||||||
<label value="${c:l('lb.Equivalencia')}"/>
|
<label value="${c:l('lb.Equivalencia')}" />
|
||||||
<textbox id="txtEquivalencia" width="100px" maxlength="10"
|
<textbox id="txtEquivalencia" width="100px"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
maxlength="10"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnPesquisa" image="/gui/img/find.png"
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
label="${c:l('busquedaFormaPagoController.btnPesquisa.label')}"/>
|
label="${c:l('busquedaFormaPagoController.btnPesquisa.label')}" />
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<paging id="pagingFormaPago" pageSize="15"/>
|
<paging id="pagingFormaPago" pageSize="15" />
|
||||||
<listbox id="formaPagoList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
<listbox id="formaPagoList"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true" multiple="false">
|
vflex="true" multiple="false">
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('busquedaFormaPagoController.lhId.label')}" width="70px"
|
label="${c:l('busquedaFormaPagoController.lhId.label')}"
|
||||||
sort="auto(formapagoId)"/>
|
width="70px" sort="auto(formapagoId)" />
|
||||||
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
|
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('busquedaFormaPagoController.lhDesc.label')}"
|
label="${c:l('busquedaFormaPagoController.lhDesc.label')}"
|
||||||
sort="auto(descpago)"/>
|
sort="auto(descpago)" />
|
||||||
<listheader id="headerEquivalencia" image="/gui/img/create_doc.gif"
|
<listheader id="headerEquivalencia"
|
||||||
label="${c:l('lb.Equivalencia')}"
|
image="/gui/img/create_doc.gif" label="${c:l('lb.Equivalencia')}"
|
||||||
sort="auto(equivalenciaId)"/>
|
sort="auto(equivalenciaId)" />
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -14,9 +14,6 @@
|
||||||
width="35px"
|
width="35px"
|
||||||
tooltiptext="${c:l('busquedaTipoVentaController.btnRefresh.tooltiptext')}" />
|
tooltiptext="${c:l('busquedaTipoVentaController.btnRefresh.tooltiptext')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
|
||||||
tooltiptext="${c:l('busquedaTipoVentaController.btnNovo.tooltiptext')}" />
|
|
||||||
<separator orient="vertical" />
|
|
||||||
<button id="btnCerrar"
|
<button id="btnCerrar"
|
||||||
onClick="winBusquedaTipoVenta.detach()" image="/gui/img/exit.png"
|
onClick="winBusquedaTipoVenta.detach()" image="/gui/img/exit.png"
|
||||||
width="35px"
|
width="35px"
|
||||||
|
|
|
@ -64,11 +64,6 @@
|
||||||
label="${c:l('editarEmpresaController.IndTipo.3')}" />
|
label="${c:l('editarEmpresaController.IndTipo.3')}" />
|
||||||
</combobox>
|
</combobox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
|
||||||
<label id="lbExterna"
|
|
||||||
value="${c:l('editarEmpresaController.externa.label')}" />
|
|
||||||
<checkbox id="chkExterna" />
|
|
||||||
</row>
|
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarEmpresaController.rfc.label')}" />
|
value="${c:l('editarEmpresaController.rfc.label')}" />
|
||||||
|
|
|
@ -6,21 +6,21 @@
|
||||||
|
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winEditarFormaPago" border="normal"
|
<window id="winEditarFormaPago" border="normal"
|
||||||
apply="${editarFormaPagoController}"
|
apply="${editarFormaPagoController}" width="400px" height="457x"
|
||||||
width="400px" height="457x" contentStyle="overflow:auto"
|
contentStyle="overflow:auto"
|
||||||
title="${c:l('editarFormaPagoController.window.title')}">
|
title="${c:l('editarFormaPagoController.window.title')}">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px" align="right">
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
<button id="btnApagar" height="20"
|
<button id="btnApagar" height="20"
|
||||||
image="/gui/img/remove.png" width="35px"
|
image="/gui/img/remove.png" width="35px"
|
||||||
tooltiptext="${c:l('editarFormaPagoController.btnApagar.tooltiptext')}"/>
|
tooltiptext="${c:l('editarFormaPagoController.btnApagar.tooltiptext')}" />
|
||||||
<button id="btnSalvar" height="20"
|
<button id="btnSalvar" height="20"
|
||||||
image="/gui/img/save.png" width="35px"
|
image="/gui/img/save.png" width="35px"
|
||||||
tooltiptext="${c:l('editarFormaPagoController.btnSalvar.tooltiptext')}"/>
|
tooltiptext="${c:l('editarFormaPagoController.btnSalvar.tooltiptext')}" />
|
||||||
<button id="btnFechar" height="20"
|
<button id="btnFechar" height="20"
|
||||||
image="/gui/img/exit.png" width="35px"
|
image="/gui/img/exit.png" width="35px"
|
||||||
onClick="winEditarFormaPago.detach()"
|
onClick="winEditarFormaPago.detach()"
|
||||||
tooltiptext="${c:l('editarFormaPagoController.btnFechar.tooltiptext')}"/>
|
tooltiptext="${c:l('editarFormaPagoController.btnFechar.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
|
@ -31,25 +31,34 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbNome" value="${c:l('editarFormaPagoController.lbNome.value')}"/>
|
<label id="lbNome"
|
||||||
<textbox id="txtNome" constraint="no empty" width="90%" maxlength="30"
|
value="${c:l('editarFormaPagoController.lbNome.value')}" />
|
||||||
|
<textbox id="txtNome" constraint="no empty"
|
||||||
|
width="90%" maxlength="30"
|
||||||
value="@{winEditarFormaPago$composer.formaPago.descpago}"
|
value="@{winEditarFormaPago$composer.formaPago.descpago}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row id="rowEquivalencia">
|
<row id="rowEquivalencia">
|
||||||
<label value="${c:l('lb.Equivalencia')}"/>
|
<label value="${c:l('lb.Equivalencia')}" />
|
||||||
<textbox id="txtEquivalencia" width="100px" maxlength="10"
|
<textbox id="txtEquivalencia" width="100px"
|
||||||
|
maxlength="10"
|
||||||
value="@{winEditarFormaPago$composer.formaPago.equivalenciaId}"
|
value="@{winEditarFormaPago$composer.formaPago.equivalenciaId}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row visible="false"><!-- Adaptacao Brasil -->
|
||||||
<label value="${c:l('editarFormaPagoController.lbOperacion.value')}"/>
|
<label
|
||||||
|
value="${c:l('editarFormaPagoController.lbOperacion.value')}" />
|
||||||
<radiogroup id="radioIndOperacion">
|
<radiogroup id="radioIndOperacion">
|
||||||
<vbox>
|
<vbox>
|
||||||
<radio value="1" id="rd1" label="${c:l('editarFormaPagoController.lbOperacion1.value')}" />
|
<radio value="1" id="rd1"
|
||||||
<radio value="2" id="rd2" label="${c:l('editarFormaPagoController.lbOperacion2.value')}" />
|
label="${c:l('editarFormaPagoController.lbOperacion1.value')}" />
|
||||||
<radio value="3" id="rd3" label="${c:l('editarFormaPagoController.lbOperacion3.value')}" />
|
<radio value="2" id="rd2"
|
||||||
<radio value="4" id="rd4" label="${c:l('editarFormaPagoController.lbOperacion4.value')}" checked="true"/>
|
label="${c:l('editarFormaPagoController.lbOperacion2.value')}" />
|
||||||
|
<radio value="3" id="rd3"
|
||||||
|
label="${c:l('editarFormaPagoController.lbOperacion3.value')}" />
|
||||||
|
<radio value="4" id="rd4"
|
||||||
|
label="${c:l('editarFormaPagoController.lbOperacion4.value')}"
|
||||||
|
checked="true" />
|
||||||
</vbox>
|
</vbox>
|
||||||
</radiogroup>
|
</radiogroup>
|
||||||
</row>
|
</row>
|
||||||
|
|
|
@ -7,22 +7,19 @@
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winBusquedaRestriccionFormaPago" title="${c:l('busquedaRestriccionFormaPagoController.window.title')}"
|
<window id="winBusquedaRestriccionFormaPago" title="${c:l('busquedaRestriccionFormaPagoController.window.title')}"
|
||||||
apply="${busquedaRestriccionFormaPagoController}" contentStyle="overflow:auto"
|
apply="${busquedaRestriccionFormaPagoController}" contentStyle="overflow:auto"
|
||||||
height="500px" width="600px" border="normal" >
|
height="450px" width="650px" border="normal" >
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaRestriccionFormaPagoController.btnRefresh.tooltiptext')}" />
|
tooltiptext="${c:l('busquedaRestriccionFormaPagoController.btnRefresh.tooltiptext')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
|
||||||
tooltiptext="${c:l('busquedaRestriccionFormaPagoController.btnNovo.tooltiptext')}" />
|
|
||||||
<separator orient="vertical" />
|
|
||||||
<button id="btnCerrar" onClick="winBusquedaRestriccionFormaPago.detach()" image="/gui/img/exit.png" width="35px"
|
<button id="btnCerrar" onClick="winBusquedaRestriccionFormaPago.detach()" image="/gui/img/exit.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaRestriccionFormaPagoController.btnCerrar.tooltiptext')}"/>
|
tooltiptext="${c:l('busquedaRestriccionFormaPagoController.btnCerrar.tooltiptext')}"/>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="20%" />
|
<column width="30%" />
|
||||||
<column width="80%" />
|
<column width="70%" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
|
|
|
@ -6,21 +6,15 @@
|
||||||
|
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winEditarRestriccionFormaPago" border="normal"
|
<window id="winEditarRestriccionFormaPago" border="normal"
|
||||||
apply="${editarRestriccionFormaPagoController}"
|
apply="${editarRestriccionFormaPagoController}" width="400px"
|
||||||
width="400px" height="400x" contentStyle="overflow:auto"
|
height="400x" contentStyle="overflow:auto"
|
||||||
title="${c:l('editarRestriccionFormaPagoController.window.title')}">
|
title="${c:l('editarRestriccionFormaPagoController.window.title')}">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px" align="right">
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
<button id="btnApagar" height="20"
|
|
||||||
image="/gui/img/remove.png" width="35px"
|
|
||||||
tooltiptext="${c:l('editarRestriccionFormaPagoController.btnApagar.tooltiptext')}"/>
|
|
||||||
<button id="btnSalvar" height="20"
|
|
||||||
image="/gui/img/save.png" width="35px"
|
|
||||||
tooltiptext="${c:l('editarRestriccionFormaPagoController.btnSalvar.tooltiptext')}"/>
|
|
||||||
<button id="btnFechar" height="20"
|
<button id="btnFechar" height="20"
|
||||||
image="/gui/img/exit.png" width="35px"
|
image="/gui/img/exit.png" width="35px"
|
||||||
onClick="winEditarRestriccionFormaPago.detach()"
|
onClick="winEditarRestriccionFormaPago.detach()"
|
||||||
tooltiptext="${c:l('editarRestriccionFormaPagoController.btnFechar.tooltiptext')}"/>
|
tooltiptext="${c:l('editarRestriccionFormaPagoController.btnFechar.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
|
@ -31,18 +25,22 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label id="lblFormaPago" value="${c:l('busquedaRestriccionFormaPagoController.FormaPago')}"/>
|
<label id="lblFormaPago"
|
||||||
<combobox id="cmbFormaPago" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
|
value="${c:l('busquedaRestriccionFormaPagoController.FormaPago')}" />
|
||||||
mold="rounded" buttonVisible="true"
|
<combobox id="cmbFormaPago"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||||
model="@{winEditarRestriccionFormaPago$composer.lsFormaPago}"
|
model="@{winEditarRestriccionFormaPago$composer.lsFormaPago}"
|
||||||
selectedItem="@{winEditarRestriccionFormaPago$composer.configRestriccionPago.formaPago}"/>
|
selectedItem="@{winEditarRestriccionFormaPago$composer.configRestriccionPago.formaPago}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lblRestricionFormaPago" value="${c:l('editarRestriccionFormaPagoController.lblRestricionFormaPago.value')}"/>
|
<label id="lblRestricionFormaPago"
|
||||||
<combobox id="cmbRestriccionFormaPago" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
|
value="${c:l('editarRestriccionFormaPagoController.lblRestricionFormaPago.value')}" />
|
||||||
mold="rounded" buttonVisible="true"
|
<combobox id="cmbRestriccionFormaPago"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||||
model="@{winEditarRestriccionFormaPago$composer.lsRestriccionPago}"
|
model="@{winEditarRestriccionFormaPago$composer.lsRestriccionPago}"
|
||||||
selectedItem="@{winEditarRestriccionFormaPago$composer.configRestriccionPago.restriccion}"/>
|
selectedItem="@{winEditarRestriccionFormaPago$composer.configRestriccionPago.restriccion}" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
Loading…
Reference in New Issue