gleimar 2016-07-27 19:14:59 +00:00
parent 6247880446
commit b1c02a6d88
1 changed files with 4 additions and 1 deletions

View File

@ -1194,7 +1194,10 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
validarDiversos(); validarDiversos();
String numagencia = txtNumAg.getValue() + (StringUtils.isBlank(txtDigitoAg.getValue()) ? "" : "-" + txtDigitoAg.getValue()); String numagencia = txtNumAg.getValue() + (StringUtils.isBlank(txtDigitoAg.getValue()) ? "" : "-" + txtDigitoAg.getValue());
puntoVenta.getAgenciaId().setNumagencia(numagencia);
if (puntoVenta.getAgenciaId() != null){
puntoVenta.getAgenciaId().setNumagencia(numagencia);
}
if (puntoVenta.getPuntoVentaPadre() == null && !cmbPuntoVentaPadre.getValue().isEmpty()) { if (puntoVenta.getPuntoVentaPadre() == null && !cmbPuntoVentaPadre.getValue().isEmpty()) {
cmbPuntoVentaPadre.getValue(true); cmbPuntoVentaPadre.getValue(true);