Totvs - WS Fornecedor / WS Cliente / WS Pedido Compra (fixes bug #6127)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@43048 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
851b6786c2
commit
0af7419a69
|
@ -101,6 +101,7 @@ import com.rjconsultores.ventaboletos.service.PuntoVentaService;
|
||||||
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
|
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
|
||||||
import com.rjconsultores.ventaboletos.service.UsuarioBancarioService;
|
import com.rjconsultores.ventaboletos.service.UsuarioBancarioService;
|
||||||
import com.rjconsultores.ventaboletos.service.UsuarioService;
|
import com.rjconsultores.ventaboletos.service.UsuarioService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales.FechamentoParamptovtaListItemRenderer;
|
import com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales.FechamentoParamptovtaListItemRenderer;
|
||||||
|
@ -307,6 +308,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
private Checkbox ckIsento;
|
private Checkbox ckIsento;
|
||||||
private MyTextbox txtNumIEPuntoVenta;
|
private MyTextbox txtNumIEPuntoVenta;
|
||||||
private Datebox fecIntegracion;
|
private Datebox fecIntegracion;
|
||||||
|
private boolean integracionTotvs;
|
||||||
|
|
||||||
public static final int INTERVALO_FECHAMENTO_SEMANAL = 7;
|
public static final int INTERVALO_FECHAMENTO_SEMANAL = 7;
|
||||||
public static final int INTERVALO_FECHAMENTO_DECENDIAL = 10;
|
public static final int INTERVALO_FECHAMENTO_DECENDIAL = 10;
|
||||||
|
@ -820,14 +822,12 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (e instanceof WrongValueException) {
|
if (e instanceof WrongValueException) {
|
||||||
throw (WrongValueException) e;
|
throw (WrongValueException) e;
|
||||||
}
|
}
|
||||||
|
|
||||||
log.error("", e);
|
log.error("", e);
|
||||||
|
|
||||||
|
|
||||||
Messagebox.show(
|
Messagebox.show(
|
||||||
e.getMessage(),
|
e.getMessage(),
|
||||||
Labels.getLabel("editarPuntoVentaController.window.title"),
|
Labels.getLabel("editarPuntoVentaController.window.title"),
|
||||||
|
@ -2530,4 +2530,15 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
this.radTotvsErro = radTotvsErro;
|
this.radTotvsErro = radTotvsErro;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isIntegracionTotvs() {
|
||||||
|
integracionTotvs = false;
|
||||||
|
if (ApplicationProperties.getInstance().integracionTotvs()) {
|
||||||
|
integracionTotvs = true;
|
||||||
|
}
|
||||||
|
return integracionTotvs;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIntegracionTotvs(boolean integracionTotvs) {
|
||||||
|
this.integracionTotvs = integracionTotvs;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,8 +95,8 @@
|
||||||
value="@{winEditarPuntoVenta$composer.puntoVenta.numPuntoVenta}" />
|
value="@{winEditarPuntoVenta$composer.puntoVenta.numPuntoVenta}" />
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
|
||||||
<!-- Integracion TOTVS -->
|
<!-- Integracion TOTVS -->
|
||||||
|
<row visible="@{winEditarPuntoVenta$composer.integracionTotvs}">
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarPuntoVentaController.label.totvs')}" />
|
value="${c:l('editarPuntoVentaController.label.totvs')}" />
|
||||||
<radiogroup Id="indIntegracion" >
|
<radiogroup Id="indIntegracion" >
|
||||||
|
|
Loading…
Reference in New Issue