<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of Informes plugin for FacturaScripts
 * Copyright (C) 2017-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 Carlos García Gómez <carlos@facturascripts.com>
-->
<view>
    <columns>
        <group name="data" numcolumns="12">
            <column name="code" order="100">
                <widget type="text" fieldname="codbalance" icon="fa-solid fa-hashtag" maxlength="15" required="true"/>
            </column>
            <column name="nature" order="110">
                <widget type="select" fieldname="nature" translate="true" required="true">
                    <values title="asset">A</values>
                    <values title="liabilities">P</values>
                    <values title="profit-and-loss">PG</values>
                    <values title="income-and-expenses">IG</values>
                </widget>
            </column>
            <column name="sub-type" order="120">
                <widget type="select" fieldname="subtype" translate="true" required="true">
                    <values title="abbreviated">abbreviated</values>
                    <values title="normal">normal</values>
                    <values title="pymes">pymes</values>
                </widget>
            </column>
            <column name="calculation" order="130">
                <widget type="select" fieldname="positive" translate="true">
                    <values title="positive">positive</values>
                    <values title="negative">negative</values>
                </widget>
            </column>
        </group>
        <group name="description" numcolumns="12">
            <column name="level1" numcolumns="3" order="100">
                <widget type="text" fieldname="level1" maxlength="5"/>
            </column>
            <column name="description-1" numcolumns="9" order="110">
                <widget type="text" fieldname="description1" maxlength="255"/>
            </column>
            <column name="level2" numcolumns="3" order="120">
                <widget type="text" fieldname="level2" maxlength="5"/>
            </column>
            <column name="description-2" numcolumns="9" order="130">
                <widget type="text" fieldname="description2" maxlength="255"/>
            </column>
            <column name="level3" numcolumns="3" order="140">
                <widget type="text" fieldname="level3" maxlength="5"/>
            </column>
            <column name="description-3" numcolumns="9" order="150">
                <widget type="text" fieldname="description3" maxlength="255"/>
            </column>
            <column name="level4" numcolumns="3" order="160">
                <widget type="text" fieldname="level4" maxlength="5"/>
            </column>
            <column name="description-4" numcolumns="9" order="170">
                <widget type="text" fieldname="description4" maxlength="255"/>
            </column>
        </group>
    </columns>
</view>