fixes bug#AL-1823
qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@115663 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
37a2754607
commit
b27d8745cf
|
@ -1807,6 +1807,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
txtMaxCancelacion.getValue();
|
txtMaxCancelacion.getValue();
|
||||||
txtNome.getValue();
|
txtNome.getValue();
|
||||||
|
@ -2026,6 +2027,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
if(!isPermissaoMotivoFormaPago) {
|
if(!isPermissaoMotivoFormaPago) {
|
||||||
puntoVenta.setLsFormaPagoDet(lsFormaPagoDet);
|
puntoVenta.setLsFormaPagoDet(lsFormaPagoDet);
|
||||||
|
}else {
|
||||||
|
puntoVenta.setLsFormaPagoDet(formaPagoList.getListData());
|
||||||
}
|
}
|
||||||
|
|
||||||
puntoVenta.setLsParamRecoleccion(lsParamRecoleccion);
|
puntoVenta.setLsParamRecoleccion(lsParamRecoleccion);
|
||||||
|
@ -4612,8 +4615,10 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
formaPagosIds[i] = formaPago.getFormapagoId().intValue();
|
formaPagosIds[i] = formaPago.getFormapagoId().intValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
busqueda.addFilterEqual("puntoVenta",puntoVenta);
|
||||||
busqueda.addFilterEqual("activo", Boolean.TRUE);
|
busqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
busqueda.addSortAsc("fecAlteracao");
|
||||||
|
|
||||||
if(formaPagosIds.length > 0) {
|
if(formaPagosIds.length > 0) {
|
||||||
busqueda.addFilterIn("formaPagoId", Arrays.asList(formaPagosIds));
|
busqueda.addFilterIn("formaPagoId", Arrays.asList(formaPagosIds));
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ public class PuntoVendaHistoricoFormaPagoListItemRenderer implements ListitemRen
|
||||||
|
|
||||||
HistoricoFormaPagoPuntoVenta h = (HistoricoFormaPagoPuntoVenta) o;
|
HistoricoFormaPagoPuntoVenta h = (HistoricoFormaPagoPuntoVenta) o;
|
||||||
|
|
||||||
Listcell lc = new Listcell(h.getIndInclusao() != null ? h.getIndInclusao() ? "Inclusão" : "Exclusão" : null);
|
Listcell lc = new Listcell(h.getIndInclusao() != null ? h.getIndInclusao() ? "Inclusao" : "Exclusao" : null);
|
||||||
lc.setParent(lstm);
|
lc.setParent(lstm);
|
||||||
|
|
||||||
SimpleDateFormat formato = new SimpleDateFormat("dd/MM/yyyy");
|
SimpleDateFormat formato = new SimpleDateFormat("dd/MM/yyyy");
|
||||||
|
|
Loading…
Reference in New Issue