git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@29602 d1611594-4594-4d17-8e1d-87c2c4800839
parent
64adb7d51a
commit
3a0dd6dbe7
Binary file not shown.
|
@ -16,23 +16,24 @@
|
||||||
<parameter name="USUARIO" class="java.lang.Integer"/>
|
<parameter name="USUARIO" class="java.lang.Integer"/>
|
||||||
<parameter name="PASSAGEM_ABERTA" class="java.lang.String"/>
|
<parameter name="PASSAGEM_ABERTA" class="java.lang.String"/>
|
||||||
<queryString>
|
<queryString>
|
||||||
<![CDATA[select cj.numseriepreimpresa, cj.empresacorrida_id, em.nombempresa, es.cveestado,
|
<![CDATA[select cj.numseriepreimpresa, nvl(cj.empresacorrida_id, ma.marca_id) empresacorrida_id,
|
||||||
cj.numfoliosistema,
|
em.nombempresa, es.cveestado, cj.numfoliosistema, cj.fechorventa, cj.feccorrida,
|
||||||
cj.fechorventa, cj.feccorrida, cj.preciopagado
|
cj.preciopagado
|
||||||
from caja cj,
|
from caja cj,
|
||||||
empresa em,
|
empresa em,
|
||||||
punto_venta pv,
|
punto_venta pv,
|
||||||
parada pa,
|
parada pa,
|
||||||
ciudad ci,
|
ciudad ci,
|
||||||
estado es
|
estado es,
|
||||||
|
marca ma
|
||||||
where cj.activo = 1
|
where cj.activo = 1
|
||||||
and INSTR($P{LS_CATEGORIA}, '_' || cj.categoria_id || '_') > 0
|
and nvl(cj.empresacorrida_id, ma.empresa_id) = em.empresa_id
|
||||||
and cj.empresacorrida_id = $P{EMPRESA_ID}
|
|
||||||
and cj.empresacorrida_id = em.empresa_id
|
|
||||||
and cj.puntoventa_id = pv.puntoventa_id
|
and cj.puntoventa_id = pv.puntoventa_id
|
||||||
and pv.parada_id = pa.parada_id
|
and pv.parada_id = pa.parada_id
|
||||||
and pa.ciudad_id = ci.ciudad_id
|
and pa.ciudad_id = ci.ciudad_id
|
||||||
and ci.estado_id = es.estado_id
|
and ci.estado_id = es.estado_id
|
||||||
|
and nvl(cj.empresacorrida_id, ma.empresa_id) = $P{EMPRESA_ID}
|
||||||
|
and INSTR($P{LS_CATEGORIA}, '_' || cj.categoria_id || '_') > 0
|
||||||
and trunc(cj.fechorventa, 'DAY') between trunc($P{DATA_INICIO}, 'DAY') and trunc($P{DATA_FINAL}, 'DAY')
|
and trunc(cj.fechorventa, 'DAY') between trunc($P{DATA_INICIO}, 'DAY') and trunc($P{DATA_FINAL}, 'DAY')
|
||||||
and ((cj.feccorrida is null) or ($P{PASSAGEM_ABERTA} = 'T'))
|
and ((cj.feccorrida is null) or ($P{PASSAGEM_ABERTA} = 'T'))
|
||||||
order by em.nombempresa, es.cveestado, cj.fechorventa]]>
|
order by em.nombempresa, es.cveestado, cj.fechorventa]]>
|
||||||
|
@ -108,7 +109,7 @@
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="12"/>
|
<font size="12"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Pasajeiros a Viajar]]></text>
|
<text><![CDATA[Passageiros a Viajar]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="16e1afb9-2daf-47fd-bd15-f22e00d67c79" x="0" y="45" width="392" height="13"/>
|
<reportElement uuid="16e1afb9-2daf-47fd-bd15-f22e00d67c79" x="0" y="45" width="392" height="13"/>
|
||||||
|
|
Loading…
Reference in New Issue