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="PASSAGEM_ABERTA" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[select cj.numseriepreimpresa, cj.empresacorrida_id, em.nombempresa, es.cveestado,
|
||||
cj.numfoliosistema,
|
||||
cj.fechorventa, cj.feccorrida, cj.preciopagado
|
||||
<![CDATA[select cj.numseriepreimpresa, nvl(cj.empresacorrida_id, ma.marca_id) empresacorrida_id,
|
||||
em.nombempresa, es.cveestado, cj.numfoliosistema, cj.fechorventa, cj.feccorrida,
|
||||
cj.preciopagado
|
||||
from caja cj,
|
||||
empresa em,
|
||||
punto_venta pv,
|
||||
parada pa,
|
||||
ciudad ci,
|
||||
estado es
|
||||
estado es,
|
||||
marca ma
|
||||
where cj.activo = 1
|
||||
and INSTR($P{LS_CATEGORIA}, '_' || cj.categoria_id || '_') > 0
|
||||
and cj.empresacorrida_id = $P{EMPRESA_ID}
|
||||
and cj.empresacorrida_id = em.empresa_id
|
||||
and nvl(cj.empresacorrida_id, ma.empresa_id) = em.empresa_id
|
||||
and cj.puntoventa_id = pv.puntoventa_id
|
||||
and pv.parada_id = pa.parada_id
|
||||
and pa.ciudad_id = ci.ciudad_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 ((cj.feccorrida is null) or ($P{PASSAGEM_ABERTA} = 'T'))
|
||||
order by em.nombempresa, es.cveestado, cj.fechorventa]]>
|
||||
|
@ -108,7 +109,7 @@
|
|||
<textElement>
|
||||
<font size="12"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pasajeiros a Viajar]]></text>
|
||||
<text><![CDATA[Passageiros a Viajar]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement uuid="16e1afb9-2daf-47fd-bd15-f22e00d67c79" x="0" y="45" width="392" height="13"/>
|
||||
|
|
Loading…
Reference in New Issue