<?xml version="1.0" encoding="UTF-8"?>
<!--
 * 'This file is part of Informes plugin for FacturaScripts
 * Copyright (C) 2024 Carlos García Gómez <carlos@facturascripts.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 * @author Antonio Palma <desarrolloweb@antoniojosepalma.es>
-->
<view>
    <columns>
        <group name="data" numcolumns="12">
            <column name="id" display="none" order="0">
                <widget type="text" fieldname="id"/>
            </column>
            <column name="report" display="none" order="10">
                <widget type="text" fieldname="id_report"/>
            </column>
            <column name="column" order="100">
                <widget type="select" fieldname="table_column" required="true"/>
            </column>
            <column name="operator" order="110">
                <widget type="select" fieldname="operator" required="true">
                    <values title="=">=</values>
                    <values title="!=">!=</values>
                    <values title="&gt;">&gt;</values>
                    <values title="&gt;=">&gt;=</values>
                    <values title="&lt;">&lt;</values>
                    <values title="&lt;=">&lt;=</values>
                    <values title="like">LIKE</values>
                    <values title="is-null">IS NULL</values>
                    <values title="is-not-null">IS NOT NULL</values>
                </widget>
            </column>
            <column name="value" order="120">
                <widget type="datalist" fieldname="value" required="true"/>
            </column>
        </group>
    </columns>
</view>