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,7 +910,7 @@ public class ConferenciaComissaoHibernateDAO extends GenericHibernateDAO<Confere
|
|||
List<BoletoComissao> lsBoletoComissao = new ArrayList<BoletoComissao>();
|
||||
List<BoletoComissao> auxLsBoletoComissao = qr.list();
|
||||
for (BoletoComissao boletoComissao : auxLsBoletoComissao) {
|
||||
if(boletoComissao.getIndstatusboleto().equals("E") && boletoComissao.getLogconferenciaId()== null) {
|
||||
if(!boletoComissao.isBilheteEntregaConferidoVenda()) {
|
||||
boletoComissao.setConferido(isConferidoVenta(boletoComissao));
|
||||
}
|
||||
if (boletoComissao.getFormapagos() == null) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.rjconsultores.ventaboletos.vo.comissao;
|
||||
package com.rjconsultores.ventaboletos.vo.comissao;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
@ -709,6 +709,10 @@ public class BoletoComissao {
|
|||
this.nombpasajero = nombpasajero;
|
||||
}
|
||||
|
||||
public boolean isBilheteEntregaConferidoVenda() {
|
||||
return isStatusEntregue() && this.getLogconferenciaId() != null;
|
||||
}
|
||||
|
||||
public IndStatusBoleto getIndstatusboletoEnum() {
|
||||
return IndStatusBoleto.getIndStatusBoleto(getIndstatusboleto());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue