- Tela de impostos
- Utilitarios para conversão de valores - Alteração do padrão de exibição e inserção de campos monetários para utilização do padrão brasileiro git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@28623 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4b05c7148d
commit
11da08f4f6
|
@ -6,7 +6,9 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -16,6 +18,7 @@ import org.zkoss.util.resource.Labels;
|
||||||
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.zk.ui.event.EventListener;
|
||||||
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;
|
||||||
|
@ -26,8 +29,10 @@ import org.zkoss.zul.Row;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
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.Estado;
|
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||||
import com.rjconsultores.ventaboletos.service.CiudadService;
|
import com.rjconsultores.ventaboletos.service.CiudadService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||||
|
@ -35,6 +40,7 @@ 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 com.rjconsultores.ventaboletos.web.utilerias.render.RenderEmpresaImposto;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -49,6 +55,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaService empresaService;
|
private EmpresaService empresaService;
|
||||||
@Autowired
|
@Autowired
|
||||||
|
private EmpresaImpostoService empresaImpostoService;
|
||||||
|
@Autowired
|
||||||
private EstadoService estadoService;
|
private EstadoService estadoService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private CiudadService ciudadService;
|
private CiudadService ciudadService;
|
||||||
|
@ -56,9 +64,12 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private MyListbox empresaList;
|
private MyListbox empresaList;
|
||||||
private MyTextbox txtNome;
|
private MyTextbox txtNome;
|
||||||
private MyTextbox txtCNPJ;
|
private MyTextbox txtCNPJ;
|
||||||
|
private MyListbox empresaImpostoList;
|
||||||
|
private List<EmpresaImposto> lsEmpresaImposto;
|
||||||
private Button btnApagar;
|
private Button btnApagar;
|
||||||
private Combobox cmbIndTipo;
|
private Combobox cmbIndTipo;
|
||||||
private Combobox cmbEstado;
|
private Combobox cmbEstado;
|
||||||
|
private Combobox cmbEstadoImposto;
|
||||||
private Combobox cmbCidade;
|
private Combobox cmbCidade;
|
||||||
private Row rowEquivalencia;
|
private Row rowEquivalencia;
|
||||||
private List<Estado> lsEstados;
|
private List<Estado> lsEstados;
|
||||||
|
@ -90,13 +101,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEstados = estadoService.obtenerTodos();
|
empresa = (Empresa) Executions.getCurrent().getArg().get("empresa");
|
||||||
|
empresaList = (MyListbox) Executions.getCurrent().getArg().get("empresaList");
|
||||||
|
|
||||||
|
lsEstados = estadoService.buscarNotInEmpresaImposto(empresa);
|
||||||
lsCidades = new ArrayList<Ciudad>();
|
lsCidades = new ArrayList<Ciudad>();
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
empresa = (Empresa) Executions.getCurrent().getArg().get("empresa");
|
empresaImpostoList.setItemRenderer(new RenderEmpresaImposto());
|
||||||
empresaList = (MyListbox) Executions.getCurrent().getArg().get("empresaList");
|
empresaImpostoList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
EmpresaImposto empresaImposto = (EmpresaImposto) empresaImpostoList.getSelected();
|
||||||
|
abrirEmpresaImposto(empresaImposto);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if (empresa.getEmpresaId() != null) {
|
||||||
|
empresa = empresaService.obtenerID(empresa.getEmpresaId());
|
||||||
|
|
||||||
|
lsEmpresaImposto = empresaImpostoService.buscarByEmpresa(empresa);
|
||||||
|
|
||||||
|
empresaImpostoList.setData(lsEmpresaImposto);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
txtNome.focus();
|
txtNome.focus();
|
||||||
|
|
||||||
|
@ -117,6 +146,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
if (!ApplicationProperties.getInstance().mostrarEquivalencia()) {
|
if (!ApplicationProperties.getInstance().mostrarEquivalencia()) {
|
||||||
rowEquivalencia.setVisible(Boolean.FALSE);
|
rowEquivalencia.setVisible(Boolean.FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
@ -212,4 +242,49 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
cmbCidade.setModel(listModelCiudad);
|
cmbCidade.setModel(listModelCiudad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$btnAdicionarEstadoImposto(Event ev) throws InterruptedException {
|
||||||
|
if (cmbEstadoImposto.getSelectedItem() == null) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error.combobox"),
|
||||||
|
Labels.getLabel("editarPricingController.windowMarca.title"),
|
||||||
|
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Estado estado = (Estado) cmbEstadoImposto.getSelectedItem().getValue();
|
||||||
|
|
||||||
|
EmpresaImposto empresaImposto = new EmpresaImposto();
|
||||||
|
|
||||||
|
empresaImposto.setEstado(estado);
|
||||||
|
empresaImposto.setEmpresa(empresa);
|
||||||
|
|
||||||
|
empresaImpostoService.suscribir(empresaImposto);
|
||||||
|
|
||||||
|
lsEmpresaImposto.add(empresaImposto);
|
||||||
|
|
||||||
|
List<EmpresaImposto> lsEmpresaImpostoAtivo = new ArrayList<EmpresaImposto>();
|
||||||
|
for (EmpresaImposto rc : lsEmpresaImposto) {
|
||||||
|
if (rc.getActivo()) {
|
||||||
|
lsEmpresaImpostoAtivo.add(rc);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
empresaImpostoList.setData(lsEmpresaImpostoAtivo);
|
||||||
|
|
||||||
|
cmbEstadoImposto.getSelectedItem().setVisible(false);
|
||||||
|
cmbEstadoImposto.setSelectedIndex(-1);
|
||||||
|
|
||||||
|
this.abrirEmpresaImposto(empresaImposto);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void abrirEmpresaImposto(EmpresaImposto empresaImposto) {
|
||||||
|
Map args = new HashMap();
|
||||||
|
args.put("empresaImposto", empresaImposto);
|
||||||
|
args.put("empresaImpostoList", empresaImpostoList);
|
||||||
|
|
||||||
|
openWindow("/gui/catalogos/editarEmpresaImposto.zul",
|
||||||
|
Labels.getLabel("editarEmpresaImpostoController.window.title"), args, MODAL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,115 @@
|
||||||
|
/*
|
||||||
|
* To change this template, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
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.EmpresaImposto;
|
||||||
|
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Rafius
|
||||||
|
*/
|
||||||
|
@Controller("editarEmpresaImpostoController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarEmpresaImpostoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
private static Logger log = Logger.getLogger(EditarEmpresaImpostoController.class);
|
||||||
|
|
||||||
|
|
||||||
|
private EmpresaImposto empresaImposto;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private EmpresaImpostoService empresaImpostoService;
|
||||||
|
|
||||||
|
private MyListbox empresaImpostoList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the empresaImposto
|
||||||
|
*/
|
||||||
|
public EmpresaImposto getEmpresaImposto() {
|
||||||
|
return empresaImposto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param empresaImposto
|
||||||
|
* the empresaImposto to set
|
||||||
|
*/
|
||||||
|
public void setEmpresaImposto(EmpresaImposto empresaImposto) {
|
||||||
|
this.empresaImposto = empresaImposto;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
EmpresaImposto empresaImposto = (EmpresaImposto) Executions.getCurrent().getArg().get("empresaImposto");
|
||||||
|
this.empresaImpostoList = (MyListbox) Executions.getCurrent().getArg().get("empresaImpostoList");
|
||||||
|
|
||||||
|
this.empresaImposto = empresaImpostoService.obtenerID(empresaImposto.getEmpresaImpostoId());
|
||||||
|
|
||||||
|
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnEmpresaImpostoSalvar(Event ev) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
|
||||||
|
empresaImpostoService.actualizacion(this.empresaImposto);
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarEmpresaImpostoController.window.sucessoSalvar"),
|
||||||
|
Labels.getLabel("editarEmpresaController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
|
||||||
|
} catch (Exception ex) {
|
||||||
|
|
||||||
|
log.error("editarEmpresaController: " + ex);
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel("editarEmpresaController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnEmpresaImpostoApagar(Event ev) {
|
||||||
|
try {
|
||||||
|
int resp = Messagebox.show(
|
||||||
|
"Deseja apagar este registro?",
|
||||||
|
Labels.getLabel("editarEmpresaController.window.title"),
|
||||||
|
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||||
|
|
||||||
|
if (resp == Messagebox.YES) {
|
||||||
|
|
||||||
|
empresaImpostoService.borrar(this.empresaImposto);
|
||||||
|
|
||||||
|
this.empresaImpostoList.removeItem(this.empresaImposto);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarEmpresaImpostoController.window.sucessoApagar"),
|
||||||
|
Labels.getLabel("editarEmpresaController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
}
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.error(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -17,6 +17,7 @@ import org.zkoss.util.resource.Labels;
|
||||||
import org.zkoss.zhtml.Messagebox;
|
import org.zkoss.zhtml.Messagebox;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zul.Button;
|
import org.zkoss.zul.Button;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Comboitem;
|
||||||
import org.zkoss.zul.ComboitemRenderer;
|
import org.zkoss.zul.ComboitemRenderer;
|
||||||
|
@ -24,6 +25,7 @@ import org.zkoss.zul.Datebox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Corrida;
|
import com.rjconsultores.ventaboletos.entidad.Corrida;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.render.RenderRelatorioJasper;
|
import com.rjconsultores.ventaboletos.relatorios.render.RenderRelatorioJasper;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
@ -77,6 +79,16 @@ public class RelatorioAproveitamentoController extends MyGenericForwardComposer
|
||||||
|
|
||||||
corridaList.setItemRenderer(new RenderCorridaAproveitamento());
|
corridaList.setItemRenderer(new RenderCorridaAproveitamento());
|
||||||
|
|
||||||
|
|
||||||
|
corridaList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
executarRelatorio();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
btnExecutarRelatorio.setDisabled(true);
|
btnExecutarRelatorio.setDisabled(true);
|
||||||
|
|
||||||
cmbParadaOrigemCve.setItemRenderer(new ComboitemRenderer() {
|
cmbParadaOrigemCve.setItemRenderer(new ComboitemRenderer() {
|
||||||
|
|
|
@ -6,6 +6,8 @@ package com.rjconsultores.ventaboletos.web.utilerias;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.text.DecimalFormat;
|
import java.text.DecimalFormat;
|
||||||
|
import java.util.Locale;
|
||||||
|
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zkplus.databind.TypeConverter;
|
import org.zkoss.zkplus.databind.TypeConverter;
|
||||||
|
|
||||||
|
@ -23,7 +25,7 @@ public class StringDecimalToDecimalConverter implements TypeConverter {
|
||||||
if (format == null) {
|
if (format == null) {
|
||||||
format = FORMAT;
|
format = FORMAT;
|
||||||
}
|
}
|
||||||
DecimalFormat df = new DecimalFormat(format, new java.text.DecimalFormatSymbols(java.util.Locale.US));
|
DecimalFormat df = new DecimalFormat(format, new java.text.DecimalFormatSymbols(new Locale("pt", "BR")));
|
||||||
return df.format(val);
|
return df.format(val);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
@ -36,7 +38,9 @@ public class StringDecimalToDecimalConverter implements TypeConverter {
|
||||||
|
|
||||||
if (val instanceof String) {
|
if (val instanceof String) {
|
||||||
|
|
||||||
return (val.toString().trim().isEmpty()) ? (BigDecimal) null : new BigDecimal(val.toString().replace(",", ""));
|
System.out.println(val.toString());
|
||||||
|
|
||||||
|
return (val.toString().trim().isEmpty()) ? (BigDecimal) null : new BigDecimal(val.toString().replace(".", "").replace(",", "."));
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
/*
|
||||||
|
* To change this template, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.text.DecimalFormat;
|
||||||
|
import java.text.NumberFormat;
|
||||||
|
import java.util.Locale;
|
||||||
|
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zkplus.databind.TypeConverter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Administrador
|
||||||
|
*/
|
||||||
|
public class StringPercentToDecimalConverter implements TypeConverter {
|
||||||
|
|
||||||
|
private static final String FORMAT = "#####0.00";
|
||||||
|
|
||||||
|
public Object coerceToUi(Object val, Component comp) {
|
||||||
|
if (val != null) {
|
||||||
|
String format = (String) comp.getAttribute("format");
|
||||||
|
if (format == null) {
|
||||||
|
format = FORMAT;
|
||||||
|
}
|
||||||
|
DecimalFormat df = new DecimalFormat(format, new java.text.DecimalFormatSymbols(new Locale("us")));
|
||||||
|
return df.format(val);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object coerceToBean(Object val, Component cmpnt) {
|
||||||
|
if (val == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (val instanceof String) {
|
||||||
|
|
||||||
|
return (val.toString().trim().isEmpty()) ? (BigDecimal) null : new BigDecimal(val.toString().replace(",", ""));
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
/*
|
||||||
|
* To change this template, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||||
|
|
||||||
|
import org.zkoss.zul.Listcell;
|
||||||
|
import org.zkoss.zul.Listitem;
|
||||||
|
import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Bruno H. G. Gouvêa <bruno@rjconsultores.com.br>
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class RenderEmpresaImposto implements ListitemRenderer {
|
||||||
|
|
||||||
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
|
EmpresaImposto empresaImposto = (EmpresaImposto) o;
|
||||||
|
|
||||||
|
Listcell lc = new Listcell(empresaImposto.getEstado().getNombestado());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
lstm.setAttribute("data", empresaImposto);
|
||||||
|
}
|
||||||
|
}
|
|
@ -101,6 +101,7 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.Division</value>
|
<value>com.rjconsultores.ventaboletos.entidad.Division</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.Empleado</value>
|
<value>com.rjconsultores.ventaboletos.entidad.Empleado</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.Empresa</value>
|
<value>com.rjconsultores.ventaboletos.entidad.Empresa</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaImposto</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaEquivalencia
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaEquivalencia
|
||||||
</value>
|
</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.Estacion</value>
|
<value>com.rjconsultores.ventaboletos.entidad.Estacion</value>
|
||||||
|
|
|
@ -506,6 +506,7 @@ editarEmpresaController.equivalenciaElektraId.label = Equivalencia
|
||||||
editarEmpresaController.rfc.label = DOC
|
editarEmpresaController.rfc.label = DOC
|
||||||
editarEmpresaController.cnpj.label = CNPJ
|
editarEmpresaController.cnpj.label = CNPJ
|
||||||
editarEmpresaController.endereco.label = Endereço
|
editarEmpresaController.endereco.label = Endereço
|
||||||
|
editarEmpresaController.impostos.label = Impostos
|
||||||
editarEmpresaController.logradouro.label = Logradouro
|
editarEmpresaController.logradouro.label = Logradouro
|
||||||
editarEmpresaController.numero.label = Numero
|
editarEmpresaController.numero.label = Numero
|
||||||
editarEmpresaController.complemento.label = Complemento
|
editarEmpresaController.complemento.label = Complemento
|
||||||
|
@ -514,6 +515,45 @@ editarEmpresaController.bairro.label = Bairro
|
||||||
editarEmpresaController.cidade.label = Cidade
|
editarEmpresaController.cidade.label = Cidade
|
||||||
editarEmpresaController.estado.label = Estado
|
editarEmpresaController.estado.label = Estado
|
||||||
|
|
||||||
|
|
||||||
|
#Empresa Imposto
|
||||||
|
editarEmpresaImpostoController.window.title = Configuração de Imposto por Empresa/Estado
|
||||||
|
editarEmpresaImpostoController.labelIcms.value = ICMS
|
||||||
|
editarEmpresaImpostoController.labelRedMunicial.value = Redutor ICMS Intermunicipal
|
||||||
|
editarEmpresaImpostoController.labelRedEstadual.value = Redutor ICMS Interestadual
|
||||||
|
editarEmpresaImpostoController.labelRedIcms.value = Redutor Base de Cálculo ICMS
|
||||||
|
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
||||||
|
editarEmpresaImpostoController.btnSalvar.tooltiptext = Salvar
|
||||||
|
editarEmpresaImpostoController.btnFechar.tooltiptext = Fechar
|
||||||
|
|
||||||
|
editarEmpresaImpostoController.lblValores.value = Valores
|
||||||
|
editarEmpresaImpostoController.lblBasedeCalculo.value = Base de Cálculo ICMS Intermunicipal
|
||||||
|
editarEmpresaImpostoController.lblBasedeCalculoInterestadual.value = Base de Cálculo ICMS Interestadual
|
||||||
|
|
||||||
|
editarEmpresaImpostoController.window.sucessoApagar=Configuração de imposto apagada com sucesso!
|
||||||
|
editarEmpresaImpostoController.window.sucessoSalvar=Configuração de imposto salva com sucesso!
|
||||||
|
|
||||||
|
editarEmpresaImpostoController.lblTarifa.value = Tarifa
|
||||||
|
editarEmpresaImpostoController.lblSeguro.value = Seguro
|
||||||
|
editarEmpresaImpostoController.lblTxEmbarque.value = Taxa de embarque
|
||||||
|
editarEmpresaImpostoController.lblPedagio.value = Pedagio
|
||||||
|
editarEmpresaImpostoController.lblAltaTemporada.value = Alta Temporada
|
||||||
|
editarEmpresaImpostoController.lblJaneiro.value = Janeiro
|
||||||
|
editarEmpresaImpostoController.lblFevereiro.value = Fevereiro
|
||||||
|
editarEmpresaImpostoController.lblMarco.value = Março
|
||||||
|
editarEmpresaImpostoController.lblAbril.value = Abril
|
||||||
|
editarEmpresaImpostoController.lblMaio.value = Maio
|
||||||
|
editarEmpresaImpostoController.lblJunho.value = Junho
|
||||||
|
editarEmpresaImpostoController.lblJulho.value = Julho
|
||||||
|
editarEmpresaImpostoController.lblAgosto.value = Agosto
|
||||||
|
editarEmpresaImpostoController.lblSetembro.value = Setembro
|
||||||
|
editarEmpresaImpostoController.lblOutubro.value = Outubro
|
||||||
|
editarEmpresaImpostoController.lblNovembro.value = Novembro
|
||||||
|
editarEmpresaImpostoController.lblDezembro.value = Dezembro
|
||||||
|
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar outros como isento
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Muestra o ponto de Pesquisa de Venda
|
# Muestra o ponto de Pesquisa de Venda
|
||||||
busquedaPuntoVentaController.window.title = Ponto de Venda ( Agência )
|
busquedaPuntoVentaController.window.title = Ponto de Venda ( Agência )
|
||||||
busquedaPuntoVentaController.btnRefresh.tooltiptext = Atualizar
|
busquedaPuntoVentaController.btnRefresh.tooltiptext = Atualizar
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
label="${c:l('editarEmpresaController.lbNome.value')}" />
|
label="${c:l('editarEmpresaController.lbNome.value')}" />
|
||||||
<tab
|
<tab
|
||||||
label="${c:l('editarEmpresaController.endereco.label')}" />
|
label="${c:l('editarEmpresaController.endereco.label')}" />
|
||||||
|
<tab
|
||||||
|
label="${c:l('editarEmpresaController.impostos.label')}" />
|
||||||
</tabs>
|
</tabs>
|
||||||
<tabpanels>
|
<tabpanels>
|
||||||
<tabpanel>
|
<tabpanel>
|
||||||
|
@ -149,6 +151,43 @@
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
<tabpanel>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="20%" />
|
||||||
|
<column width="80%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaController.estado.label')}" />
|
||||||
|
<hbox>
|
||||||
|
|
||||||
|
|
||||||
|
<combobox id="cmbEstadoImposto"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||||
|
width="70%" model="@{winEditarEmpresa$composer.lsEstados}"
|
||||||
|
selectedItem="@{winEditarPuntoVenta$composer.empresa.cidade.estado}" />
|
||||||
|
|
||||||
|
<button id="btnAdicionarEstadoImposto"
|
||||||
|
height="20" image="/gui/img/add.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
||||||
|
|
||||||
|
</hbox>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<listbox id="empresaImpostoList"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
vflex="true" multiple="false">
|
||||||
|
<listhead sizable="true">
|
||||||
|
<listheader id="lhEstadoEmpresa"
|
||||||
|
image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('editarEmpresaController.estado.label')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</tabpanel>
|
||||||
</tabpanels>
|
</tabpanels>
|
||||||
</tabbox>
|
</tabbox>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -0,0 +1,293 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarEmpresaImposto"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winEditarEmpresaImposto" border="normal"
|
||||||
|
apply="${editarEmpresaImpostoController}" width="500px"
|
||||||
|
contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarEmpresaImpostoController.window.title')}">
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnEmpresaImpostoApagar" height="20"
|
||||||
|
image="/gui/img/remove.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarEmpresaImpostoController.btnApagar.tooltiptext')}" />
|
||||||
|
<button id="btnEmpresaImpostoSalvar" height="20"
|
||||||
|
image="/gui/img/save.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarEmpresaImpostoController.btnSalvar.tooltiptext')}" />
|
||||||
|
<button id="btnFechar" height="20"
|
||||||
|
image="/gui/img/exit.png" width="35px"
|
||||||
|
onClick="winEditarEmpresaImposto.detach()"
|
||||||
|
tooltiptext="${c:l('editarEmpresaImpostoController.btnFechar.tooltiptext')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
|
||||||
|
<groupbox width="90%">
|
||||||
|
<caption sclass="block">
|
||||||
|
<div sclass="folder">
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblValores.value')}" />
|
||||||
|
</div>
|
||||||
|
</caption>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.labelIcms.value')}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.labelRedMunicial.value')}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.labelRedEstadual.value')}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
|
||||||
|
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<textbox id="txtIcms" width="50px" precision="7"
|
||||||
|
scale="2"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
|
constraint="no empty"
|
||||||
|
value="@{winEditarEmpresaImposto$composer.empresaImposto.icms,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
||||||
|
<textbox id="txtPorCredMunicipal" width="50px"
|
||||||
|
precision="7" scale="2"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
|
value="@{winEditarEmpresaImposto$composer.empresaImposto.porCredMunicipal,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
||||||
|
<textbox id="txtPorCredEstadual" width="50px"
|
||||||
|
precision="7" scale="2"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
|
value="@{winEditarEmpresaImposto$composer.empresaImposto.porCredEstadual,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
||||||
|
<textbox id="txtPorCredBaseIcms" width="50px"
|
||||||
|
precision="7" scale="2"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
|
value="@{winEditarEmpresaImposto$composer.empresaImposto.porCredBaseIcms,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
||||||
|
|
||||||
|
</row>
|
||||||
|
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</groupbox>
|
||||||
|
|
||||||
|
<groupbox width="90%">
|
||||||
|
<caption sclass="block">
|
||||||
|
<div sclass="folder">
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblBasedeCalculo.value')}">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</caption>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndTarifaMunicipal"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTarifaMunicipal}" />
|
||||||
|
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblTarifa.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndSeguroMunicipal"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indSeguroMunicipal}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblSeguro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndTxEmbarqueMunicipal"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTxEmbarqueMunicipal}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblTxEmbarque.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndPedagioMunicipal"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indPedagioMunicipal}" />
|
||||||
|
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblPedagio.value')}" />
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</groupbox>
|
||||||
|
|
||||||
|
<groupbox width="90%">
|
||||||
|
<caption sclass="block">
|
||||||
|
<div sclass="folder">
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblBasedeCalculoInterestadual.value')}">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</caption>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndTarifaEstadual"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTarifaEstadual}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblTarifa.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndSeguroEstadual"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indSeguroEstadual}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblSeguro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndTxEmbarqueEstadual"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTxEmbarqueEstadual}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblTxEmbarque.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndPedadioEstdual"
|
||||||
|
width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indPedadioEstdual}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblPedagio.value')}" />
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</groupbox>
|
||||||
|
|
||||||
|
<groupbox width="90%">
|
||||||
|
<caption sclass="block">
|
||||||
|
<div sclass="folder">
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblAltaTemporada.value')}">
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</caption>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="25%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndJaneiro" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indJaneiro}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblJaneiro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndFevereiro" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indFevereiro}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblFevereiro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndMarco" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indMarco}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblMarco.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndAbril" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indAbril}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblAbril.value')}" />
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndMaio" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indMaio}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblMaio.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndJunho" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indJunho}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblJunho.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndJulho" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indJulho}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblJulho.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndAgosto" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indAgosto}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblAgosto.value')}" />
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndSetembro" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indSetembro}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblSetembro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndOutubro" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indOutubro}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblOutubro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndNovembro" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indNovembro}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblNovembro.value')}" />
|
||||||
|
</cell>
|
||||||
|
<cell>
|
||||||
|
<checkbox id="chkIndDezembro" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indDezembro}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblDezembro.value')}" />
|
||||||
|
</cell>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
|
||||||
|
</grid>
|
||||||
|
</groupbox>
|
||||||
|
|
||||||
|
|
||||||
|
<checkbox id="chkIndOutrosIsento" width="50px"
|
||||||
|
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indOutrosIsento}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaImpostoController.lblOutrosIsento.value')}" />
|
||||||
|
|
||||||
|
|
||||||
|
</window>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue