bug #10367
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@77848 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6605dd1eb4
commit
969ef32c47
|
@ -256,6 +256,7 @@ public class RelatorioVendasPTA extends Relatorio {
|
|||
sql.append("WHERE to_date(original.FECHORVENTA,'dd/MM/yy') BETWEEN :DATA_INICIAL AND :DATA_FINAL ");
|
||||
sql.append(" AND ORIGINAL.INDSTATUSBOLETO IN('C') ");
|
||||
sql.append(" AND ORIGINAL.TIPOVENTA_ID IN (5,12,18,41,49,81) ");
|
||||
sql.append(" AND ORIGINAL.EMPRESACORRIDA_ID =" + empresa.getEmpresaId() + " " );
|
||||
sql.append(agencia.equals("-1") || agencia.equals("TODAS") ? "" : " AND (utilizado.PUNTOVENTA_ID in (" + agencia + ")) AND ORIGINAL.MOTIVOCANCELACION_ID IN ("+motivoCancelacion+") ");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue