bug#21751
dev:gleimar qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@105560 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b2dd5a4b98
commit
ded7667ace
|
@ -1178,7 +1178,7 @@ public class ConferenciaComissaoHibernateDAO extends GenericHibernateDAO<Confere
|
|||
|
||||
ContaCorrentePtoVta contaCorrentePtoVta = contaCorrenteAgenciaDAO
|
||||
.gravarContaCorrente(conferencia.getPuntoVenta().getPuntoventaId(),
|
||||
descOperacion, cal.getTime(), logConferencia.getUsuario().getUsuarioId(),
|
||||
descOperacion, DateUtil.normalizarToFecha(cal.getTime()), logConferencia.getUsuario().getUsuarioId(),
|
||||
logConferencia.isIndcredito().equals((short) 1) ? Constantes.TIPO_OPERACION_CC_PAGO : Constantes.TIPO_OPERACION_CC_LQ,
|
||||
conferencia.getEmpresa().getEmpresaId(),
|
||||
Constantes.TURNO_AUTOMATICO, BigDecimal.ZERO, BigDecimal.ZERO,
|
||||
|
|
|
@ -60,6 +60,8 @@ public class ContaCorrenteAgenciaHibernateDAO extends GenericHibernateDAO<ContaC
|
|||
ccPtoVta.setTotalVentaSegOpcional(totalVentaSegOpcional);
|
||||
ccPtoVta.setTotalCancSegOpcional(totalCancSegOpcional);
|
||||
ccPtoVta.setIndComissao(Boolean.TRUE);
|
||||
ccPtoVta.setImportetotalDebito(BigDecimal.ZERO);
|
||||
ccPtoVta.setImportetotalCredito(BigDecimal.ZERO);
|
||||
|
||||
getSession().save(ccPtoVta);
|
||||
|
||||
|
|
|
@ -112,6 +112,12 @@ public class ContaCorrentePtoVta implements Serializable {
|
|||
@Column(name = "IND_COMISSAO")
|
||||
private Boolean indComissao;
|
||||
|
||||
@Column(name = "IMPORTETOTALDEBITO")
|
||||
private BigDecimal importetotalDebito;
|
||||
|
||||
@Column(name = "IMPORTETOTALCREDITO")
|
||||
private BigDecimal importetotalCredito;
|
||||
|
||||
public ContaCorrentePtoVta() {
|
||||
super();
|
||||
}
|
||||
|
@ -380,5 +386,20 @@ public class ContaCorrentePtoVta implements Serializable {
|
|||
this.indComissao = indComissao;
|
||||
}
|
||||
|
||||
public BigDecimal getImportetotalDebito() {
|
||||
return importetotalDebito;
|
||||
}
|
||||
|
||||
public void setImportetotalDebito(BigDecimal importetotalDebito) {
|
||||
this.importetotalDebito = importetotalDebito;
|
||||
}
|
||||
|
||||
public BigDecimal getImportetotalCredito() {
|
||||
return importetotalCredito;
|
||||
}
|
||||
|
||||
public void setImportetotalCredito(BigDecimal importetotalCredito) {
|
||||
this.importetotalCredito = importetotalCredito;
|
||||
}
|
||||
|
||||
}
|
|
@ -225,10 +225,11 @@ public class LogConferencia implements Serializable {
|
|||
this.contaCorrentePtoVta = contaCorrentePtoVta;
|
||||
}
|
||||
|
||||
/*
|
||||
* 0 - Débito
|
||||
* 1 - Crédito
|
||||
* 2 - Informativo
|
||||
/**
|
||||
* <b>Tipos de movimentos</b><br>
|
||||
* 0 - Débito<br>
|
||||
* 1 - Crédito<br>
|
||||
* 2 - Informativo<br>
|
||||
*/
|
||||
public Short isIndcredito() {
|
||||
return indcredito;
|
||||
|
|
Loading…
Reference in New Issue