Conflicts solved. fixes bug#Al-4549
commit
bdac7d60e8
10
pom.xml
10
pom.xml
|
@ -4,12 +4,16 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ventaboletosadm</artifactId>
|
<artifactId>ventaboletosadm</artifactId>
|
||||||
|
<<<<<<< HEAD
|
||||||
<version>1.117.3</version>
|
<version>1.117.3</version>
|
||||||
|
=======
|
||||||
|
<version>1.118.0</version>
|
||||||
|
>>>>>>> master
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<modelWeb.version>1.89.0</modelWeb.version>
|
<modelWeb.version>1.90.0</modelWeb.version>
|
||||||
<flyway.version>1.76.1</flyway.version>
|
<flyway.version>1.77.0</flyway.version>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,191 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.apache.logging.log4j.LogManager;
|
||||||
|
import org.apache.logging.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.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zul.Checkbox;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Longbox;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Voucher;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ParadaService;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPadrao;
|
||||||
|
|
||||||
|
@Controller("busquedaVoucherController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class BusquedaVoucherController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static Logger log = LogManager.getLogger(BusquedaVoucherController.class);
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Voucher> plwpagingVoucher;
|
||||||
|
@Autowired
|
||||||
|
private ParadaService paradaService;
|
||||||
|
|
||||||
|
private MyListbox voucherList;
|
||||||
|
private Paging pagingVoucher;
|
||||||
|
private Longbox txtNumVoucher;
|
||||||
|
private Textbox txtNumContrato;
|
||||||
|
private Textbox txtNit;
|
||||||
|
private Textbox txtNome;
|
||||||
|
private Datebox datInicial;
|
||||||
|
private Datebox datFinal;
|
||||||
|
private Combobox cmbOrigem;
|
||||||
|
private Combobox cmbDestino;
|
||||||
|
private Checkbox chkEmitido;
|
||||||
|
private Checkbox chkLegalizado;
|
||||||
|
private Checkbox chkFaturado;
|
||||||
|
private Checkbox chkCancelado;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
voucherList.setItemRenderer(new RenderPadrao<Voucher>(Voucher.class));
|
||||||
|
voucherList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
Voucher cc = (Voucher) voucherList.getSelected();
|
||||||
|
verVoucher(cc);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
refreshLista();
|
||||||
|
|
||||||
|
txtNumVoucher.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
|
private void verVoucher(Voucher gc) {
|
||||||
|
if (gc == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map args = new HashMap();
|
||||||
|
args.put("voucher", gc);
|
||||||
|
args.put("voucherList", voucherList);
|
||||||
|
|
||||||
|
openWindow("/gui/configuraciones_comerciales/negcorporativos/editarVoucher.zul",
|
||||||
|
Labels.getLabel("editarVoucherController.window.title"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void refreshLista() {
|
||||||
|
HibernateSearchObject<Voucher> configBusqueda = new HibernateSearchObject<Voucher>(Voucher.class,pagingVoucher.getPageSize());
|
||||||
|
|
||||||
|
if (txtNumVoucher.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterEqual("voucherId", txtNumVoucher.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (txtNumContrato.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterEqual("numContrato", txtNumContrato.getText());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (txtNit.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterEqual("transportadora.nit", txtNit.getText());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (txtNome.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterLike("transportadora.nomeTransportadora", "%" + txtNome.getText().trim().concat("%"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (datInicial.getValue() != null ) {
|
||||||
|
configBusqueda.addFilterGreaterOrEqual("dataValidade", datInicial.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (datFinal.getValue() != null ) {
|
||||||
|
configBusqueda.addFilterLessOrEqual("dataValidade", datFinal.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmbOrigem.getSelectedItem() != null ) {
|
||||||
|
Parada origem = (Parada)cmbOrigem.getSelectedItem().getValue();
|
||||||
|
configBusqueda.addFilterEqual("origenId", origem.getParadaId());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmbDestino.getSelectedItem() != null ) {
|
||||||
|
Parada destino = (Parada)cmbDestino.getSelectedItem().getValue();
|
||||||
|
configBusqueda.addFilterEqual("destinoId", destino.getParadaId());
|
||||||
|
}
|
||||||
|
|
||||||
|
List<Integer> statusList = new ArrayList<Integer>();
|
||||||
|
if(chkEmitido.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkEmitido.getValue()));
|
||||||
|
|
||||||
|
if(chkLegalizado.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkLegalizado.getValue()));
|
||||||
|
|
||||||
|
if(chkFaturado.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkFaturado.getValue()));
|
||||||
|
|
||||||
|
if(chkCancelado.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkCancelado.getValue()));
|
||||||
|
|
||||||
|
if(! statusList.isEmpty() ) {
|
||||||
|
configBusqueda.addFilterIn( "status", statusList );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
configBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
configBusqueda.addSortAsc("voucherId");
|
||||||
|
|
||||||
|
plwpagingVoucher.init(configBusqueda, voucherList, pagingVoucher);
|
||||||
|
|
||||||
|
if (voucherList.getData().length == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("busquedaVoucherController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException ex) {
|
||||||
|
log.error(ex);
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
preencheComplemento();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisa(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnNovo(Event ev) {
|
||||||
|
verVoucher(new Voucher());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void preencheComplemento() {
|
||||||
|
for (Object item : voucherList.getListData()) {
|
||||||
|
Voucher obj = (Voucher)item;
|
||||||
|
if( StringUtils.isEmpty(obj.getDescOrigem())) {
|
||||||
|
obj.setDescOrigem( paradaService.obtenerID(obj.getOrigenId()).getDescparada() );
|
||||||
|
}
|
||||||
|
|
||||||
|
if( StringUtils.isEmpty(obj.getDescDestino() )) {
|
||||||
|
obj.setDescDestino( paradaService.obtenerID(obj.getDestinoId()).getDescparada() );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,193 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
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.Button;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Comboitem;
|
||||||
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Decimalbox;
|
||||||
|
import org.zkoss.zul.Label;
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.ClienteCorporativo;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.ConvenioTransportadora;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Transportadora;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Voucher;
|
||||||
|
import com.rjconsultores.ventaboletos.enums.SituacaoVoucher;
|
||||||
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ClienteCorporativoService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConvenioTransportadoraService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.TransportadoraService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.VoucherService;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@Controller("editarVoucherController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarVoucherController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final String TITULO = "editarVoucherController.window.title";
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
@Autowired
|
||||||
|
private VoucherService voucherService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ClienteCorporativoService clienteService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private TransportadoraService tranportadoraService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ConvenioTransportadoraService convenioService;
|
||||||
|
|
||||||
|
private Voucher voucher;
|
||||||
|
private MyListbox voucherList;
|
||||||
|
|
||||||
|
private List<Transportadora> lsTransportadora;
|
||||||
|
|
||||||
|
private Datebox txtDataValidade;
|
||||||
|
private Label txtCliente;
|
||||||
|
private Combobox cmbTransportadora;
|
||||||
|
private Decimalbox txtValorTransp;
|
||||||
|
private Button btnSalvar;
|
||||||
|
private Button btnLegalizar;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
|
||||||
|
setLsTransportadora(tranportadoraService.obtenerTodos());
|
||||||
|
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
voucher = (Voucher) Executions.getCurrent().getArg().get("voucher");
|
||||||
|
voucherList = (MyListbox) Executions.getCurrent().getArg().get("voucherList");
|
||||||
|
|
||||||
|
if( voucher.getClienteCorporativoId() !=null ) {
|
||||||
|
Voucher sub = voucher;
|
||||||
|
voucher = voucherService.obtenerID(voucher.getVoucherId());
|
||||||
|
voucher.setDescOrigem(sub.getDescOrigem());
|
||||||
|
voucher.setDescDestino(sub.getDescDestino());
|
||||||
|
|
||||||
|
ClienteCorporativo cliente = clienteService.obtenerID(voucher.getClienteCorporativoId());
|
||||||
|
txtCliente.setValue(cliente.getNomeClienteCorp());
|
||||||
|
}
|
||||||
|
|
||||||
|
if( voucher.getSituacaoVoucher().equals(SituacaoVoucher.CANCELADO)) {
|
||||||
|
btnSalvar.setVisible(false);
|
||||||
|
btnLegalizar.setVisible(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
|
||||||
|
Comboitem transp = cmbTransportadora.getSelectedItem();
|
||||||
|
if( transp != null ) {
|
||||||
|
voucher.setTransportadora(((Transportadora)transp.getValue()) );
|
||||||
|
}
|
||||||
|
|
||||||
|
validaCampos();
|
||||||
|
|
||||||
|
voucher = voucherService.actualizacion(voucher);
|
||||||
|
voucherList.updateItem(voucher);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.suscribirOK"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (BusinessException bex) {
|
||||||
|
Messagebox.show(
|
||||||
|
bex.getMessage(),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLegalizar(Event ev) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
Comboitem transp = cmbTransportadora.getSelectedItem();
|
||||||
|
if( transp != null ) {
|
||||||
|
voucher.setTransportadora(((Transportadora)transp.getValue()) );
|
||||||
|
}
|
||||||
|
|
||||||
|
validaLegalizacao();
|
||||||
|
|
||||||
|
voucher.setStatus(SituacaoVoucher.LEGALIZADO.getValor());
|
||||||
|
|
||||||
|
voucher = voucherService.actualizacion(voucher);
|
||||||
|
voucherList.updateItem(voucher);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.suscribirOK"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (BusinessException bex) {
|
||||||
|
Messagebox.show(
|
||||||
|
bex.getMessage(),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void validaLegalizacao() throws BusinessException {
|
||||||
|
if ( voucher.getValorLegalizado() == null
|
||||||
|
|| voucher.getValorLicitado() == null
|
||||||
|
|| voucher.getTransportadora() == null ){
|
||||||
|
throw new BusinessException("editarVoucherController.MSG.camposObrigatoriosLegalizar");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void validaCampos() throws BusinessException {
|
||||||
|
if ( voucher.getDataValidade() == null ){
|
||||||
|
throw new BusinessException("editarVoucherController.MSG.camposObrigatorios");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onChange$cmbTransportadora(Event ev) {
|
||||||
|
preencheConvenio();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void preencheConvenio() {
|
||||||
|
ConvenioTransportadora convenio = null;
|
||||||
|
Comboitem transp = cmbTransportadora.getSelectedItem();
|
||||||
|
if( transp != null ) {
|
||||||
|
|
||||||
|
convenio = convenioService.buscarPelaTransportadoraId(
|
||||||
|
((Transportadora)transp.getValue()).getTransportadoraId());
|
||||||
|
|
||||||
|
voucher.setValorLegalizado(convenio.getValor());
|
||||||
|
txtValorTransp.setDisabled(true);
|
||||||
|
}else {
|
||||||
|
txtValorTransp.setDisabled(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuVoucher extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuVoucher() {
|
||||||
|
super("indexController.mniVoucher.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.VOUCHER";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/configuraciones_comerciales/negcorporativos/busquedaVoucher.zul",
|
||||||
|
Labels.getLabel("busquedaVoucherController.window.title"), getArgs() ,desktop);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -64,6 +64,7 @@ confComerciales.negCorporativos.clienteCorporativo=com.rjconsultores.ventaboleto
|
||||||
confComerciales.negCorporativos.grupoContrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuGrupoContrato
|
confComerciales.negCorporativos.grupoContrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuGrupoContrato
|
||||||
confComerciales.negCorporativos.Contrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuContrato
|
confComerciales.negCorporativos.Contrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuContrato
|
||||||
confComerciales.negCorporativos.Transportadora=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuTransportadora
|
confComerciales.negCorporativos.Transportadora=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuTransportadora
|
||||||
|
confComerciales.negCorporativos.Voucher=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuVoucher
|
||||||
confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal
|
confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal
|
||||||
confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa
|
confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa
|
||||||
confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa
|
confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa
|
||||||
|
|
|
@ -6,7 +6,11 @@ import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.Comparator;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import javax.persistence.Temporal;
|
import javax.persistence.Temporal;
|
||||||
|
|
||||||
|
@ -16,80 +20,163 @@ import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.anotacao.Renderizado;
|
import com.rjconsultores.ventaboletos.anotacao.Renderizado;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementa um renderizador padrão para itens de lista, usando a anotação {@link Renderizado}
|
||||||
|
* para determinar quais campos renderizar e em qual ordem.
|
||||||
|
*
|
||||||
|
* @param <E> O tipo de objeto a ser renderizado.
|
||||||
|
*/
|
||||||
public class RenderPadrao<E> implements ListitemRenderer {
|
public class RenderPadrao<E> implements ListitemRenderer {
|
||||||
|
|
||||||
private Class<E> custom;
|
private Class<E> custom;
|
||||||
private Listcell lc;
|
private Listcell lc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constrói uma instância do renderizador com a classe especificada.
|
||||||
|
*
|
||||||
|
* @param classe A classe do tipo de objeto a ser renderizado.
|
||||||
|
*/
|
||||||
public RenderPadrao(Class<E> classe) {
|
public RenderPadrao(Class<E> classe) {
|
||||||
this.custom = classe;
|
this.custom = classe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renderiza um item de lista com base nos campos anotados com {@link Renderizado} da classe do objeto.
|
||||||
|
*
|
||||||
|
* @param lstm O item de lista a ser renderizado.
|
||||||
|
* @param o O objeto a ser renderizado.
|
||||||
|
* @throws Exception Se ocorrer algum erro durante a renderização.
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
E cast = convertToE(o);
|
E cast = convertToE(o);
|
||||||
Field[] campos = cast.getClass().getDeclaredFields();
|
Field[] campos = cast.getClass().getDeclaredFields();
|
||||||
|
List<Field> camposOrdenados = new ArrayList<Field>();
|
||||||
for (Field campo : campos) {
|
|
||||||
if (campo.isAnnotationPresent(Renderizado.class)) {
|
|
||||||
lc = new Listcell(obterValorCampo(cast, campo).toString());
|
|
||||||
lc.setParent(lstm);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
lstm.setAttribute("data", cast);
|
|
||||||
|
|
||||||
|
for (Field campo : campos) {
|
||||||
|
if (campo.isAnnotationPresent(Renderizado.class)) {
|
||||||
|
camposOrdenados.add(campo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ordenacao(camposOrdenados);
|
||||||
|
|
||||||
|
for (Field campo : camposOrdenados) {
|
||||||
|
lc = new Listcell(obterValorCampo(cast, campo).toString());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
}
|
||||||
|
|
||||||
|
lstm.setAttribute("data", cast);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ordena os campos anotados com {@link Renderizado} com base na posição definida na anotação.
|
||||||
|
*
|
||||||
|
* @param camposOrdenados A lista de campos a ser ordenada.
|
||||||
|
*/
|
||||||
|
private void ordenacao(List<Field> camposOrdenados) {
|
||||||
|
Collections.sort(camposOrdenados, new Comparator<Field>() {
|
||||||
|
public int compare(Field f1, Field f2) {
|
||||||
|
Renderizado r1 = f1.getAnnotation(Renderizado.class);
|
||||||
|
Renderizado r2 = f2.getAnnotation(Renderizado.class);
|
||||||
|
return Integer.compare(r1.posicao(), r2.posicao());
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public E convertToE(Object o) {
|
/**
|
||||||
if (o == null || !custom.isInstance(o)) {
|
* Converte o objeto fornecido para o tipo especificado na criação do renderizador.
|
||||||
throw new IllegalArgumentException("O objeto não é do tipo esperado: " + custom.getName());
|
*
|
||||||
}
|
* @param o O objeto a ser convertido.
|
||||||
return (E) o;
|
* @return O objeto convertido para o tipo especificado.
|
||||||
}
|
* @throws IllegalArgumentException Se o objeto não for do tipo esperado.
|
||||||
|
*/
|
||||||
private static Object obterValorCampo(Object objeto, Field campo) throws IntrospectionException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, IllegalArgumentException, InstantiationException, NoSuchMethodException, SecurityException {
|
public E convertToE(Object o) {
|
||||||
|
if (o == null || !custom.isInstance(o)) {
|
||||||
|
throw new IllegalArgumentException("O objeto não é do tipo esperado: " + custom.getName());
|
||||||
|
}
|
||||||
|
return (E) o;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Obtém o valor de um campo de um objeto e aplica a conversão definida na anotação {@link Renderizado}.
|
||||||
|
*
|
||||||
|
* @param objeto O objeto do qual o valor do campo deve ser obtido.
|
||||||
|
* @param campo O campo do qual o valor deve ser obtido.
|
||||||
|
* @return O valor do campo convertido conforme definido na anotação.
|
||||||
|
* @throws IntrospectionException Se ocorrer um erro ao introspectar o campo.
|
||||||
|
* @throws IllegalAccessException Se ocorrer um erro ao acessar o campo.
|
||||||
|
* @throws IllegalArgumentException Se ocorrer um erro ao passar argumentos ao método.
|
||||||
|
* @throws InvocationTargetException Se ocorrer um erro ao invocar o método.
|
||||||
|
* @throws NoSuchMethodException Se ocorrer um erro ao encontrar o método.
|
||||||
|
* @throws SecurityException Se ocorrer um erro de segurança ao acessar o método.
|
||||||
|
*/
|
||||||
|
private static Object obterValorCampo(Object objeto, Field campo)
|
||||||
|
throws IntrospectionException, IllegalAccessException, InvocationTargetException,
|
||||||
|
IllegalArgumentException, NoSuchMethodException, SecurityException {
|
||||||
PropertyDescriptor pd = new PropertyDescriptor(campo.getName(), objeto.getClass());
|
PropertyDescriptor pd = new PropertyDescriptor(campo.getName(), objeto.getClass());
|
||||||
|
|
||||||
Method getter = pd.getReadMethod();
|
Method getter = pd.getReadMethod();
|
||||||
|
|
||||||
if (getter != null) {
|
if (getter != null) {
|
||||||
String valor = getter.invoke(objeto).toString();
|
Object raw = getter.invoke(objeto);
|
||||||
Renderizado renderizado = campo.getAnnotation(Renderizado.class);
|
|
||||||
Class<? extends Enum<?>> conversor = renderizado.conversor();
|
|
||||||
|
|
||||||
if( conversor == Renderizado.DefaultEnum.class) {
|
if(raw == null) {
|
||||||
if( campo.getType().equals(Date.class)) {
|
return "";
|
||||||
return trataData(objeto, campo, getter);
|
|
||||||
}
|
|
||||||
return valor;
|
|
||||||
}else {
|
|
||||||
try {
|
|
||||||
String nomeConversor = renderizado.metodoConversor();
|
|
||||||
Method metodoConversor = conversor.getMethod(nomeConversor, String.class);
|
|
||||||
Enum<?> enumResultado = (Enum<?>) metodoConversor.invoke(null, valor);
|
|
||||||
return enumResultado.toString();
|
|
||||||
}catch (NoSuchMethodException e) {
|
|
||||||
throw new NoSuchMethodException("Classe conversora precisa implementar o metodo 'buscarPeloValor' " + conversor.getName());
|
|
||||||
}catch (Exception e) {
|
|
||||||
return valor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String valor = raw.toString();
|
||||||
|
Renderizado renderizado = campo.getAnnotation(Renderizado.class);
|
||||||
|
Class<? extends Enum<?>> conversor = renderizado.conversor();
|
||||||
|
|
||||||
|
if (conversor == Renderizado.DefaultEnum.class) {
|
||||||
|
if (campo.getType().equals(Date.class)) {
|
||||||
|
return trataData(objeto, campo, getter);
|
||||||
|
}
|
||||||
|
return valor;
|
||||||
|
} else {
|
||||||
|
try {
|
||||||
|
String nomeConversor = renderizado.metodoConversor();
|
||||||
|
Method metodoConversor = conversor.getMethod(nomeConversor, String.class);
|
||||||
|
Enum<?> enumResultado = (Enum<?>) metodoConversor.invoke(null, valor);
|
||||||
|
return enumResultado.toString();
|
||||||
|
} catch (NoSuchMethodException e) {
|
||||||
|
throw new NoSuchMethodException("Classe conversora precisa implementar o metodo 'buscarPeloValor' " + conversor.getName());
|
||||||
|
} catch (Exception e) {
|
||||||
|
return valor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("Getter não encontrado para o campo: " + campo.getName());
|
throw new IllegalArgumentException("Getter não encontrado para o campo: " + campo.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Object trataData(Object objeto, Field campo, Method getter) throws IllegalAccessException, InvocationTargetException {
|
/**
|
||||||
SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
|
* Formata data obtida de um campo, aplicando o formato especificado na anotação {@link Temporal}.
|
||||||
if (campo.isAnnotationPresent(Temporal.class)) {
|
*
|
||||||
formatter = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
* @param objeto O objeto do qual o valor da data deve ser obtido.
|
||||||
}
|
* @param campo O campo do qual a data deve ser obtida.
|
||||||
return formatter.format( getter.invoke(objeto) );
|
* @param getter O método getter para obter o valor da data.
|
||||||
}
|
* @return A data formatada dd/MM/yyyy, se tiver tambem anotação {@link Temporal} retorna dd/MM/yyyy HH:mm:ss.
|
||||||
|
* @throws IllegalAccessException Se ocorrer um erro ao acessar o campo.
|
||||||
|
* @throws InvocationTargetException Se ocorrer um erro ao invocar o método getter.
|
||||||
|
*/
|
||||||
|
private static Object trataData(Object objeto, Field campo, Method getter)
|
||||||
|
throws IllegalAccessException, InvocationTargetException {
|
||||||
|
SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
|
||||||
|
if (campo.isAnnotationPresent(Temporal.class)) {
|
||||||
|
formatter = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
||||||
|
}
|
||||||
|
return formatter.format(getter.invoke(objeto));
|
||||||
|
}
|
||||||
|
|
||||||
public Listcell getLc() {
|
/**
|
||||||
return lc;
|
* Obtém o último {@link Listcell} criado durante o processo de renderização.
|
||||||
}
|
*
|
||||||
|
* @return O último {@link Listcell} criado.
|
||||||
|
*/
|
||||||
|
public Listcell getLc() {
|
||||||
|
return lc;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -476,11 +476,12 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.Transportadora</value>
|
<value>com.rjconsultores.ventaboletos.entidad.Transportadora</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioTransportadora</value>
|
<value>com.rjconsultores.ventaboletos.entidad.ConvenioTransportadora</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaComprovantePassagemConfig</value>
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaComprovantePassagemConfig</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.CaixaContrato</value>
|
<value>com.rjconsultores.ventaboletos.entidad.CaixaContrato</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaFormAutorizacao</value>
|
<value>com.rjconsultores.ventaboletos.entidad.CategoriaFormAutorizacao</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaConvenioTransport</value>
|
<value>com.rjconsultores.ventaboletos.entidad.TarifaConvenioTransport</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.DescontoContrato</value>
|
<value>com.rjconsultores.ventaboletos.entidad.DescontoContrato</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.ConfComprovantePassagem</value>
|
<value>com.rjconsultores.ventaboletos.entidad.ConfComprovantePassagem</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.Voucher</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
|
|
@ -2114,6 +2114,7 @@ busquedaVigenciaTarifaController.lhFecInicio.label = Start Date
|
||||||
busquedaVigenciaTarifaController.lhID.value = ID
|
busquedaVigenciaTarifaController.lhID.value = ID
|
||||||
# Pesquisa Vigência Tarifa
|
# Pesquisa Vigência Tarifa
|
||||||
busquedaVigenciaTarifaController.window.title = Tariff Validity
|
busquedaVigenciaTarifaController.window.title = Tariff Validity
|
||||||
|
busquedaVoucherController.window.title = Voucher Consultation
|
||||||
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Close
|
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Close
|
||||||
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Include
|
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Include
|
||||||
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Search
|
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Search
|
||||||
|
@ -2898,14 +2899,18 @@ editarCategoriaController.MSG.borrarOK = Passage Type Deleted Successfully.
|
||||||
editarCategoriaController.MSG.borrarPergunta = Do you want to delete this type of ticket?
|
editarCategoriaController.MSG.borrarPergunta = Do you want to delete this type of ticket?
|
||||||
editarCategoriaController.MSG.suscribirOK = Passage Type Registered Successfully.
|
editarCategoriaController.MSG.suscribirOK = Passage Type Registered Successfully.
|
||||||
editarCategoriaController.MSG.tiempo = Minimum time greater than maximum time
|
editarCategoriaController.MSG.tiempo = Minimum time greater than maximum time
|
||||||
|
editarCategoriaController.btnAdcionarForm.tooltiptext = Add Authorization Form
|
||||||
editarCategoriaController.btnApagar.tooltiptext = Delete
|
editarCategoriaController.btnApagar.tooltiptext = Delete
|
||||||
editarCategoriaController.btnFechar.tooltiptext = Close
|
editarCategoriaController.btnFechar.tooltiptext = Close
|
||||||
|
editarCategoriaController.btnRemoverForm.tooltiptex = Remove Authorization Form
|
||||||
editarCategoriaController.btnSalvar.tooltiptext = Save
|
editarCategoriaController.btnSalvar.tooltiptext = Save
|
||||||
|
editarCategoriaController.indEmiteFormularioAutorizacao.value = Issuance of Authorization Form
|
||||||
editarCategoriaController.indIntegracaoAGR.value = Enable AGR API Integration
|
editarCategoriaController.indIntegracaoAGR.value = Enable AGR API Integration
|
||||||
editarCategoriaController.lbCvecategoria.value = Acronym
|
editarCategoriaController.lbCvecategoria.value = Acronym
|
||||||
editarCategoriaController.lbDescImpresionGratuidade.value = Description Free Printing
|
editarCategoriaController.lbDescImpresionGratuidade.value = Description Free Printing
|
||||||
editarCategoriaController.lbDescontoBPe.value = BPe Discount
|
editarCategoriaController.lbDescontoBPe.value = BPe Discount
|
||||||
editarCategoriaController.lbDescontoMonitrip.value = Monitrip Discount
|
editarCategoriaController.lbDescontoMonitrip.value = Monitrip Discount
|
||||||
|
editarCategoriaController.lbEmpresa.value = Company
|
||||||
editarCategoriaController.lbGrupoCategoria.value = Category Group
|
editarCategoriaController.lbGrupoCategoria.value = Category Group
|
||||||
editarCategoriaController.lbIndExigeIdentidade.value = Identification requirement
|
editarCategoriaController.lbIndExigeIdentidade.value = Identification requirement
|
||||||
editarCategoriaController.lbIndconferenciafisicacomissao.value = Require Physical Conference Committee
|
editarCategoriaController.lbIndconferenciafisicacomissao.value = Require Physical Conference Committee
|
||||||
|
@ -2913,10 +2918,6 @@ editarCategoriaController.lbIndemitetermorecusa.value = Issues Refusal Term
|
||||||
editarCategoriaController.lbIndnaousaassento.value = Do not use a seat when selling a package
|
editarCategoriaController.lbIndnaousaassento.value = Do not use a seat when selling a package
|
||||||
editarCategoriaController.lbIndvendenaapi.value = Sell on API
|
editarCategoriaController.lbIndvendenaapi.value = Sell on API
|
||||||
editarCategoriaController.lbNome.value = Description
|
editarCategoriaController.lbNome.value = Description
|
||||||
editarCategoriaController.indEmiteFormularioAutorizacao.value = Issuance of Authorization Form
|
|
||||||
editarCategoriaController.btnAdcionarForm.tooltiptext = Add Authorization Form
|
|
||||||
editarCategoriaController.btnRemoverForm.tooltiptex = Remove Authorization Form
|
|
||||||
editarCategoriaController.lbEmpresa.value = Company
|
|
||||||
# Pantalla Editar CategorÃa
|
# Pantalla Editar CategorÃa
|
||||||
editarCategoriaController.window.title = Passage Type
|
editarCategoriaController.window.title = Passage Type
|
||||||
editarCiudadController.MSG.borrarOK = City Deleted Successfully.
|
editarCiudadController.MSG.borrarOK = City Deleted Successfully.
|
||||||
|
@ -4135,7 +4136,7 @@ editarContigencia.tabela.motivo = REASON
|
||||||
editarContigencia.tabela.status = STATUS
|
editarContigencia.tabela.status = STATUS
|
||||||
editarContigencia.tabela.usuario = USER
|
editarContigencia.tabela.usuario = USER
|
||||||
editarContigencia.window.title = Contingency
|
editarContigencia.window.title = Contingency
|
||||||
editarContratoController.MSG.camposObrigatorios = It is necessary to inform the fields: Corporate Customer, Contract Group, Contract Number, Start Date and End Date
|
editarContratoController.MSG.camposObrigatorios = It is necessary to inform the fields: Legalized Value, Carrier Value, Carrier
|
||||||
editarContratoController.MSG.camposObrigatoriosAdicao = It is necessary to inform the fields: Value, Observation, Operation
|
editarContratoController.MSG.camposObrigatoriosAdicao = It is necessary to inform the fields: Value, Observation, Operation
|
||||||
editarContratoController.MSG.confirmacaoAdicao = This action will modify the balance of the contract, do you confirm the operation?
|
editarContratoController.MSG.confirmacaoAdicao = This action will modify the balance of the contract, do you confirm the operation?
|
||||||
editarContratoController.MSG.contratoExiste = A record with this contract number already exists.
|
editarContratoController.MSG.contratoExiste = A record with this contract number already exists.
|
||||||
|
@ -4161,6 +4162,7 @@ editarConvenioController.MSG.erro.trechosPertenceLinhas = Excerpts provided do n
|
||||||
editarConvenioController.MSG.erroDescontoNaoNormal = Non-normal discount can contain only one document in the list
|
editarConvenioController.MSG.erroDescontoNaoNormal = Non-normal discount can contain only one document in the list
|
||||||
editarConvenioController.MSG.infoQuantidade = Enter the Quantity
|
editarConvenioController.MSG.infoQuantidade = Enter the Quantity
|
||||||
editarConvenioController.MSG.necessaitaPorcentaje.value = You need to enter a percentage
|
editarConvenioController.MSG.necessaitaPorcentaje.value = You need to enter a percentage
|
||||||
|
editarConvenioController.MSG.necessaitaempresacampanha.value = Nescessita informar uma empresa para a Campanha
|
||||||
editarConvenioController.MSG.pocentaje = More than one discount allowed for different ticket ranges
|
editarConvenioController.MSG.pocentaje = More than one discount allowed for different ticket ranges
|
||||||
editarConvenioController.MSG.registroTraslapado = The document number entered overlaps with an existing one
|
editarConvenioController.MSG.registroTraslapado = The document number entered overlaps with an existing one
|
||||||
editarConvenioController.MSG.suscribirOK = Agreement Registered Successfully.
|
editarConvenioController.MSG.suscribirOK = Agreement Registered Successfully.
|
||||||
|
@ -4227,7 +4229,6 @@ editarConvenioController.tabTrecho.origem.value = Origin
|
||||||
editarConvenioController.tabUsuario.usuario.idUsuario.value = User ID
|
editarConvenioController.tabUsuario.usuario.idUsuario.value = User ID
|
||||||
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Name
|
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Name
|
||||||
editarConvenioController.tabUsuario.value = User
|
editarConvenioController.tabUsuario.value = User
|
||||||
editarConvenioController.MSG.necessaitaempresacampanha.value=Nescessita informar uma empresa para a Campanha
|
|
||||||
# Editar Convênio
|
# Editar Convênio
|
||||||
editarConvenioController.window.title = Agreement - Discount
|
editarConvenioController.window.title = Agreement - Discount
|
||||||
editarCortesiaTipoDireccionController.MSG.BorrarOK = Courtesy of Board Type Successfully Deleted.
|
editarCortesiaTipoDireccionController.MSG.BorrarOK = Courtesy of Board Type Successfully Deleted.
|
||||||
|
@ -5064,6 +5065,9 @@ editarFechamentoParamgeralController.MSG.empresaNaoInformada = Necessary to info
|
||||||
editarFechamentoParamgeralController.MSG.suscribirOK = Cta Cte and Boletoo Closing Configuration saved successfully.
|
editarFechamentoParamgeralController.MSG.suscribirOK = Cta Cte and Boletoo Closing Configuration saved successfully.
|
||||||
# Editar Configuração de Boleto
|
# Editar Configuração de Boleto
|
||||||
editarFechamentoParamgeralController.window.title = Cta Cte and Boleto Closing Configuration - Edit General Parameter
|
editarFechamentoParamgeralController.window.title = Cta Cte and Boleto Closing Configuration - Edit General Parameter
|
||||||
|
editarFormAutorizacaoController.MSG.borrarOK = Record deleted successfully.
|
||||||
|
editarFormAutorizacaoController.MSG.borrarPergunta = Do you want to delete this record ?
|
||||||
|
editarFormAutorizacaoController.window.title = Authorization Form
|
||||||
editarFormaPagoController.MSG.borrarOK = Payment Method Deleted Successfully.
|
editarFormaPagoController.MSG.borrarOK = Payment Method Deleted Successfully.
|
||||||
editarFormaPagoController.MSG.borrarPergunta = Do you want to delete payment method?
|
editarFormaPagoController.MSG.borrarPergunta = Do you want to delete payment method?
|
||||||
editarFormaPagoController.MSG.existe.registro = There is already a record with this data.
|
editarFormaPagoController.MSG.existe.registro = There is already a record with this data.
|
||||||
|
@ -5198,12 +5202,12 @@ editarImagemController.fileupload.label = Select Image
|
||||||
editarImagemController.lbNome.value = Image
|
editarImagemController.lbNome.value = Image
|
||||||
# Pantalla Editar Imagem
|
# Pantalla Editar Imagem
|
||||||
editarImagemController.window.title = Image
|
editarImagemController.window.title = Image
|
||||||
editarImpresionLayoutConfigController.btnRedesenhar.value = Redraw
|
|
||||||
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Deleted Successfully.
|
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Deleted Successfully.
|
||||||
editarImpresionLayoutConfigController.MSG.borrarPergunta = Delete Layout?
|
editarImpresionLayoutConfigController.MSG.borrarPergunta = Delete Layout?
|
||||||
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registered Successfully.
|
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registered Successfully.
|
||||||
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Delete
|
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Delete
|
||||||
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Close
|
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Close
|
||||||
|
editarImpresionLayoutConfigController.btnRedesenhar.value = Redraw
|
||||||
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Save
|
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Save
|
||||||
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Language
|
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Language
|
||||||
editarImpresionLayoutConfigController.window.title = Edit Voucher Layout
|
editarImpresionLayoutConfigController.window.title = Edit Voucher Layout
|
||||||
|
@ -5214,6 +5218,7 @@ editarIntComprovantePassagem.MSG.suscribirOK = Registration registered successfu
|
||||||
editarIntComprovantePassagem.URL = URL
|
editarIntComprovantePassagem.URL = URL
|
||||||
editarIntComprovantePassagem.apiKey = API KEY
|
editarIntComprovantePassagem.apiKey = API KEY
|
||||||
editarIntComprovantePassagem.empresa = Company
|
editarIntComprovantePassagem.empresa = Company
|
||||||
|
editarIntComprovantePassagem.idiomaTemplate = Language Template
|
||||||
editarIntComprovantePassagem.nomeTemplate = Template Name
|
editarIntComprovantePassagem.nomeTemplate = Template Name
|
||||||
editarIntComprovantePassagem.remetente = Sender
|
editarIntComprovantePassagem.remetente = Sender
|
||||||
editarIntComprovantePassagem.tipoIntegracao = Type Integration
|
editarIntComprovantePassagem.tipoIntegracao = Type Integration
|
||||||
|
@ -7277,6 +7282,9 @@ editarVigenciaTarifaController.btnFechar.tooltiptext = Close
|
||||||
editarVigenciaTarifaController.btnSalvar.tooltiptext = Save
|
editarVigenciaTarifaController.btnSalvar.tooltiptext = Save
|
||||||
# Editar Vigência Tarifa
|
# Editar Vigência Tarifa
|
||||||
editarVigenciaTarifaController.window.title = Tariff Validity
|
editarVigenciaTarifaController.window.title = Tariff Validity
|
||||||
|
editarVoucherController.MSG.camposObrigatoriosLegalizar = It is necessary to inform the fields: Legalized Value, Carrier Value, Carrier
|
||||||
|
editarVoucherController.tab.legalizar = Legalize
|
||||||
|
editarVoucherController.tab.voucher = Voucher
|
||||||
envioNominaController.lhEnviar.label = Send Name
|
envioNominaController.lhEnviar.label = Send Name
|
||||||
envioNominaController.window.title = Nominated Shipping
|
envioNominaController.window.title = Nominated Shipping
|
||||||
envioNominaControllerController.MSG.enviarOK = Sent the Nomina Successfully.
|
envioNominaControllerController.MSG.enviarOK = Sent the Nomina Successfully.
|
||||||
|
@ -7980,6 +7988,7 @@ indexController.mniVersion.label = Version
|
||||||
indexController.mniVia.label = Via
|
indexController.mniVia.label = Via
|
||||||
indexController.mniVigenciaTarifa.label = Rates Validity
|
indexController.mniVigenciaTarifa.label = Rates Validity
|
||||||
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = View Installation Password
|
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = View Installation Password
|
||||||
|
indexController.mniVoucher.label = Voucher
|
||||||
#busquedaMensagemRecusa
|
#busquedaMensagemRecusa
|
||||||
indexController.mnimMensagemRecusa.label = Refusal Message
|
indexController.mnimMensagemRecusa.label = Refusal Message
|
||||||
indexController.mnirELRelatorioGratuidadeAGR.label = AGR Free Report
|
indexController.mnirELRelatorioGratuidadeAGR.label = AGR Free Report
|
||||||
|
@ -8081,6 +8090,7 @@ label.criacao = Creation
|
||||||
label.dataFinal = End Date
|
label.dataFinal = End Date
|
||||||
label.dataInicial = Start Date
|
label.dataInicial = Start Date
|
||||||
label.dataOperacao = Operation Date
|
label.dataOperacao = Operation Date
|
||||||
|
label.dataValidade = Expiration date
|
||||||
label.debito = Debit
|
label.debito = Debit
|
||||||
label.desconto = Discount
|
label.desconto = Discount
|
||||||
label.descricao = Description
|
label.descricao = Description
|
||||||
|
@ -8100,17 +8110,25 @@ label.nit = nit
|
||||||
label.numContrato = Contract Number
|
label.numContrato = Contract Number
|
||||||
#Pantalla Pesquisa Tipo Convênio
|
#Pantalla Pesquisa Tipo Convênio
|
||||||
label.numConvenio = Agreement Number
|
label.numConvenio = Agreement Number
|
||||||
|
label.numFatura = Invoice Number
|
||||||
|
label.numVoucher = Voucher Number
|
||||||
label.numero = Number
|
label.numero = Number
|
||||||
label.observacao = Note
|
label.observacao = Note
|
||||||
label.operacao = Operation
|
label.operacao = Operation
|
||||||
label.orgaoConcedente = Granting Body
|
label.orgaoConcedente = Granting Body
|
||||||
label.origem = Origin
|
label.origem = Origin
|
||||||
label.percentualBonus = Bonus Percentage
|
label.passageiro = Passenger
|
||||||
|
label.percentualVoucher = Voucher Percentage
|
||||||
label.razaoSocial = Corporate name
|
label.razaoSocial = Corporate name
|
||||||
label.reducao = Reduction
|
label.reducao = Reduction
|
||||||
label.representante = Representative
|
label.representante = Representative
|
||||||
label.reservaBilhete = Book Tickets
|
label.reservaBilhete = Book Tickets
|
||||||
label.saldo = Balance
|
label.saldo = Balance
|
||||||
|
label.situacao = Situation
|
||||||
|
label.situacaoVoucher.cancelado = Canceled
|
||||||
|
label.situacaoVoucher.emitido = Issued
|
||||||
|
label.situacaoVoucher.faturado = Invoiced
|
||||||
|
label.situacaoVoucher.legalizado = Legalized
|
||||||
label.status = Status
|
label.status = Status
|
||||||
label.status.ativo = Active
|
label.status.ativo = Active
|
||||||
label.status.digitado = Typed
|
label.status.digitado = Typed
|
||||||
|
@ -8139,8 +8157,12 @@ label.tipoLancamento.reducao = Reduction
|
||||||
label.tipoTarifa = Rate Type
|
label.tipoTarifa = Rate Type
|
||||||
label.tipoTarifa.fixa = Fixed
|
label.tipoTarifa.fixa = Fixed
|
||||||
label.tipoTarifa.variavel = Variable
|
label.tipoTarifa.variavel = Variable
|
||||||
|
label.transportadora = Carrier
|
||||||
label.valor = Value
|
label.valor = Value
|
||||||
label.valorContrato = Contract Value
|
label.valorContrato = Contract Value
|
||||||
|
label.valorLegalizado = Legalized Value
|
||||||
|
label.valorLicitado = Bid Value
|
||||||
|
label.valorTransportadora = Carrier Value
|
||||||
lb.CentroResultado = Result Center
|
lb.CentroResultado = Result Center
|
||||||
lb.Equivalencia = Equivalence
|
lb.Equivalencia = Equivalence
|
||||||
lb.ate = until
|
lb.ate = until
|
||||||
|
@ -10230,8 +10252,3 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Series
|
||||||
winMovimentacionBilhetesPuntoVenta.origem.label = Origin
|
winMovimentacionBilhetesPuntoVenta.origem.label = Origin
|
||||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Nature
|
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Nature
|
||||||
editarIntComprovantePassagem.idiomaTemplate= Language Template
|
|
||||||
# Form Autorizacao Tipo de Passagem
|
|
||||||
editarFormAutorizacaoController.MSG.borrarPergunta = Do you want to delete this record ?
|
|
||||||
editarFormAutorizacaoController.window.title = Authorization Form
|
|
||||||
editarFormAutorizacaoController.MSG.borrarOK = Record deleted successfully.
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2114,6 +2114,7 @@ busquedaVigenciaTarifaController.lhFecInicio.label = Data Início
|
||||||
busquedaVigenciaTarifaController.lhID.value = ID
|
busquedaVigenciaTarifaController.lhID.value = ID
|
||||||
# Pesquisa Vigência Tarifa
|
# Pesquisa Vigência Tarifa
|
||||||
busquedaVigenciaTarifaController.window.title = Vigência Tarifa
|
busquedaVigenciaTarifaController.window.title = Vigência Tarifa
|
||||||
|
busquedaVoucherController.window.title = Consulta Voucher
|
||||||
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Fechar
|
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Fechar
|
||||||
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Incluir
|
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Incluir
|
||||||
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Pesquisa
|
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Pesquisa
|
||||||
|
@ -2898,14 +2899,18 @@ editarCategoriaController.MSG.borrarOK = Tipo de Passagem Excluido com Sucesso.
|
||||||
editarCategoriaController.MSG.borrarPergunta = Deseja Eliminar este tipo de passagem?
|
editarCategoriaController.MSG.borrarPergunta = Deseja Eliminar este tipo de passagem?
|
||||||
editarCategoriaController.MSG.suscribirOK = Tipo de Passagem Registrado com Sucesso.
|
editarCategoriaController.MSG.suscribirOK = Tipo de Passagem Registrado com Sucesso.
|
||||||
editarCategoriaController.MSG.tiempo = Tempo mínimo maior que tempo máximo
|
editarCategoriaController.MSG.tiempo = Tempo mínimo maior que tempo máximo
|
||||||
|
editarCategoriaController.btnAdcionarForm.tooltiptext = Adicionar Formulário de Autorização
|
||||||
editarCategoriaController.btnApagar.tooltiptext = Eliminar
|
editarCategoriaController.btnApagar.tooltiptext = Eliminar
|
||||||
editarCategoriaController.btnFechar.tooltiptext = Fechar
|
editarCategoriaController.btnFechar.tooltiptext = Fechar
|
||||||
|
editarCategoriaController.btnRemoverForm.tooltiptex = Remover Formulário de Autorização
|
||||||
editarCategoriaController.btnSalvar.tooltiptext = Salvar
|
editarCategoriaController.btnSalvar.tooltiptext = Salvar
|
||||||
|
editarCategoriaController.indEmiteFormularioAutorizacao.value = Emite Formulário de Autorização
|
||||||
editarCategoriaController.indIntegracaoAGR.value = Habilitar Integração API AGR
|
editarCategoriaController.indIntegracaoAGR.value = Habilitar Integração API AGR
|
||||||
editarCategoriaController.lbCvecategoria.value = Sigla
|
editarCategoriaController.lbCvecategoria.value = Sigla
|
||||||
editarCategoriaController.lbDescImpresionGratuidade.value = Descrição Impressão Gratuidade
|
editarCategoriaController.lbDescImpresionGratuidade.value = Descrição Impressão Gratuidade
|
||||||
editarCategoriaController.lbDescontoBPe.value = Desconto BPe
|
editarCategoriaController.lbDescontoBPe.value = Desconto BPe
|
||||||
editarCategoriaController.lbDescontoMonitrip.value = Desconto Monitrip
|
editarCategoriaController.lbDescontoMonitrip.value = Desconto Monitrip
|
||||||
|
editarCategoriaController.lbEmpresa.value = Empresa
|
||||||
editarCategoriaController.lbGrupoCategoria.value = Grupo Categoria
|
editarCategoriaController.lbGrupoCategoria.value = Grupo Categoria
|
||||||
editarCategoriaController.lbIndExigeIdentidade.value = Exigência de identificação
|
editarCategoriaController.lbIndExigeIdentidade.value = Exigência de identificação
|
||||||
editarCategoriaController.lbIndconferenciafisicacomissao.value = Exigir Conferência Fisíca Comissão
|
editarCategoriaController.lbIndconferenciafisicacomissao.value = Exigir Conferência Fisíca Comissão
|
||||||
|
@ -2913,10 +2918,6 @@ editarCategoriaController.lbIndemitetermorecusa.value = Emite Termo de Recusa
|
||||||
editarCategoriaController.lbIndnaousaassento.value = Não usar assento na venda de pacote
|
editarCategoriaController.lbIndnaousaassento.value = Não usar assento na venda de pacote
|
||||||
editarCategoriaController.lbIndvendenaapi.value = Vende na API
|
editarCategoriaController.lbIndvendenaapi.value = Vende na API
|
||||||
editarCategoriaController.lbNome.value = Descrição
|
editarCategoriaController.lbNome.value = Descrição
|
||||||
editarCategoriaController.indEmiteFormularioAutorizacao.value = Emite Formulário de Autorização
|
|
||||||
editarCategoriaController.btnAdcionarForm.tooltiptext = Adicionar Formulário de Autorização
|
|
||||||
editarCategoriaController.btnRemoverForm.tooltiptex = Remover Formulário de Autorização
|
|
||||||
editarCategoriaController.lbEmpresa.value = Empresa
|
|
||||||
# Pantalla Editar CategorÃa
|
# Pantalla Editar CategorÃa
|
||||||
editarCategoriaController.window.title = Tipo de Passagem
|
editarCategoriaController.window.title = Tipo de Passagem
|
||||||
editarCiudadController.MSG.borrarOK = Cidade Excluida com Sucesso.
|
editarCiudadController.MSG.borrarOK = Cidade Excluida com Sucesso.
|
||||||
|
@ -4135,7 +4136,7 @@ editarContigencia.tabela.motivo = MOTIVO
|
||||||
editarContigencia.tabela.status = STATUS
|
editarContigencia.tabela.status = STATUS
|
||||||
editarContigencia.tabela.usuario = USUARIO
|
editarContigencia.tabela.usuario = USUARIO
|
||||||
editarContigencia.window.title = Contingência
|
editarContigencia.window.title = Contingência
|
||||||
editarContratoController.MSG.camposObrigatorios = É necessário informar os campos: Cliente Corporativo, Grupo de Contrato, Numero Contrato, Data Inicial e Data Final
|
editarContratoController.MSG.camposObrigatorios = É necessário informar os campos: Valor Legalizado, Valor Transportadora, Transportadora
|
||||||
editarContratoController.MSG.camposObrigatoriosAdicao = É necessário informar os campos: Valor, Observação, Operação
|
editarContratoController.MSG.camposObrigatoriosAdicao = É necessário informar os campos: Valor, Observação, Operação
|
||||||
editarContratoController.MSG.confirmacaoAdicao = Está ação modificará o saldo do contrato, Você confirma a operação ?
|
editarContratoController.MSG.confirmacaoAdicao = Está ação modificará o saldo do contrato, Você confirma a operação ?
|
||||||
editarContratoController.MSG.contratoExiste = Já existe um registro com este número de contrato.
|
editarContratoController.MSG.contratoExiste = Já existe um registro com este número de contrato.
|
||||||
|
@ -4161,6 +4162,7 @@ editarConvenioController.MSG.erro.trechosPertenceLinhas = Trechos informados nã
|
||||||
editarConvenioController.MSG.erroDescontoNaoNormal = Desconto não normal pode conter apenas um documento na lista
|
editarConvenioController.MSG.erroDescontoNaoNormal = Desconto não normal pode conter apenas um documento na lista
|
||||||
editarConvenioController.MSG.infoQuantidade = Informe a Quantidade
|
editarConvenioController.MSG.infoQuantidade = Informe a Quantidade
|
||||||
editarConvenioController.MSG.necessaitaPorcentaje.value = Necessita informar uma porcentagem
|
editarConvenioController.MSG.necessaitaPorcentaje.value = Necessita informar uma porcentagem
|
||||||
|
editarConvenioController.MSG.necessaitaempresacampanha.value = Nescessita informar uma empresa para a Campanha
|
||||||
editarConvenioController.MSG.pocentaje = Mais de um desconto permitido para intervalo de passagens diferentes
|
editarConvenioController.MSG.pocentaje = Mais de um desconto permitido para intervalo de passagens diferentes
|
||||||
editarConvenioController.MSG.registroTraslapado = O número do documento informado se sobrepõe com outro já existente
|
editarConvenioController.MSG.registroTraslapado = O número do documento informado se sobrepõe com outro já existente
|
||||||
editarConvenioController.MSG.suscribirOK = Convênio Registrado com Sucesso.
|
editarConvenioController.MSG.suscribirOK = Convênio Registrado com Sucesso.
|
||||||
|
@ -4227,7 +4229,6 @@ editarConvenioController.tabTrecho.origem.value = Origem
|
||||||
editarConvenioController.tabUsuario.usuario.idUsuario.value = Id. Usuário
|
editarConvenioController.tabUsuario.usuario.idUsuario.value = Id. Usuário
|
||||||
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Nome
|
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Nome
|
||||||
editarConvenioController.tabUsuario.value = Usuário
|
editarConvenioController.tabUsuario.value = Usuário
|
||||||
editarConvenioController.MSG.necessaitaempresacampanha.value=Nescessita informar uma empresa para a Campanha
|
|
||||||
# Editar Convênio
|
# Editar Convênio
|
||||||
editarConvenioController.window.title = Convênio - Desconto
|
editarConvenioController.window.title = Convênio - Desconto
|
||||||
editarCortesiaTipoDireccionController.MSG.BorrarOK = Cortesia de Tipo Diretoria Excluido com Sucesso.
|
editarCortesiaTipoDireccionController.MSG.BorrarOK = Cortesia de Tipo Diretoria Excluido com Sucesso.
|
||||||
|
@ -4818,7 +4819,7 @@ editarEmpresaEquivalenciaController.cmbEmpresa.value = Empresa
|
||||||
editarEmpresaEquivalenciaController.lbEquivalencia.value = Equivalencia
|
editarEmpresaEquivalenciaController.lbEquivalencia.value = Equivalencia
|
||||||
# Editar Empresa Equivalencia
|
# Editar Empresa Equivalencia
|
||||||
editarEmpresaEquivalenciaController.window.title = Equivalencia Empresa
|
editarEmpresaEquivalenciaController.window.title = Equivalencia Empresa
|
||||||
editarEmpresaImpostoController.bpe.value = Habilitar BPe\\\
|
editarEmpresaImpostoController.bpe.value = Habilitar BPe
|
||||||
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
||||||
editarEmpresaImpostoController.btnFechar.tooltiptext = Fechar
|
editarEmpresaImpostoController.btnFechar.tooltiptext = Fechar
|
||||||
editarEmpresaImpostoController.btnSalvar.tooltiptext = Salvar
|
editarEmpresaImpostoController.btnSalvar.tooltiptext = Salvar
|
||||||
|
@ -4855,7 +4856,7 @@ editarEmpresaImpostoController.lblJunho.value = Junho
|
||||||
editarEmpresaImpostoController.lblMaio.value = Maio
|
editarEmpresaImpostoController.lblMaio.value = Maio
|
||||||
editarEmpresaImpostoController.lblMarco.value = Março
|
editarEmpresaImpostoController.lblMarco.value = Março
|
||||||
editarEmpresaImpostoController.lblNovembro.value = Novembro
|
editarEmpresaImpostoController.lblNovembro.value = Novembro
|
||||||
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueio de demais UF\\\
|
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueio de demais UF
|
||||||
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar outros como isento
|
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar outros como isento
|
||||||
editarEmpresaImpostoController.lblOutubro.value = Outubro
|
editarEmpresaImpostoController.lblOutubro.value = Outubro
|
||||||
editarEmpresaImpostoController.lblPedagio.value = Pedagio
|
editarEmpresaImpostoController.lblPedagio.value = Pedagio
|
||||||
|
@ -4996,7 +4997,7 @@ editarEstadoController.lbPais.value = País
|
||||||
editarEstadoController.lbTimeoutBpe.value = TimeOut BP-e (segundos)
|
editarEstadoController.lbTimeoutBpe.value = TimeOut BP-e (segundos)
|
||||||
editarEstadoController.lbUF.value = UF
|
editarEstadoController.lbUF.value = UF
|
||||||
#Editar Estado
|
#Editar Estado
|
||||||
editarEstadoController.lbl.difHoras = Diferença em Horas do Fuso Horário\\\ \\\
|
editarEstadoController.lbl.difHoras = Diferença em Horas do Fuso Horário
|
||||||
editarEstadoController.lbl.difHuso = Diferença em Horas do Horário de Verão
|
editarEstadoController.lbl.difHuso = Diferença em Horas do Horário de Verão
|
||||||
editarEstadoController.lbl.finHuso = Fim Horário De Verão
|
editarEstadoController.lbl.finHuso = Fim Horário De Verão
|
||||||
editarEstadoController.lbl.horasHuso = Possui horário de verão ?
|
editarEstadoController.lbl.horasHuso = Possui horário de verão ?
|
||||||
|
@ -5068,6 +5069,9 @@ editarFechamentoParamgeralController.MSG.empresaNaoInformada = Necessário infor
|
||||||
editarFechamentoParamgeralController.MSG.suscribirOK = Configuração de Fechamento Cta Cte e Boletoo gravada com sucesso.
|
editarFechamentoParamgeralController.MSG.suscribirOK = Configuração de Fechamento Cta Cte e Boletoo gravada com sucesso.
|
||||||
# Editar Configuração de Boleto
|
# Editar Configuração de Boleto
|
||||||
editarFechamentoParamgeralController.window.title = Configuração de Fechamento Cta Cte e Boleto - Editar Parâmetro Geral
|
editarFechamentoParamgeralController.window.title = Configuração de Fechamento Cta Cte e Boleto - Editar Parâmetro Geral
|
||||||
|
editarFormAutorizacaoController.MSG.borrarOK = Registro apagado com sucesso.
|
||||||
|
editarFormAutorizacaoController.MSG.borrarPergunta = Deseja apagar esse registro ?
|
||||||
|
editarFormAutorizacaoController.window.title = Formulário de Autorização
|
||||||
editarFormaPagoController.MSG.borrarOK = Forma de Pagamento Excluida com Sucesso.
|
editarFormaPagoController.MSG.borrarOK = Forma de Pagamento Excluida com Sucesso.
|
||||||
editarFormaPagoController.MSG.borrarPergunta = Deseja Eliminar Forma de Pagamento?
|
editarFormaPagoController.MSG.borrarPergunta = Deseja Eliminar Forma de Pagamento?
|
||||||
editarFormaPagoController.MSG.existe.registro = Já existe um registro com estes dados.
|
editarFormaPagoController.MSG.existe.registro = Já existe um registro com estes dados.
|
||||||
|
@ -5202,12 +5206,12 @@ editarImagemController.fileupload.label = Selecionar Imagem
|
||||||
editarImagemController.lbNome.value = Imagem
|
editarImagemController.lbNome.value = Imagem
|
||||||
# Pantalla Editar Imagem
|
# Pantalla Editar Imagem
|
||||||
editarImagemController.window.title = Imagem
|
editarImagemController.window.title = Imagem
|
||||||
editarImpresionLayoutConfigController.btnRedesenhar.value = Redesenhar
|
|
||||||
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Excluido com Sucesso.
|
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Excluido com Sucesso.
|
||||||
editarImpresionLayoutConfigController.MSG.borrarPergunta = Eliminar Layout?
|
editarImpresionLayoutConfigController.MSG.borrarPergunta = Eliminar Layout?
|
||||||
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registrado com Sucesso.
|
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registrado com Sucesso.
|
||||||
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Eliminar
|
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Eliminar
|
||||||
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Fechar
|
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Fechar
|
||||||
|
editarImpresionLayoutConfigController.btnRedesenhar.value = Redesenhar
|
||||||
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Salvar
|
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Salvar
|
||||||
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Linguagem
|
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Linguagem
|
||||||
editarImpresionLayoutConfigController.window.title = Editar Layout Comprovante
|
editarImpresionLayoutConfigController.window.title = Editar Layout Comprovante
|
||||||
|
@ -5218,6 +5222,7 @@ editarIntComprovantePassagem.MSG.suscribirOK = Cadastro registrado com sucesso.
|
||||||
editarIntComprovantePassagem.URL = URL
|
editarIntComprovantePassagem.URL = URL
|
||||||
editarIntComprovantePassagem.apiKey = API KEY
|
editarIntComprovantePassagem.apiKey = API KEY
|
||||||
editarIntComprovantePassagem.empresa = Empresa
|
editarIntComprovantePassagem.empresa = Empresa
|
||||||
|
editarIntComprovantePassagem.idiomaTemplate = Idioma Template
|
||||||
editarIntComprovantePassagem.nomeTemplate = Nome Template
|
editarIntComprovantePassagem.nomeTemplate = Nome Template
|
||||||
editarIntComprovantePassagem.remetente = Remetente
|
editarIntComprovantePassagem.remetente = Remetente
|
||||||
editarIntComprovantePassagem.tipoIntegracao = Tipo Integração
|
editarIntComprovantePassagem.tipoIntegracao = Tipo Integração
|
||||||
|
@ -7281,6 +7286,9 @@ editarVigenciaTarifaController.btnFechar.tooltiptext = Fechar
|
||||||
editarVigenciaTarifaController.btnSalvar.tooltiptext = Salvar
|
editarVigenciaTarifaController.btnSalvar.tooltiptext = Salvar
|
||||||
# Editar Vigência Tarifa
|
# Editar Vigência Tarifa
|
||||||
editarVigenciaTarifaController.window.title = Vigência Tarifa
|
editarVigenciaTarifaController.window.title = Vigência Tarifa
|
||||||
|
editarVoucherController.MSG.camposObrigatoriosLegalizar = É necessário informar os campos: Valor Legalizado, Valor Transportadora, Transportadora
|
||||||
|
editarVoucherController.tab.legalizar = Legalizar
|
||||||
|
editarVoucherController.tab.voucher = Voucher
|
||||||
envioNominaController.lhEnviar.label = Enviar Nomina
|
envioNominaController.lhEnviar.label = Enviar Nomina
|
||||||
envioNominaController.window.title = Envio Nomina
|
envioNominaController.window.title = Envio Nomina
|
||||||
envioNominaControllerController.MSG.enviarOK = Enviou a Nomina com Sucesso.
|
envioNominaControllerController.MSG.enviarOK = Enviou a Nomina com Sucesso.
|
||||||
|
@ -7972,6 +7980,7 @@ indexController.mniVersion.label = Versão
|
||||||
indexController.mniVia.label = Via
|
indexController.mniVia.label = Via
|
||||||
indexController.mniVigenciaTarifa.label = Vigência Tarifas
|
indexController.mniVigenciaTarifa.label = Vigência Tarifas
|
||||||
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = Visualizar Senha Instalação
|
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = Visualizar Senha Instalação
|
||||||
|
indexController.mniVoucher.label = Voucher
|
||||||
#busquedaMensagemRecusa
|
#busquedaMensagemRecusa
|
||||||
indexController.mnimMensagemRecusa.label = Mensagem Recusa
|
indexController.mnimMensagemRecusa.label = Mensagem Recusa
|
||||||
indexController.mnirELRelatorioGratuidadeAGR.label = Relatório Gratuidades AGR
|
indexController.mnirELRelatorioGratuidadeAGR.label = Relatório Gratuidades AGR
|
||||||
|
@ -8073,6 +8082,7 @@ label.criacao = Criação
|
||||||
label.dataFinal = Data Final
|
label.dataFinal = Data Final
|
||||||
label.dataInicial = Data Inicial
|
label.dataInicial = Data Inicial
|
||||||
label.dataOperacao = Data Operação
|
label.dataOperacao = Data Operação
|
||||||
|
label.dataValidade = Data Validade
|
||||||
label.debito = Débito
|
label.debito = Débito
|
||||||
label.desconto = Desconto
|
label.desconto = Desconto
|
||||||
label.descricao = Descrição
|
label.descricao = Descrição
|
||||||
|
@ -8092,17 +8102,25 @@ label.nit = Nit
|
||||||
label.numContrato = Número Contrato
|
label.numContrato = Número Contrato
|
||||||
#Pantalla Pesquisa Tipo Convênio
|
#Pantalla Pesquisa Tipo Convênio
|
||||||
label.numConvenio = Número Convênio
|
label.numConvenio = Número Convênio
|
||||||
|
label.numFatura = Num. Fatura
|
||||||
|
label.numVoucher = Número Voucher
|
||||||
label.numero = Número
|
label.numero = Número
|
||||||
label.observacao = Observação
|
label.observacao = Observação
|
||||||
label.operacao = Operação
|
label.operacao = Operação
|
||||||
label.orgaoConcedente = Orgão Concedente
|
label.orgaoConcedente = Orgão Concedente
|
||||||
label.origem = Origem
|
label.origem = Origem
|
||||||
label.percentualBonus = Percentual Bônus
|
label.passageiro = Passageiro
|
||||||
|
label.percentualVoucher = Percentual Voucher
|
||||||
label.razaoSocial = Razão Social
|
label.razaoSocial = Razão Social
|
||||||
label.reducao = Redução
|
label.reducao = Redução
|
||||||
label.representante = Representante
|
label.representante = Representante
|
||||||
label.reservaBilhete = Reserva Bilhetes
|
label.reservaBilhete = Reserva Bilhetes
|
||||||
label.saldo = Saldo
|
label.saldo = Saldo
|
||||||
|
label.situacao = Situação
|
||||||
|
label.situacaoVoucher.cancelado = Cancelado
|
||||||
|
label.situacaoVoucher.emitido = Emitido
|
||||||
|
label.situacaoVoucher.faturado = Faturado
|
||||||
|
label.situacaoVoucher.legalizado = Legalizado
|
||||||
label.status = Status
|
label.status = Status
|
||||||
label.status.ativo = Ativo
|
label.status.ativo = Ativo
|
||||||
label.status.digitado = Digitado
|
label.status.digitado = Digitado
|
||||||
|
@ -8131,14 +8149,18 @@ label.tipoLancamento.reducao = Redução
|
||||||
label.tipoTarifa = Tipo Tarifa
|
label.tipoTarifa = Tipo Tarifa
|
||||||
label.tipoTarifa.fixa = Fixa
|
label.tipoTarifa.fixa = Fixa
|
||||||
label.tipoTarifa.variavel = Variável
|
label.tipoTarifa.variavel = Variável
|
||||||
|
label.transportadora = Transportadora
|
||||||
label.valor = Valor
|
label.valor = Valor
|
||||||
label.valorContrato = Valor Contrato
|
label.valorContrato = Valor Contrato
|
||||||
|
label.valorLegalizado = Valor Legalizado
|
||||||
|
label.valorLicitado = Valor Licitado
|
||||||
|
label.valorTransportadora = Valor Transportadora
|
||||||
lb.CentroResultado = Centro de Resultado
|
lb.CentroResultado = Centro de Resultado
|
||||||
lb.Equivalencia = Equivalencia
|
lb.Equivalencia = Equivalencia
|
||||||
lb.ate = até
|
lb.ate = até
|
||||||
lb.btnAtivar = Ativar
|
lb.btnAtivar = Ativar
|
||||||
lb.btnDesativar = Desativar
|
lb.btnDesativar = Desativar
|
||||||
lb.btnLimpar.label = Limpar Seleção\\\
|
lb.btnLimpar.label = Limpar Seleção
|
||||||
lb.btnPesquisa.label = Pesquisar
|
lb.btnPesquisa.label = Pesquisar
|
||||||
lb.chbpe = Chave BP-e
|
lb.chbpe = Chave BP-e
|
||||||
lb.dataFin.value = Data Final
|
lb.dataFin.value = Data Final
|
||||||
|
@ -9561,7 +9583,7 @@ relatorioRecargaRvhubController.lbNumero.value = Número
|
||||||
relatorioRecargaRvhubController.lbPuntoVenta.value = Agência
|
relatorioRecargaRvhubController.lbPuntoVenta.value = Agência
|
||||||
relatorioRecargaRvhubController.lbStatus.value = Status
|
relatorioRecargaRvhubController.lbStatus.value = Status
|
||||||
relatorioRecargaRvhubController.window.title = Recarga Rvhub
|
relatorioRecargaRvhubController.window.title = Recarga Rvhub
|
||||||
relatorioReceitaDiariaAgenciaController.btnLimpar.label = Limpar Seleção\\\
|
relatorioReceitaDiariaAgenciaController.btnLimpar.label = Limpar Seleção
|
||||||
relatorioReceitaDiariaAgenciaController.btnPesquisa.label = Pesquisar
|
relatorioReceitaDiariaAgenciaController.btnPesquisa.label = Pesquisar
|
||||||
relatorioReceitaDiariaAgenciaController.chkContemplarGap.label = Contemplar Impressão Posterior
|
relatorioReceitaDiariaAgenciaController.chkContemplarGap.label = Contemplar Impressão Posterior
|
||||||
relatorioReceitaDiariaAgenciaController.chkExcessoBagagem.label = Excluso Excesso de Bagagem
|
relatorioReceitaDiariaAgenciaController.chkExcessoBagagem.label = Excluso Excesso de Bagagem
|
||||||
|
@ -10232,36 +10254,3 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Série
|
||||||
winMovimentacionBilhetesPuntoVenta.origem.label = Origem
|
winMovimentacionBilhetesPuntoVenta.origem.label = Origem
|
||||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
||||||
# Form Autorizacao Tipo de Passagem
|
|
||||||
editarFormAutorizacaoController.MSG.borrarPergunta = Deseja apagar esse registro ?
|
|
||||||
editarFormAutorizacaoController.window.title = Formulário de Autorização
|
|
||||||
editarFormAutorizacaoController.MSG.borrarOK = Registro apagado com sucesso.
|
|
||||||
|
|
||||||
editarIntComprovantePassagem.idiomaTemplate= Idioma Template
|
|
||||||
|
|
||||||
|
|
||||||
indexController.mniRelatorioDescontoPorCupom.label = Relatório Desconto Por Cupom
|
|
||||||
relatorioDescontoPorCupomController.window.title = RELATÓRIO DESCONTO POR CUPOM
|
|
||||||
relatorioDescontoPorCupomController.lbDatInicial.value=Data Inicial da Venda
|
|
||||||
relatorioDescontoPorCupomController.lbDatFinal.value=Data Final da Venda
|
|
||||||
relatorioDescontoPorCupomController.lbDatResgateInicial.value=Data Inicial do Resgate
|
|
||||||
relatorioDescontoPorCupomController.lbDatResgateFinal.value=Data Final do Resgate
|
|
||||||
winFiltroRelatorioDescontoPorCupom.lbEmpresa.value=Empresa
|
|
||||||
winFiltroRelatorioDescontoPorCupom.lbPuntoVenta.value=Agência
|
|
||||||
|
|
||||||
|
|
||||||
editarIntComprovantePassagem.window.title=Integração Comprovante Passagem
|
|
||||||
editarIntComprovantePassagem.empresa= Empresa
|
|
||||||
editarIntComprovantePassagem.tipoIntegracao= Tipo Integração
|
|
||||||
editarIntComprovantePassagem.viaComprovante= Via Comprovante
|
|
||||||
editarIntComprovantePassagem.URL= URL
|
|
||||||
editarIntComprovantePassagem.apiKey= API KEY
|
|
||||||
editarIntComprovantePassagem.remetente= Remetente
|
|
||||||
editarIntComprovantePassagem.nomeTemplate= Nome Template
|
|
||||||
editarIntComprovantePassagem.MSG.cadastroExistente= Já existe uma configuração para esta Empresa, Integração e Via.
|
|
||||||
editarIntComprovantePassagem.MSG.suscribirOK= Cadastro registrado com sucesso.
|
|
||||||
editarIntComprovantePassagem.MSG.borrarPergunta= Remover configurações da Integração para empresa?
|
|
||||||
editarIntComprovantePassagem.MSG.borrarOK = Configuração Excluida com Sucesso.
|
|
||||||
|
|
||||||
indexController.mniIntegracao.integracaoComprovantePassagem.label= Comprovante Passagem
|
|
||||||
indexController.mniIntegracao.label= Integração
|
|
||||||
|
|
|
@ -0,0 +1,118 @@
|
||||||
|
<?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="winBusquedaVoucher"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winBusquedaVoucher" border="normal"
|
||||||
|
apply="${busquedaVoucherController}"
|
||||||
|
height="500px" width="1000px" contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarVoucherController.window.title')}" >
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnRefresh" image="/gui/img/refresh.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnActualizar')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winBusquedaVoucher.detach()" image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnFechar')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.numVoucher')}" />
|
||||||
|
<longbox id="txtNumVoucher" constraint="no negative" maxlength="15" width="100px" />
|
||||||
|
|
||||||
|
<label value="${c:l('label.numContrato')}" />
|
||||||
|
<textbox id="txtNumContrato" constraint="no negative" maxlength="15" width="100px" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.nit')}" />
|
||||||
|
<textbox id="txtNit" maxlength="20" width="150px" />
|
||||||
|
|
||||||
|
<label value="${c:l('label.razaoSocial')}" />
|
||||||
|
<textbox id="txtNome" maxlength="150" width="95%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbDataInicial" value="${c:l('label.dataInicial')}" />
|
||||||
|
<datebox id="datInicial" width="100px"
|
||||||
|
format="dd/MM/yyyy" maxlength="10" />
|
||||||
|
|
||||||
|
<label id="lbDataFinal" value="${c:l('label.dataFinal')}" />
|
||||||
|
<datebox id="datFinal" width="100px"
|
||||||
|
format="dd/MM/yyyy" maxlength="10" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.origem')}" />
|
||||||
|
<combobox id="cmbOrigem" width="95%"
|
||||||
|
autodrop="false" mold="rounded" buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
|
||||||
|
|
||||||
|
<label value="${c:l('label.destino')}" />
|
||||||
|
<combobox id="cmbDestino" width="95%"
|
||||||
|
autodrop="false" mold="rounded" buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
|
||||||
|
</row>
|
||||||
|
<row spans="1,4" height="10px">
|
||||||
|
<label value="${c:l('label.situacao')}" />
|
||||||
|
<hbox>
|
||||||
|
<checkbox id="chkEmitido" value="0" label="${c:l('label.situacaoVoucher.emitido')}" style="padding: 60px;" />
|
||||||
|
<checkbox id="chkLegalizado" value="1" label="${c:l('label.situacaoVoucher.legalizado')}" style="padding: 60px;" />
|
||||||
|
<checkbox id="chkFaturado" value="2" label="${c:l('label.situacaoVoucher.faturado')}" style="padding: 60px;" />
|
||||||
|
<checkbox id="chkCancelado" value="3" label="${c:l('label.situacaoVoucher.cancelado')}" style="padding: 60px;" />
|
||||||
|
</hbox>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
|
label="${c:l('label.btnPesquisa')}" />
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<paging id="pagingVoucher" pageSize="20" />
|
||||||
|
<listbox id="voucherList"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
multiple="false">
|
||||||
|
<listhead sizable="true">
|
||||||
|
<listheader id="lhNumVoucher" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.numVoucher')}"
|
||||||
|
sort="auto(voucherId)" />
|
||||||
|
<listheader id="lhNumContrato" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.numContrato')}"
|
||||||
|
sort="auto(numContrato)" />
|
||||||
|
<listheader id="lhSituacao" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.situacao')}" width="100px"
|
||||||
|
sort="auto(status)" />
|
||||||
|
<listheader id="lhValidade" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.dataValidade')}"
|
||||||
|
sort="auto(dataValidade)" width="100px;" />
|
||||||
|
<listheader id="lhValor" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.valorLicitado')}"
|
||||||
|
sort="auto(valorLicitado)" />
|
||||||
|
<listheader id="lhValorLegal" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.valorLegalizado')}"
|
||||||
|
sort="auto(valorLegalizado)" />
|
||||||
|
<listheader id="lhOrigem" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.origem')}"
|
||||||
|
sort="auto(origenId)" />
|
||||||
|
<listheader id="lhDestino" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.destino')}"
|
||||||
|
sort="auto(destinoId)" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -77,7 +77,7 @@
|
||||||
value="@{winEditarContrato$composer.contrato.valorContrato}" />
|
value="@{winEditarContrato$composer.contrato.valorContrato}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbPercentual" value="${c:l('label.percentualBonus')}" />
|
<label id="lbPercentual" value="${c:l('label.percentualVoucher')}" />
|
||||||
<decimalbox id="txtBonus" maxlength="6" format="0.00"
|
<decimalbox id="txtBonus" maxlength="6" format="0.00"
|
||||||
constraint="no negative" width="100px"
|
constraint="no negative" width="100px"
|
||||||
value="@{winEditarContrato$composer.contrato.percentualBonus}" />
|
value="@{winEditarContrato$composer.contrato.percentualBonus}" />
|
||||||
|
|
|
@ -0,0 +1,156 @@
|
||||||
|
<?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="winEditarVoucher"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winEditarVoucher" border="normal"
|
||||||
|
apply="${editarVoucherController}" height="317px" width="600px"
|
||||||
|
contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarVoucherController.window.title')}">
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnSalvar" height="20"
|
||||||
|
image="/gui/img/save.png" width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnSalvar')}" />
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winEditarVoucher.detach()" image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnFechar')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<tabbox vflex="1" hflex="1">
|
||||||
|
<tabs>
|
||||||
|
<tab label="${c:l('editarVoucherController.tab.voucher')}" />
|
||||||
|
<tab label="${c:l('editarVoucherController.tab.legalizar')}" />
|
||||||
|
</tabs>
|
||||||
|
|
||||||
|
<tabpanels style="overflow: auto">
|
||||||
|
|
||||||
|
<!-- Voucher -->
|
||||||
|
<tabpanel id="tbVoucher" >
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbNumVoucher" value="${c:l('label.numVoucher')}" />
|
||||||
|
<label id="txtNumVoucher"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.voucherId}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.numContrato')}" />
|
||||||
|
<label id="txtNumContrato"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.contrato.numContrato}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.clienteCorporativo')}" />
|
||||||
|
<label id="txtCliente" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.origem')}" />
|
||||||
|
<label id="txtOrigem"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.descOrigem}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.destino')}" />
|
||||||
|
<label id="txtDestino"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.descDestino}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label id="lbDataValidade" value="${c:l('label.dataValidade')}" />
|
||||||
|
<datebox id="datValidade" width="100px"
|
||||||
|
constraint="no past, no today" format="dd/MM/yyyy" maxlength="10"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.dataValidade}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label id="lbValorLicitado" value="${c:l('label.valorLicitado')}" />
|
||||||
|
<label id="txtValorLicitado"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLicitado}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label id="lbLegalizado" value="${c:l('label.valorLegalizado')}" />
|
||||||
|
<label id="txtLegalizado"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLegalizado}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.passageiro')}" />
|
||||||
|
<label id="txtPassageiro"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.nomePassageiro}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.numFatura')}" />
|
||||||
|
<label id="txtFatura"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.numFatura}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row >
|
||||||
|
<label value="${c:l('label.situacao')}" />
|
||||||
|
<label id="txtStatus"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.situacaoVoucher}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
|
<!-- Legalizar -->
|
||||||
|
<tabpanel id="tbLegalizar" >
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbValorLegalizado" value="${c:l('label.valorLegalizado')}" />
|
||||||
|
<decimalbox id="txtValorLegalizado"
|
||||||
|
maxlength="12" format="0.00"
|
||||||
|
constraint="no negative" width="100px"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLegalizado}" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbValorTransp" value="${c:l('label.valorTransportadora')}" />
|
||||||
|
<decimalbox id="txtValorTransp"
|
||||||
|
maxlength="12" format="0.00"
|
||||||
|
constraint="no negative" width="100px"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLegalizado}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.transportadora')}"/>
|
||||||
|
<combobox id="cmbTransportadora" width="95%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarVoucher$composer.lsTransportadora}"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.transportadora}"
|
||||||
|
mold="rounded" buttonVisible="true" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row spans="4" align="center">
|
||||||
|
<button id="btnLegalizar" height="20"
|
||||||
|
image="/gui/img/ok.png" width="120px"
|
||||||
|
label="Legalizar " />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
|
</tabpanels>
|
||||||
|
</tabbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue