fixed bug#13108
qua:Renato dev:Valdir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@88826 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2cc7c9a449
commit
98d2a5c9f5
|
@ -88,6 +88,19 @@ public class PtoVtaSeguro implements Serializable {
|
|||
@Column(name = "INDPERMISOTASAEMBARQVTAAGEN")
|
||||
private Boolean indPermisoTasaEmbarqVtaAgen;
|
||||
|
||||
@Basic(optional = false)
|
||||
@Column(name = "INDVENDESEGUROOPCEMBARCADA")
|
||||
private Boolean indVendeSeguroOpcEmbarcada;
|
||||
|
||||
@Basic(optional = false)
|
||||
@Column(name = "INDVENDESEGUROTABELAEMBARCADA")
|
||||
private Boolean indVendeSeguroTabelaEmbarcada;
|
||||
|
||||
@Basic(optional = false)
|
||||
@Column(name = "INDTAXAEMBARQUEEMBARCADA")
|
||||
private Boolean indTaxaEmbarqueEmbarcada;
|
||||
|
||||
|
||||
public PtoVtaSeguro() {
|
||||
}
|
||||
|
||||
|
@ -231,4 +244,27 @@ public class PtoVtaSeguro implements Serializable {
|
|||
this.indPermisoTasaEmbarqVtaAgen = indPermisoTasaEmbarqVtaAgen;
|
||||
}
|
||||
|
||||
public Boolean getIndVendeSeguroOpcEmbarcada() {
|
||||
return indVendeSeguroOpcEmbarcada;
|
||||
}
|
||||
|
||||
public void setIndVendeSeguroOpcEmbarcada(Boolean indVendeSeguroOpcEmbarcada) {
|
||||
this.indVendeSeguroOpcEmbarcada = indVendeSeguroOpcEmbarcada;
|
||||
}
|
||||
|
||||
public Boolean getIndVendeSeguroTabelaEmbarcada() {
|
||||
return indVendeSeguroTabelaEmbarcada;
|
||||
}
|
||||
|
||||
public void setIndVendeSeguroTabelaEmbarcada(Boolean indVendeSeguroTabelaEmbarcada) {
|
||||
this.indVendeSeguroTabelaEmbarcada = indVendeSeguroTabelaEmbarcada;
|
||||
}
|
||||
|
||||
public Boolean getIndTaxaEmbarqueEmbarcada() {
|
||||
return indTaxaEmbarqueEmbarcada;
|
||||
}
|
||||
|
||||
public void setIndTaxaEmbarqueEmbarcada(Boolean indTaxaEmbarqueEmbarcada) {
|
||||
this.indTaxaEmbarqueEmbarcada = indTaxaEmbarqueEmbarcada;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -801,22 +801,11 @@ public class PuntoVenta implements Serializable {
|
|||
}
|
||||
|
||||
public PtoVtaSeguro addPtovtaSeguro(PtoVtaSeguro pto) {
|
||||
PtoVtaSeguro pt = new PtoVtaSeguro();
|
||||
pt.setPuntoventaId(pto.getPuntoventaId());
|
||||
pt.setEmpresa(pto.getEmpresa());
|
||||
pt.setIndVendeSegOpcional(pto.getIndVendeSegOpcional());
|
||||
pt.setIndEstanSegOpcional(pto.getIndEstanSegOpcional());
|
||||
pt.setIndVendeSegTabela(pto.getIndVendeSegTabela());
|
||||
pt.setIndEstanSegTabela(pto.getIndEstanSegTabela());
|
||||
pt.setIndEstanTasaEmbarque(pto.getIndEstanTasaEmbarque());
|
||||
pt.setIndPermisoTasaEmbarque(pto.getIndPermisoTasaEmbarque());
|
||||
pt.setIndPermisoTasaEmbarqueVtaManual(pto.getIndPermisoTasaEmbarqueVtaManual());
|
||||
pt.setIndPermisoTasaEmbarqueVtaAgencia(pto.getIndPermisoTasaEmbarqueVtaAgencia());
|
||||
pt.setActivo(Boolean.TRUE);
|
||||
pt.setFecmodif(Calendar.getInstance().getTime());
|
||||
pt.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
this.ptovtaSeguroList.add(pt);
|
||||
return pt;
|
||||
pto.setActivo(Boolean.TRUE);
|
||||
pto.setFecmodif(Calendar.getInstance().getTime());
|
||||
pto.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
this.ptovtaSeguroList.add(pto);
|
||||
return pto;
|
||||
}
|
||||
|
||||
public void removePtovtaSeguro(PtoVtaSeguro pto) {
|
||||
|
|
Loading…
Reference in New Issue