fixes bug #7987
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@72242 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
13d86990e8
commit
449d200bbd
|
@ -363,7 +363,6 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
private Checkbox checkBilhete;
|
private Checkbox checkBilhete;
|
||||||
private Checkbox checkOfpsPropria;
|
private Checkbox checkOfpsPropria;
|
||||||
private Checkbox checkOfpsTerceiros;
|
private Checkbox checkOfpsTerceiros;
|
||||||
private Checkbox checkStock;
|
|
||||||
private Checkbox checkCancelaPTA;
|
private Checkbox checkCancelaPTA;
|
||||||
private Checkbox checkUTRRepasse;
|
private Checkbox checkUTRRepasse;
|
||||||
private Checkbox checkCancelaPassNormal;
|
private Checkbox checkCancelaPassNormal;
|
||||||
|
@ -526,13 +525,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
cmbCiudad.setText(puntoVenta.getColonia().getCiudad().getNombciudad());
|
cmbCiudad.setText(puntoVenta.getColonia().getCiudad().getNombciudad());
|
||||||
cmbColonia.setText(puntoVenta.getColonia().getDesccolonia());
|
cmbColonia.setText(puntoVenta.getColonia().getDesccolonia());
|
||||||
}
|
}
|
||||||
if (puntoVenta.getIndValidaStock() != null) {
|
|
||||||
if (puntoVenta.getIndValidaStock()) {
|
|
||||||
checkStock.setChecked(true);
|
|
||||||
} else {
|
|
||||||
checkStock.setChecked(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (puntoVenta.getNumfax() != null) {
|
if (puntoVenta.getNumfax() != null) {
|
||||||
txtNumFax.setValue(puntoVenta.getNumfax());
|
txtNumFax.setValue(puntoVenta.getNumfax());
|
||||||
}
|
}
|
||||||
|
@ -1636,7 +1629,6 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
puntoVenta.setNumtelefonodos(numtelefonodos.getValue().replace("_", ""));
|
puntoVenta.setNumtelefonodos(numtelefonodos.getValue().replace("_", ""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
puntoVenta.setIndValidaStock(checkStock.isChecked());
|
|
||||||
|
|
||||||
if (cmbBanco.getSelectedItem() == null) {
|
if (cmbBanco.getSelectedItem() == null) {
|
||||||
puntoVenta.setAgenciaId(null);
|
puntoVenta.setAgenciaId(null);
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
|
||||||
private Button btnSalvar;
|
private Button btnSalvar;
|
||||||
private Textbox impMax;
|
private Textbox impMax;
|
||||||
private Checkbox cbValidaDocumento;
|
private Checkbox cbValidaDocumento;
|
||||||
private Radio raTipo11;
|
private Radio raTipo11;
|
||||||
private Radio raTipo22;
|
private Radio raTipo22;
|
||||||
private MyComboboxEstandar cmbEmpresa;
|
private MyComboboxEstandar cmbEmpresa;
|
||||||
private MyComboboxPuntoVenta cmbPontoVenda;
|
private MyComboboxPuntoVenta cmbPontoVenda;
|
||||||
|
@ -89,10 +89,10 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresas = empresaService.obtenerTodosIncluindoEmpresaTodas();
|
lsEmpresas = empresaService.obtenerTodosIncluindoEmpresaTodas();
|
||||||
lsEventoExtrasConstantes = Arrays.asList(com.rjconsultores.ventaboletos.constantes.TipoEventoExtra.values());
|
lsEventoExtrasConstantes = Arrays.asList(com.rjconsultores.ventaboletos.constantes.TipoEventoExtra.values());
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
tipoEventoExtra = (TipoEventoExtra) Executions.getCurrent().getArg().get("tipoEventoExtra");
|
tipoEventoExtra = (TipoEventoExtra) Executions.getCurrent().getArg().get("tipoEventoExtra");
|
||||||
tipoEventoExtraList = (MyListbox) Executions.getCurrent().getArg().get("tipoEventoExtraList");
|
tipoEventoExtraList = (MyListbox) Executions.getCurrent().getArg().get("tipoEventoExtraList");
|
||||||
|
|
|
@ -1184,7 +1184,7 @@ editarPuntoVentaController.lblNumPuntoVenda=Numero punto de venta
|
||||||
editarPuntoVentaController.registroNumPtoVtaExiste = Ya existe un punto de venta con este numero
|
editarPuntoVentaController.registroNumPtoVtaExiste = Ya existe un punto de venta con este numero
|
||||||
editarPuntoVentaController.ParamPtoVtaObrigatorio = Es obligatório informar el Cierre de Cuenta Contábil para todas las empresas cadastradas.
|
editarPuntoVentaController.ParamPtoVtaObrigatorio = Es obligatório informar el Cierre de Cuenta Contábil para todas las empresas cadastradas.
|
||||||
editarPuntoVentaController.DatFechMenorDataAbertura = La Fecha de Cerramiento debe ser mayor que la Fecha de Apertura.
|
editarPuntoVentaController.DatFechMenorDataAbertura = La Fecha de Cerramiento debe ser mayor que la Fecha de Apertura.
|
||||||
editarPuntoVentaController.lbStock.value = Estoque
|
editarPuntoVentaController.lbStock.value = Estoque
|
||||||
editarPuntoVentaController.lbCheckStock.value = Validar estoque Receta/Gasto
|
editarPuntoVentaController.lbCheckStock.value = Validar estoque Receta/Gasto
|
||||||
editarPuntoVentaController.lbVendeSegOpcional.value = Vende seguro opcional
|
editarPuntoVentaController.lbVendeSegOpcional.value = Vende seguro opcional
|
||||||
editarPuntoVentaController.lbEstanSegOpcional.value = Estan seguro opcional
|
editarPuntoVentaController.lbEstanSegOpcional.value = Estan seguro opcional
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
indexController.app.nome=Administração da Venta
|
indexController.app.nome=Administração da Venta
|
||||||
|
|
||||||
#Versao do VentaBoleto:
|
#Versao do VentaBoleto:
|
||||||
versao = ADM_20130830_1RC216
|
versao = ADM_20130830_1RC216
|
||||||
|
|
||||||
# MSG Defaut:
|
# MSG Defaut:
|
||||||
MSG.CONSTRAINT.CAMPOOBRIGATORIO=Preencha os campos obrigatórios ou limpe os dados tela!
|
MSG.CONSTRAINT.CAMPOOBRIGATORIO=Preencha os campos obrigatórios ou limpe os dados tela!
|
||||||
|
|
|
@ -217,13 +217,7 @@
|
||||||
<label value="${c:l('editarPuntoVentaController.lbdataFechamento.value')}" />
|
<label value="${c:l('editarPuntoVentaController.lbdataFechamento.value')}" />
|
||||||
<datebox id="dateFechamento" mold="rounded" format="dd/MM/yyyy" />
|
<datebox id="dateFechamento" mold="rounded" format="dd/MM/yyyy" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
|
||||||
<label
|
|
||||||
value="${c:l('editarPuntoVentaController.lbStock.value')}" />
|
|
||||||
<checkbox id="checkStock"
|
|
||||||
label="${c:l('editarPuntoVentaController.lbCheckStock.value')}"
|
|
||||||
checked="false" />
|
|
||||||
</row>
|
|
||||||
<row>
|
<row>
|
||||||
<!-- Tel1 -->
|
<!-- Tel1 -->
|
||||||
<label
|
<label
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
</tabs>
|
</tabs>
|
||||||
<tabpanels>
|
<tabpanels>
|
||||||
<tabpanel style="overflow:auto;" >
|
<tabpanel style="overflow:auto;">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="30%" />
|
<column width="30%" />
|
||||||
|
@ -47,7 +47,8 @@
|
||||||
<row>
|
<row>
|
||||||
<label id="lbNome"
|
<label id="lbNome"
|
||||||
value="${c:l('editarTipoEventoExtraController.lbNome.value')}" />
|
value="${c:l('editarTipoEventoExtraController.lbNome.value')}" />
|
||||||
<textbox id="txtNome" constraint="no empty" width="80%" maxlength="30"
|
<textbox id="txtNome"
|
||||||
|
constraint="no empty" width="80%" maxlength="30"
|
||||||
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.descTipoEvento}"
|
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.descTipoEvento}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
|
@ -70,8 +71,10 @@
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTipoEventoExtraController.validaDocumento.label')}" />
|
value="${c:l('editarTipoEventoExtraController.validaDocumento.label')}" />
|
||||||
<checkbox id="cbValidaDocumento" checked="false" />
|
<checkbox id="cbValidaDocumento"
|
||||||
|
checked="false" />
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTipoEventoExtraController.tipoOperacion.value')}" />
|
value="${c:l('editarTipoEventoExtraController.tipoOperacion.value')}" />
|
||||||
|
@ -80,22 +83,30 @@
|
||||||
<radio id="raTipo22" label="(-)" />
|
<radio id="raTipo22" label="(-)" />
|
||||||
</radiogroup>
|
</radiogroup>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<label id="lbNatureza"
|
<label id="lbNatureza"
|
||||||
value="${c:l('editarTipoEventoExtraController.lbNatureza.value')}" />
|
value="${c:l('editarTipoEventoExtraController.lbNatureza.value')}" />
|
||||||
<textbox id="txtNatureza" width="80%" maxlength="10"
|
<textbox id="txtNatureza" width="80%"
|
||||||
|
maxlength="10"
|
||||||
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.natureza}"
|
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.natureza}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<label id="lbContaContabil"
|
<label id="lbContaContabil"
|
||||||
value="${c:l('editarTipoEventoExtraController.lbContaContabil.value')}" />
|
value="${c:l('editarTipoEventoExtraController.lbContaContabil.value')}" />
|
||||||
<textbox id="txtContaContabil" width="80%" maxlength="20"
|
<textbox id="txtContaContabil"
|
||||||
|
width="80%" maxlength="20"
|
||||||
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.contaContabil}"
|
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.contaContabil}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row spans="2">
|
||||||
|
<checkbox id="chkValidarEstoque"
|
||||||
|
checked="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.indValidarEstoque}"
|
||||||
|
label="${c:l('editarPuntoVentaController.lbCheckStock.value')}" />
|
||||||
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
@ -113,16 +124,13 @@
|
||||||
<combobox id="cmbEmpresa"
|
<combobox id="cmbEmpresa"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
mold="rounded" buttonVisible="true"
|
mold="rounded" buttonVisible="true"
|
||||||
|
|
||||||
model="@{winEditarTipoEventoExtra$composer.lsEmpresas}" />
|
model="@{winEditarTipoEventoExtra$composer.lsEmpresas}" />
|
||||||
|
|
||||||
<button
|
<button id="btnAdicionarEmpresa"
|
||||||
id="btnAdicionarEmpresa" height="20"
|
height="20" image="/gui/img/add.png" width="35px"
|
||||||
image="/gui/img/add.png" width="35px"
|
|
||||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
||||||
<button
|
<button id="btnRemoverEmpresa"
|
||||||
id="btnRemoverEmpresa" height="20"
|
height="20" image="/gui/img/remove.png" width="35px"
|
||||||
image="/gui/img/remove.png" width="35px"
|
|
||||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarClase.tooltiptext')}" />
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarClase.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
|
|
Loading…
Reference in New Issue