<?xml version="1.0" encoding="UTF-8"?>
<?page contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winBusquedaGP_PricingEspecifico"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<zk xmlns="http://www.zkoss.org/2005/zul">
    <window id="winBusquedaGP_PricingEspecifico" border="normal"
            apply="${busquedaGP_PricingEspecificoController}"
            height="450px" width="950px" contentStyle="overflow:auto"
            title="${c:l('busqueDaGPPricingEspecifico.window.title')}"
            xmlns:h="http://www.w3.org/1999/xhtml">

        <toolbar>
            <button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
                    tooltiptext="${c:l('busquedaPricingController.btnRefresh.tooltiptext')}" />
            <separator orient="vertical" />
            <button id="btnNovo" image="/gui/img/add.png" width="35px"
                    tooltiptext="${c:l('busquedaPricingController.btnNovo.tooltiptext')}" />
            <separator orient="vertical" />
            <button id="btnCerrar" onClick="winBusquedaGP_PricingEspecifico.detach()" image="/gui/img/exit.png" width="35px"
                    tooltiptext="${c:l('busquedaPricingController.btnCerrar.tooltiptext')}"/>
        </toolbar>

        <grid fixedLayout="true">
            <columns>
                <column width="25%" />
                <column width="25%" />
                <column width="25%" />
                <column width="25%" />
            </columns>
            <rows>
                <row spans="1,3">
                    <label value="${c:l('editarPricingController.nombrePricingEsp.label')}"/>
                    <textbox id="txtNombrePricing" maxlength="20"
                        width="99%" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
                </row>
                <row>
                    <label value="${c:l('editarPricingController.marca.value')}"/>
                    <combobox id="cmbMarca"  use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                              mold="rounded" buttonVisible="true" width="90%"
                              model="@{winBusquedaGP_PricingEspecifico$composer.lsMarca}"/>

                    <label value="${c:l('editarPricingController.ptovta.value')}"/>
                    <combobox id="cmbPtovta"  use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                              mold="rounded" buttonVisible="true" width="90%"
                              model="@{winBusquedaGP_PricingEspecifico$composer.lsPtovata}"/>
                </row>
                <row>
                    <label value="${c:l('editarPricingController.origem.label')}"/>
                    <combobox id="cmbOrigem" mold="rounded" buttonVisible="true" width="90%" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"/>

                    <label value="${c:l('editarPricingController.destino.label')}"/>
                    <combobox id="cmbDestino" mold="rounded" buttonVisible="true" width="90%" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"/>
                </row>
                <row>
                    <label value="${c:l('editarPricingController.lhFechaHoraInicio.label')}"/>
                    <datebox width="125px" id="fechaInicio" format="dd/MM/yyyy HH:mm" mold="rounded" />
                    <label value="${c:l('editarPricingController.lhFechaHoraFin.label')}"/>
                    <datebox width="125px" id="fechaFin" format="dd/MM/yyyy HH:mm" mold="rounded" />
                </row>
                <row>
                    <label value="${c:l('editarPricingController.windowCategoria.title')}"/>
                    <combobox id="cmbTipoPassageiro" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                              mold="rounded" buttonVisible="true" width="90%"
                              model="@{winBusquedaGP_PricingEspecifico$composer.lsCategoria}"/>
                    <label value="${c:l('editarPricingController.impMon.value')}"/>
                    <combobox id="cmbMoneda" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                              mold="rounded" buttonVisible="true" width="90%"
                              model="@{winBusquedaGP_PricingEspecifico$composer.lsMoneda}"/>
                </row>
                <row>
                    <label value="${c:l('editarPricingController.windowTipoServicio.title')}"/>
                    <combobox id="cmbTipoServicio" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                              mold="rounded" buttonVisible="true" width="90%"
                              model="@{winBusquedaGP_PricingEspecifico$composer.lsClaseServicio}"/>
                </row>
            </rows>
        </grid>
        <toolbar>
            <button id="btnPesquisa" image="/gui/img/find.png"
                    label="${c:l('busquedaPricingController.btnPesquisa.label')}"/>
        </toolbar>

        <paging id="pagingPricing" pageSize="20"/>
        <listbox id="pricingList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
                 multiple="false">
            <listhead sizable="true">
                <listheader image="/gui/img/create_doc.gif" sort="auto(pricingespecificoId)"
                            label="${c:l('lb.id')}" width="50px"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(nombPricing)"
                            label="${c:l('editarPricingController.nombrePricingEsp.label')}"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(marca.descmarca)"
                            label="${c:l('editarPricingController.marca.value')}"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(moneda.descmoneda)"
                            label="${c:l('editarPricingController.impMon.value')}"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(categoria.desccategoria)"
                            label="${c:l('editarPricingController.windowCategoria.title')}"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(claseServicio.descclase)"
                            label="${c:l('editarPricingController.windowTipoServicio.title')}"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(categoria.desccategoria)"
                            label="${c:l('editarPricingController.lhFechaHoraInicioLH.label')}"/>
                <listheader image="/gui/img/create_doc.gif" sort="auto(claseServicio.descclase)"
                            label="${c:l('editarPricingController.lhFechaHoraFin.labelLH')}"/>
                            
                <listheader image="/gui/img/create_doc.gif" sort="auto(corridaId)"
                            label="${c:l('editarPricingController.lhCorridaId.labelLH')}"/>                            
            </listhead>
        </listbox>
    </window>
</zk>
