parent
bad152baa5
commit
898f8d1152
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.127.1</version>
|
||||
<version>1.127.2</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -144,6 +144,7 @@ public class RelatorioComissaoSintetico extends Relatorio {
|
|||
if (!empresa.isEmpty()) {
|
||||
sql.append(" AND empresa_id = :EMPRESA_ID ");
|
||||
}
|
||||
sql.append(" AND activo = 1 ");
|
||||
sql.append(" AND tipooperacioncc_id = 5) cc on (cc.empresa_id = cm.empresa_id ");
|
||||
sql.append(" and cc.puntoventa_id = pv.puntoventa_id ");
|
||||
sql.append(" and cc.fechoroperacion = cm.datamovimento ");
|
||||
|
@ -156,6 +157,7 @@ public class RelatorioComissaoSintetico extends Relatorio {
|
|||
if (!empresa.isEmpty()) {
|
||||
sql.append(" AND cm.empresa_id = :EMPRESA_ID ");
|
||||
}
|
||||
sql.append(" AND cm.activo = 1 ");
|
||||
sql.append(" ORDER BY pv.nombpuntoventa, cm.datamovimento ");
|
||||
|
||||
return sql.toString();
|
||||
|
|
Loading…
Reference in New Issue