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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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')}" />
|
||||||
|
@ -84,7 +87,8 @@
|
||||||
<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>
|
||||||
|
@ -92,10 +96,17 @@
|
||||||
<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