bug #6010: Boleto - Fechamento automático por agência par todas empresas
Descrição 1) Fechamento automático de acordo a agência: Parametrizar no cadastro de Agência esse valor. Deve ser em qtd de dias. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@41054 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
5dbf08c1ff
commit
7af53b7f86
|
@ -0,0 +1,177 @@
|
|||
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.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.Combobox;
|
||||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.Paging;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.service.FechamentoParamptovtaService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||
|
||||
@Controller("busquedaFechamentoParamptovtaController")
|
||||
@Scope("prototype")
|
||||
public class BusquedaFechamentoParamptovtaController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Autowired
|
||||
private FechamentoParamptovtaService fechamentoParamptovtaService;
|
||||
|
||||
@Autowired
|
||||
private transient PagedListWrapper<FechamentoParamptovta> plwParams;
|
||||
private Paging pagingParams;
|
||||
|
||||
private MyListbox paramsList;
|
||||
|
||||
private Combobox cmbEmpresa;
|
||||
private List<Empresa> lsEmpresas;
|
||||
|
||||
private Combobox cmbPuntoventa;
|
||||
private List<PuntoVenta> lsPuntoventa;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
|
||||
lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||
setLsPuntoventa(new ArrayList<PuntoVenta>());
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
paramsList.setItemRenderer(new FechamentoParamptovtaListItemRenderer());
|
||||
paramsList.addEventListener("onDoubleClick", new EventListener() {
|
||||
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
FechamentoParamptovta params = (FechamentoParamptovta) paramsList.getSelected();
|
||||
visualizaParams(params);
|
||||
}
|
||||
});
|
||||
|
||||
actualizaParamsList();
|
||||
}
|
||||
|
||||
|
||||
private void visualizaParams(FechamentoParamptovta _params){
|
||||
|
||||
if (_params == null)
|
||||
return;
|
||||
|
||||
Map<String,Object> args = new HashMap<String,Object>();
|
||||
args.put("fechamentoparamptovtaId", _params.getFechamentoparamptovtaId());
|
||||
args.put("paramsList", paramsList);
|
||||
|
||||
openWindow("/gui/configuraciones_comerciales/editarFechamentoParamptovta.zul",
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.window.title"), args, MODAL);
|
||||
|
||||
}
|
||||
|
||||
public void onClick$btnPesquisa(Event ev) throws InterruptedException {
|
||||
actualizaParamsList();
|
||||
}
|
||||
|
||||
public void onClick$btnRefresh(Event ev) {
|
||||
actualizaParamsList();
|
||||
}
|
||||
|
||||
public void onClick$btnNovo(Event ev) {
|
||||
FechamentoParamptovta FechamentoParamptovta = new FechamentoParamptovta();
|
||||
FechamentoParamptovta.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
FechamentoParamptovta.setActivo(Boolean.TRUE);
|
||||
visualizaParams(FechamentoParamptovta);
|
||||
}
|
||||
|
||||
private void actualizaParamsList() {
|
||||
HibernateSearchObject<FechamentoParamptovta> paramsBusqueda =
|
||||
new HibernateSearchObject<FechamentoParamptovta>(FechamentoParamptovta.class, pagingParams.getPageSize());
|
||||
|
||||
paramsBusqueda.addFilterEqual("activo", true);
|
||||
|
||||
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||
if (itemEmpresa != null) {
|
||||
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
||||
paramsBusqueda.addFilterEqual("empresa", empresa);
|
||||
} else {
|
||||
paramsBusqueda.addFilterIn("empresa", lsEmpresas);
|
||||
}
|
||||
|
||||
Comboitem itemPuntoventa = cmbPuntoventa.getSelectedItem();
|
||||
if (itemPuntoventa != null) {
|
||||
PuntoVenta puntoventa = (PuntoVenta) itemPuntoventa.getValue();
|
||||
paramsBusqueda.addFilterEqual("puntoventa", puntoventa);
|
||||
} else {
|
||||
paramsBusqueda.addFilterIn("puntoventa", lsPuntoventa);
|
||||
}
|
||||
|
||||
|
||||
paramsBusqueda.addSortDesc("fechamentoparamptovtaId");
|
||||
|
||||
plwParams.init(paramsBusqueda, paramsList, pagingParams);
|
||||
|
||||
if (paramsList.getData().length == 0) {
|
||||
try {
|
||||
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||
Labels.getLabel("busquedaFechamentoParamptovtaController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
} catch (InterruptedException ex) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public MyListbox getParamsList() {
|
||||
return paramsList;
|
||||
}
|
||||
|
||||
|
||||
public void setParamsList(MyListbox paramsList) {
|
||||
this.paramsList = paramsList;
|
||||
}
|
||||
|
||||
|
||||
public Combobox getCmbEmpresa() {
|
||||
return cmbEmpresa;
|
||||
}
|
||||
|
||||
|
||||
public void setCmbEmpresa(Combobox cmbEmpresa) {
|
||||
this.cmbEmpresa = cmbEmpresa;
|
||||
}
|
||||
|
||||
|
||||
public List<Empresa> getLsEmpresas() {
|
||||
return lsEmpresas;
|
||||
}
|
||||
|
||||
|
||||
public void setLsEmpresas(List<Empresa> lsEmpresas) {
|
||||
this.lsEmpresas = lsEmpresas;
|
||||
}
|
||||
|
||||
public List<PuntoVenta> getLsPuntoventa() {
|
||||
return lsPuntoventa;
|
||||
}
|
||||
|
||||
|
||||
public void setLsPuntoventa(List<PuntoVenta> lsPuntoventa) {
|
||||
this.lsPuntoventa = lsPuntoventa;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,206 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Messagebox;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.Executions;
|
||||
import org.zkoss.zk.ui.util.Clients;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Textbox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.service.FechamentoParamptovtaService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
|
||||
@Controller("editarFechamentoParamptovtaController")
|
||||
@Scope("prototype")
|
||||
public class EditarFechamentoParamptovtaController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static Logger log = Logger.getLogger(EditarFechamentoParamptovtaController.class);
|
||||
|
||||
@Autowired
|
||||
private FechamentoParamptovtaService fechamentoParamptovtaService;
|
||||
|
||||
private Textbox txtIntervalofechamento;
|
||||
|
||||
private Combobox cmbEmpresa;
|
||||
private List<Empresa> lsEmpresas;
|
||||
|
||||
private Combobox cmbPuntoventa;
|
||||
private List<PuntoVenta> lsPuntoventa;
|
||||
|
||||
private FechamentoParamptovta fechamentoParamptovta;
|
||||
|
||||
private MyListbox paramsList;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||
setLsPuntoventa(new ArrayList<PuntoVenta>());
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
Long fechamentoParamptovtaId = (Long) Executions.getCurrent().getArg().get("fechamentoparamptovtaId");
|
||||
if(fechamentoParamptovtaId != null && fechamentoParamptovtaId > 0) {
|
||||
fechamentoParamptovta = fechamentoParamptovtaService.obtenerID(fechamentoParamptovtaId);
|
||||
if(fechamentoParamptovta.getEmpresa() != null) {
|
||||
cmbEmpresa.setText(fechamentoParamptovta.getEmpresa().getNombempresa());
|
||||
}
|
||||
|
||||
if(fechamentoParamptovta.getPuntoventa() != null) {
|
||||
cmbPuntoventa.setText(fechamentoParamptovta.getPuntoventa().getNombpuntoventa());
|
||||
}
|
||||
|
||||
}
|
||||
paramsList = (MyListbox) Executions.getCurrent().getArg().get("paramsList");
|
||||
|
||||
}
|
||||
|
||||
public Combobox getCmbEmpresa() {
|
||||
return cmbEmpresa;
|
||||
}
|
||||
|
||||
public void setCmbEmpresa(Combobox cmbEmpresa) {
|
||||
this.cmbEmpresa = cmbEmpresa;
|
||||
}
|
||||
|
||||
public List<Empresa> getLsEmpresas() {
|
||||
return lsEmpresas;
|
||||
}
|
||||
|
||||
public void setLsEmpresas(List<Empresa> lsEmpresas) {
|
||||
this.lsEmpresas = lsEmpresas;
|
||||
}
|
||||
|
||||
public FechamentoParamptovta getFechamentoParamptovta() {
|
||||
return fechamentoParamptovta;
|
||||
}
|
||||
|
||||
public void setFechamentoParamptovta(FechamentoParamptovta fechamentoParamptovta) {
|
||||
this.fechamentoParamptovta = fechamentoParamptovta;
|
||||
}
|
||||
|
||||
public void onClick$btnSalvar() {
|
||||
try {
|
||||
if(getFechamentoParamptovta() == null) {
|
||||
setFechamentoParamptovta(new FechamentoParamptovta());
|
||||
}
|
||||
|
||||
if(StringUtils.isNotEmpty(txtIntervalofechamento.getText())){
|
||||
getFechamentoParamptovta().setIntervalofechamento(Integer.valueOf(txtIntervalofechamento.getText()));
|
||||
}
|
||||
|
||||
if(cmbEmpresa.getSelectedItem() != null) {
|
||||
getFechamentoParamptovta().setEmpresa((Empresa) cmbEmpresa.getSelectedItem().getValue());
|
||||
}
|
||||
|
||||
if(cmbPuntoventa.getSelectedItem() != null) {
|
||||
getFechamentoParamptovta().setPuntoventa((PuntoVenta) cmbPuntoventa.getSelectedItem().getValue());
|
||||
}
|
||||
|
||||
getFechamentoParamptovta().setFecmodif(Calendar.getInstance().getTime());
|
||||
getFechamentoParamptovta().setActivo(true);
|
||||
getFechamentoParamptovta().setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
|
||||
setFechamentoParamptovta(fechamentoParamptovtaService.suscribirOrActualizacion(getFechamentoParamptovta()));
|
||||
|
||||
if(paramsList != null) {
|
||||
paramsList.updateItem(getFechamentoParamptovta());
|
||||
}
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.MSG.suscribirOK"),
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
|
||||
closeWindow();
|
||||
} catch (Exception ex) {
|
||||
log.info(ex.getLocalizedMessage());
|
||||
Clients.alert(ex.getLocalizedMessage(),
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.window.title"), Messagebox.INFORMATION);
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnApagar() {
|
||||
try {
|
||||
if(getFechamentoParamptovta() != null && getFechamentoParamptovta().getFechamentoparamptovtaId() != null) {
|
||||
int resp = Messagebox.show(
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.MSG.borrarPergunta"),
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.window.title"),
|
||||
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||
|
||||
if (resp == Messagebox.YES) {
|
||||
fechamentoParamptovtaService.borrar(getFechamentoParamptovta());
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.MSG.borrarOK"),
|
||||
Labels.getLabel("editarFechamentoParamptovtaController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
|
||||
if (paramsList != null) {
|
||||
paramsList.removeItem(getFechamentoParamptovta());
|
||||
}
|
||||
|
||||
closeWindow();
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
log.error(ex);
|
||||
}
|
||||
}
|
||||
|
||||
public List<PuntoVenta> getLsPuntoventa() {
|
||||
return lsPuntoventa;
|
||||
}
|
||||
|
||||
public void setLsPuntoventa(List<PuntoVenta> lsPuntoventa) {
|
||||
this.lsPuntoventa = lsPuntoventa;
|
||||
}
|
||||
|
||||
public FechamentoParamptovtaService getFechamentoParamptovtaService() {
|
||||
return fechamentoParamptovtaService;
|
||||
}
|
||||
|
||||
public void setFechamentoParamptovtaService(FechamentoParamptovtaService fechamentoParamptovtaService) {
|
||||
this.fechamentoParamptovtaService = fechamentoParamptovtaService;
|
||||
}
|
||||
|
||||
public Textbox getTxtIntervalofechamento() {
|
||||
return txtIntervalofechamento;
|
||||
}
|
||||
|
||||
public void setTxtIntervalofechamento(Textbox txtIntervalofechamento) {
|
||||
this.txtIntervalofechamento = txtIntervalofechamento;
|
||||
}
|
||||
|
||||
public Combobox getCmbPuntoventa() {
|
||||
return cmbPuntoventa;
|
||||
}
|
||||
|
||||
public void setCmbPuntoventa(Combobox cmbPuntoventa) {
|
||||
this.cmbPuntoventa = cmbPuntoventa;
|
||||
}
|
||||
|
||||
public MyListbox getParamsList() {
|
||||
return paramsList;
|
||||
}
|
||||
|
||||
public void setParamsList(MyListbox paramsList) {
|
||||
this.paramsList = paramsList;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta;
|
||||
|
||||
public class FechamentoParamptovtaListItemRenderer implements ListitemRenderer {
|
||||
|
||||
@Override
|
||||
public void render(Listitem listItem, Object arg1) throws Exception {
|
||||
|
||||
FechamentoParamptovta params = (FechamentoParamptovta)arg1;
|
||||
|
||||
// private Long FechamentoParamptovtaId;
|
||||
Listcell idCell = new Listcell(params.getFechamentoparamptovtaId().toString());
|
||||
idCell.setParent(listItem);
|
||||
|
||||
// private Empresa empresa;
|
||||
Listcell empresaCell = new Listcell(params.getEmpresa().getNombempresa());
|
||||
empresaCell.setParent(listItem);
|
||||
|
||||
// private String puntoVenta;
|
||||
Listcell puntoventaCell = new Listcell(params.getPuntoventa().getNombpuntoventa());
|
||||
puntoventaCell.setParent(listItem);
|
||||
|
||||
// private Integer intervalofechamento;
|
||||
Listcell intervalofechamento = new Listcell(params.getIntervalofechamento().toString());
|
||||
intervalofechamento.setParent(listItem);
|
||||
|
||||
// private Date fecmodif;
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
||||
Listcell fecmodifCell = new Listcell(sdf.format(params.getFecmodif()));
|
||||
fecmodifCell.setParent(listItem);
|
||||
|
||||
listItem.setAttribute("data", params);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.confcomerciales;
|
||||
|
||||
import org.zkoss.util.resource.Labels;
|
||||
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||
|
||||
public class ItemMenuFechamentoParamptovta extends DefaultItemMenuSistema {
|
||||
|
||||
public ItemMenuFechamentoParamptovta() {
|
||||
super("indexController.mniFechamentoParamptovta.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.FECHAMENTOPARAMPTOVTA";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/configuraciones_comerciales/busquedaFechamentoParamptovta.zul",
|
||||
Labels.getLabel("busquedaFechamentoParamptovtaController.window.title"), null, desktop);
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -362,6 +362,7 @@
|
|||
<!-- value>com.rjconsultores.ventaboletos.entidad.ControleEstoqueMigracao</value -->
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalImpressora</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamgeral</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoIdentificacion</value>
|
||||
|
||||
</list>
|
||||
|
|
|
@ -228,7 +228,8 @@ indexController.mniRelatorioSisdap.label=SISDAP
|
|||
indexController.mniRelatorioEmpresaCorrida.label = Reporte de la empresa corrida
|
||||
indexController.mniRelatorioEmpresaOnibus.label = Reporte de la empresa autobús
|
||||
indexController.mniRelatorioOCD.label = Reporte OCD por la empresa
|
||||
|
||||
indexController.mniFechamentoParamgeral.label = Fechamento Conta Corrente
|
||||
indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agência
|
||||
|
||||
#PARTE REALIZADA POR MANUEL
|
||||
indexController.mnCortesias.label = Cortesias para empleados
|
||||
|
@ -4947,4 +4948,18 @@ busquedaFechamentoParamgeralController.fecmodif.label = Ult. Actual.
|
|||
editarFechamentoParamgeralController.window.title = Cierre de Cuenta Corriente - Editar Parâmetro Geral
|
||||
editarFechamentoParamgeralController.MSG.suscribirOK = Cierre de Cuenta Corriente registró con éxito.
|
||||
editarFechamentoParamgeralController.MSG.borrarPergunta = Eliminar o Cierre de Cuenta Corriente?
|
||||
editarFechamentoParamgeralController.MSG.borrarOK = Cierre de Cuenta Corriente excluido con éxito.
|
||||
editarFechamentoParamgeralController.MSG.borrarOK = Cierre de Cuenta Corriente excluido con éxito.
|
||||
|
||||
# Búsqueda Fechamento Conta Corrente Agencia
|
||||
busquedaFechamentoParamptovtaController.window.title = Fechamento Conta Corrente Agencia
|
||||
busquedaFechamentoParamptovtaController.empresa.label = Empresa
|
||||
busquedaFechamentoParamptovtaController.puntoventa.label = Punto Venta
|
||||
busquedaFechamentoParamptovtaController.btnPesquisa.label = Pesquisa
|
||||
busquedaFechamentoParamptovtaController.intervalofechamento.label = Intervalo Fechamento(dias)
|
||||
busquedaFechamentoParamptovtaController.fecmodif.label = Ult. Atual.
|
||||
|
||||
# Editar Fechamento Conta Corrente Agencia
|
||||
editarFechamentoParamptovtaController.window.title = Fechamento Conta Corrente - Editar Parâmetro Agencia
|
||||
editarFechamentoParamptovtaController.MSG.suscribirOK = Fechamento Conta Corrente Agencia gravada com sucesso.
|
||||
editarFechamentoParamptovtaController.MSG.borrarPergunta = Eliminar o Fechamento Conta Corrente Agencia?
|
||||
editarFechamentoParamptovtaController.MSG.borrarOK = Fechamento Conta Corrente Agencia excluido com Sucesso.
|
|
@ -233,6 +233,7 @@ indexController.mniRelatorioEmpresaCorrida.label = Relatório por Empresa Corrid
|
|||
indexController.mniRelatorioEmpresaOnibus.label = Relatório por Empresa Ônibus
|
||||
indexController.mniRelatorioOCD.label = Relatório OCD por Empresa
|
||||
indexController.mniFechamentoParamgeral.label = Fechamento Conta Corrente
|
||||
indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agência
|
||||
|
||||
#PARTE REALIZADA POR MANUEL
|
||||
indexController.mnCortesias.label = Cortesias Para Funcionários
|
||||
|
@ -5028,4 +5029,19 @@ busquedaFechamentoParamgeralController.fecmodif.label = Ult. Atual.
|
|||
editarFechamentoParamgeralController.window.title = Fechamento Conta Corrente - Editar Parâmetro Geral
|
||||
editarFechamentoParamgeralController.MSG.suscribirOK = Fechamento Conta Corrente gravada com sucesso.
|
||||
editarFechamentoParamgeralController.MSG.borrarPergunta = Eliminar o Fechamento Conta Corrente?
|
||||
editarFechamentoParamgeralController.MSG.borrarOK = Fechamento Conta Corrente excluido com Sucesso.
|
||||
editarFechamentoParamgeralController.MSG.borrarOK = Fechamento Conta Corrente excluido com Sucesso.
|
||||
|
||||
|
||||
# Búsqueda Fechamento Conta Corrente Agencia
|
||||
busquedaFechamentoParamptovtaController.window.title = Fechamento Conta Corrente Agencia
|
||||
busquedaFechamentoParamptovtaController.empresa.label = Empresa
|
||||
busquedaFechamentoParamptovtaController.puntoventa.label = Agencia
|
||||
busquedaFechamentoParamptovtaController.btnPesquisa.label = Pesquisa
|
||||
busquedaFechamentoParamptovtaController.intervalofechamento.label = Intervalo Fechamento(dias)
|
||||
busquedaFechamentoParamptovtaController.fecmodif.label = Ult. Atual.
|
||||
|
||||
# Editar Fechamento Conta Corrente Agencia
|
||||
editarFechamentoParamptovtaController.window.title = Fechamento Conta Corrente - Editar Parâmetro Agencia
|
||||
editarFechamentoParamptovtaController.MSG.suscribirOK = Fechamento Conta Corrente Agencia gravada com sucesso.
|
||||
editarFechamentoParamptovtaController.MSG.borrarPergunta = Eliminar o Fechamento Conta Corrente Agencia?
|
||||
editarFechamentoParamptovtaController.MSG.borrarOK = Fechamento Conta Corrente Agencia excluido com Sucesso.
|
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?page title="Fechamento Conta Corrente Agencia - Parametros" contentType="text/html;charset=UTF-8"?>
|
||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winBusquedaFechamentoParamptovta"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk>
|
||||
<window id="winBusquedaFechamentoParamptovta" title="${c:l('busquedaFechamentoParamptovtaController.window.title')}"
|
||||
apply="${busquedaFechamentoParamptovtaController}" contentStyle="overflow:auto"
|
||||
height="500px" width="1100px" border="normal" >
|
||||
<toolbar>
|
||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnRefresh')}" />
|
||||
<separator orient="vertical" />
|
||||
|
||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnNovo')}" />
|
||||
|
||||
<separator orient="vertical" />
|
||||
<button id="btnCerrar" onClick="winBusquedaFechamentoParamptovta.detach()" image="/gui/img/exit.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnCerrar')}"/>
|
||||
</toolbar>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('busquedaFechamentoParamptovtaController.empresa.label')}" />
|
||||
<combobox id="cmbEmpresa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true"
|
||||
model="@{winBusquedaFechamentoParamptovta$composer.lsEmpresas}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('busquedaFechamentoParamptovtaController.puntoventa.label')}" />
|
||||
<combobox id="cmbPuntoventa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||
width="70%" mold="rounded" buttonVisible="true"
|
||||
model="@{winBusquedaFechamentoParamptovta$composer.lsPuntoventa}"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar>
|
||||
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||
label="${c:l('busquedaFechamentoParamptovtaController.btnPesquisa.label')}"/>
|
||||
</toolbar>
|
||||
|
||||
<paging id="pagingParams" pageSize="10"/>
|
||||
<listbox id="paramsList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" fixedLayout="true" vflex="true" hflex="min"
|
||||
multiple="false" height="250px" width="1080px">
|
||||
<listhead sizable="true">
|
||||
<listheader width="5%" image="/gui/img/create_doc.gif"
|
||||
label="${c:l('lb.id')}" sort="auto(fechamentoparamptovtaId)"/>
|
||||
|
||||
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||
label="${c:l('busquedaFechamentoParamptovtaController.empresa.label')}" sort="auto(empresa)"/>
|
||||
|
||||
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||
label="${c:l('busquedaFechamentoParamptovtaController.puntoventa.label')}" sort="auto(puntoventa)"/>
|
||||
|
||||
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||
label="${c:l('busquedaFechamentoParamptovtaController.intervalofechamento.label')}" sort="auto(intervalofechamento)"/>
|
||||
|
||||
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||
label="${c:l('busquedaFechamentoParamptovtaController.fecmodif.label')}" sort="auto(fecmodif)"/>
|
||||
|
||||
</listhead>
|
||||
</listbox>
|
||||
</window>
|
||||
</zk>
|
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?page title="Fechamento Conta Corrente - Parametros" contentType="text/html;charset=UTF-8"?>
|
||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarFechamentoParamptovta"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk>
|
||||
<window id="winEditarFechamentoParamptovta"
|
||||
title="${c:l('editarFechamentoParamptovtaController.window.title')}"
|
||||
border="normal"
|
||||
apply="${editarFechamentoParamptovtaController}"
|
||||
contentStyle="overflow:auto"
|
||||
width="415px"
|
||||
height="260px">
|
||||
|
||||
<toolbar>
|
||||
<button id="btnSalvar"
|
||||
height="20"
|
||||
image="/gui/img/save.png"
|
||||
width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnGuardar')}"/>
|
||||
<separator orient="vertical" />
|
||||
<button id="btnApagar"
|
||||
image="/gui/img/remove.png"
|
||||
width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||
<separator orient="vertical" />
|
||||
<button id="btnCerrar"
|
||||
onClick="winEditarFechamentoParamptovta.detach()"
|
||||
image="/gui/img/exit.png"
|
||||
width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnFechar')}"/>
|
||||
</toolbar>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('busquedaFechamentoParamptovtaController.empresa.label')}" />
|
||||
<combobox id="cmbEmpresa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded"
|
||||
buttonVisible="true"
|
||||
model="@{winEditarFechamentoParamptovta$composer.lsEmpresas}"
|
||||
constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('busquedaFechamentoParamptovtaController.puntoventa.label')}" />
|
||||
<combobox id="cmbPuntoventa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||
width="70%" mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarFechamentoParamptovta$composer.lsPuntoventa}"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('busquedaFechamentoParamptovtaController.intervalofechamento.label')}" />
|
||||
<textbox id="txtIntervalofechamento"
|
||||
width="190px"
|
||||
value="@{winEditarFechamentoParamptovta$composer.fechamentoParamptovta.intervalofechamento}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
constraint="no empty" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</window>
|
||||
</zk>
|
Loading…
Reference in New Issue