fixes bug 0010024 - commit Trunk
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@76585 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2d99d1c528
commit
1cc1c06644
|
@ -910,8 +910,8 @@ public class ConferenciaComissaoHibernateDAO extends GenericHibernateDAO<Confere
|
||||||
List<BoletoComissao> lsBoletoComissao = new ArrayList<BoletoComissao>();
|
List<BoletoComissao> lsBoletoComissao = new ArrayList<BoletoComissao>();
|
||||||
List<BoletoComissao> auxLsBoletoComissao = qr.list();
|
List<BoletoComissao> auxLsBoletoComissao = qr.list();
|
||||||
for (BoletoComissao boletoComissao : auxLsBoletoComissao) {
|
for (BoletoComissao boletoComissao : auxLsBoletoComissao) {
|
||||||
if(boletoComissao.getIndstatusboleto().equals("E") && boletoComissao.getLogconferenciaId()== null) {
|
if(!boletoComissao.isBilheteEntregaConferidoVenda()) {
|
||||||
boletoComissao.setConferido(isConferidoVenta(boletoComissao));
|
boletoComissao.setConferido(isConferidoVenta(boletoComissao));
|
||||||
}
|
}
|
||||||
if (boletoComissao.getFormapagos() == null) {
|
if (boletoComissao.getFormapagos() == null) {
|
||||||
boletoComissao.setFormapagos(new ArrayList<FormapagoVO>());
|
boletoComissao.setFormapagos(new ArrayList<FormapagoVO>());
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.rjconsultores.ventaboletos.vo.comissao;
|
package com.rjconsultores.ventaboletos.vo.comissao;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -709,6 +709,10 @@ public class BoletoComissao {
|
||||||
this.nombpasajero = nombpasajero;
|
this.nombpasajero = nombpasajero;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isBilheteEntregaConferidoVenda() {
|
||||||
|
return isStatusEntregue() && this.getLogconferenciaId() != null;
|
||||||
|
}
|
||||||
|
|
||||||
public IndStatusBoleto getIndstatusboletoEnum() {
|
public IndStatusBoleto getIndstatusboletoEnum() {
|
||||||
return IndStatusBoleto.getIndStatusBoleto(getIndstatusboleto());
|
return IndStatusBoleto.getIndStatusBoleto(getIndstatusboleto());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue