leonardo 2013-12-16 20:11:11 +00:00
parent 49844d1181
commit 937a8116c4
4 changed files with 17 additions and 1 deletions

View File

@ -223,6 +223,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
private Checkbox checkOfpsPropria;
private Checkbox checkOfpsTerceiros;
private Checkbox checkStock;
private Checkbox checkPermisoTasaEmbarque;
public Button getBtnApagar() {
return btnApagar;
@ -289,6 +290,13 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
checkStock.setChecked(false);
}
}
if (puntoVenta.getIndPermisoTasaEmbarque() != null) {
if (puntoVenta.getIndPermisoTasaEmbarque()) {
checkPermisoTasaEmbarque.setChecked(true);
} else {
checkPermisoTasaEmbarque.setChecked(false);
}
}
if (puntoVenta.getNumfax() != null) {
txtNumFax.setValue(puntoVenta.getNumfax());
}
@ -728,6 +736,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
}
}
puntoVenta.setIndValidaStock(checkStock.isChecked());
puntoVenta.setIndPermisoTasaEmbarque(checkPermisoTasaEmbarque.isChecked());
if (cmbBanco.getSelectedItem() == null) {
puntoVenta.setAgenciaId(null);

View File

@ -4293,6 +4293,7 @@ editarConfiguracionDiversosController.lbTrabalha.value = Trabaja con
editarConfiguracionDiversosController.lbBilhete.value = Folios de pasaje
editarConfiguracionDiversosController.lbOfpsTerceiros.value = OFPs própia
editarConfiguracionDiversosController.lbOfpsPropria.value = OFPs Terceros
editarConfiguracionDiversosController.lbPermisoTasaEmbarque.value = Permiso Tasa Embarque
# Mostrar o Cliente da Búsqueda
busquedaClienteController.window.title = Cliente

View File

@ -4342,6 +4342,7 @@ editarConfiguracionDiversosController.lbTrabalha.value = Trabalha com
editarConfiguracionDiversosController.lbBilhete.value = Bilhetes de Passagem
editarConfiguracionDiversosController.lbOfpsTerceiros.value = OFPs Própria
editarConfiguracionDiversosController.lbOfpsPropria.value = OFPs Terceiros
editarConfiguracionDiversosController.lbPermisoTasaEmbarque.value = Permissão Taxa Embarque
# Mostrar o Cliente da Pesquisa
busquedaClienteController.window.title = Cliente

View File

@ -158,6 +158,11 @@
checked="false" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbPermisoTasaEmbarque.value')}" />
<checkbox id="checkPermisoTasaEmbarque" />
</row>
<row>
<!-- Tel1 -->
<label
@ -599,7 +604,7 @@
<checkbox id="checkOfpsTerceiros"
label="${c:l('editarConfiguracionDiversosController.lbOfpsTerceiros.value')}" />
</hbox>
</row>
</row>
</rows>
</grid>
</tabpanel>