<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of FacturaScripts
 * Copyright (C) 2020-2021 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 Carlos García Gómez <carlos@facturascripts.com>
 * @author Jose Antonio Cuello <jcuello@artextrading.com>
-->
<view>
    <columns>
        <column name="code" display="none" order="100">
            <widget type="text" fieldname="id"/>
        </column>
        <column name="company" display="none" order="110">
            <widget type="select" fieldname="idcompany">
                <values source="empresas" fieldcode="idempresa" fieldtitle="nombrecorto"/>
            </widget>
        </column>
        <column name="name" order="120">
            <widget type="text" fieldname="name"/>
        </column>
        <column name="from-date" display="center" order="130">
            <widget type="text" fieldname="startdate"/>
        </column>
        <column name="until-date" display="center" order="140">
            <widget type="text" fieldname="enddate"/>
        </column>
        <column name="channel" display="none" order="150">
            <widget type="text" fieldname="channel"/>
        </column>
        <column name="from-subaccount" display="center" order="160">
            <widget type="text" fieldname="startcodsubaccount"/>
        </column>
        <column name="until-subaccount" display="center" order="170">
            <widget type="text" fieldname="endcodsubaccount"/>
        </column>
        <column name="level" display="center" order="180">
            <widget type="text" fieldname="level"/>
        </column>
        <column name="without-regularization" display="center" order="190">
            <widget type="checkbox" fieldname="ignoreregularization"/>
        </column>
        <column name="without-closure" display="center" order="190">
            <widget type="checkbox" fieldname="ignoreclosure"/>
        </column>
    </columns>
</view>