fixes bug#1296
parent
9eb9d6d54b
commit
09506cf4fe
|
@ -184,7 +184,6 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCategoriaBloque
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCobrancaAdcPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCobrancaAdcicionalHistorico;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderEmpresaBloquear;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderFormaPago;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderHistoricoFormaPago;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderHistoricoFormaPagoSelecao;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderParadaPtoVtaCheckin;
|
||||
|
@ -201,8 +200,6 @@ import com.rjconsultores.wsag.GeradorTitulosAG;
|
|||
//import com.rjconsultores.wsag.WSAGLog;
|
||||
import com.rjconsultores.wsag.WSAGLog;
|
||||
|
||||
import bsh.ParseException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rafius
|
||||
|
@ -293,6 +290,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private MyListbox ptovtaEstoqueList;
|
||||
private MyListbox ptovtaComissaoList;
|
||||
private MyListbox ptovtaCatIndList;
|
||||
private List<PtovtaCatInd> ptovtaCatIndListTemp;
|
||||
private MyListbox fechamentoParamptovtaList;
|
||||
private MyTextbox txtDiasemtransito;
|
||||
private MyListbox ptovtaHistoricoList;
|
||||
|
@ -303,7 +301,6 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private MyListbox ptovtaAntifraudeList;
|
||||
private MyListbox ptovtaExcecaoMultaCancList;
|
||||
private Bandbox bbCategoria;
|
||||
private Bandbox bbPesquisaHistoricoFormaPago;
|
||||
|
||||
private List<Categoria> lsCategoriaBloquear;
|
||||
|
||||
|
@ -685,6 +682,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
cobrancaAdicionalList.setItemRenderer(new RenderCobrancaAdcPuntoVenta());
|
||||
historicoCobrancaList.setItemRenderer(new RenderCobrancaAdcicionalHistorico());
|
||||
ptovtaCatIndList.setItemRenderer(new RenderPtovtaCatInd());
|
||||
ptovtaCatIndListTemp = new ArrayList<PtovtaCatInd>();
|
||||
ptovtaHistoricoList.setItemRenderer(new PuntoVendaHistoricoBloqueioListItemRenderer());
|
||||
categoriasBloqImpPosteriorList.setItemRenderer(new RenderCategoriaBloqueioVendaImpPosterior());
|
||||
ptovtaHistoricoFormaPagoList.setItemRenderer(new PuntoVendaHistoricoFormaPagoListItemRenderer());
|
||||
|
@ -759,6 +757,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
ptovtaPtoVtaCheckinList.setData(puntoVenta.getPtovtaCheckinList());
|
||||
ptovtaPtoVtaSeguroList.setData(puntoVenta.getPtovtaSeguroList());
|
||||
ptovtaCatIndList.setData(puntoVenta.getPtovtaCatIndList());
|
||||
ptovtaCatIndListTemp.addAll(puntoVenta.getPtovtaCatIndList());
|
||||
ptovtaHistoricoList.setData(puntoVenta.getHistoricoPuntoVentaList());
|
||||
ptovtaHistoricoFormaPagoList.setData(puntoVenta.getHistoricoFormaPagoPuntoVentaList());
|
||||
categoriasBloqImpPosteriorList.setData(puntoVenta.getCategoriaBloqImpPosteriorList());
|
||||
|
@ -1814,6 +1813,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
puntoVenta.addPtovtaCatInd(pto);
|
||||
ptovtaCatIndListTemp.add(pto);
|
||||
|
||||
|
||||
ptovtaCatIndList.setData(puntoVenta.getPtovtaCatIndList());
|
||||
|
@ -1855,6 +1855,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
PtovtaCatInd pto = (PtovtaCatInd) ptovtaCatIndList.getSelected();
|
||||
if (pto.getPtovtaCategoriaId() != null) {
|
||||
ptovtaCatIndService.borrar(pto);
|
||||
ptovtaCatIndListTemp.remove(pto);
|
||||
}
|
||||
puntoVenta.removePtovtaCatInd(pto);
|
||||
ptovtaCatIndList.setData(puntoVenta.getPtovtaCatIndList());
|
||||
|
@ -2099,6 +2100,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
puntoVenta.setTempoMinimoParaImpressao(txtTempoParaImpressao.getValue());
|
||||
puntoVenta.setNodo(nodoService.obtenerId(1));
|
||||
puntoVenta.setDateAbertura(dateAbertura.getValue());
|
||||
puntoVenta.setPtovtaCatIndList(ptovtaCatIndListTemp);
|
||||
|
||||
if (dateFechamento.getValue() != null && dateFechamento.getValue().compareTo(dateAbertura.getValue()) < 0) {
|
||||
Messagebox.show(
|
||||
|
@ -4792,6 +4794,5 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue