<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of FacturaScripts
 * Copyright (C) 2020-2025 Carlos Garcia Gomez <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" title="code" order="100">
                <widget type="text" fieldname="codcuenta"/>
            </column>
            <column name="customer" order="110">
                <widget type="autocomplete" fieldname="codcliente" onclick="EditCliente">
                    <values source="Cliente" fieldcode="codcliente" fieldtitle="nombre"/>
                </widget>
            </column>
            <column name="description" order="120">
                <widget type="text" fieldname="descripcion"/>
            </column>
            <column name="iban" order="130">
                <widget type="text" fieldname="iban"/>
            </column>
            <column name="swift" order="140">
                <widget type="text" fieldname="swift"/>
            </column>
            <column name="principal" display="none" order="150">
                <widget type="checkbox" fieldname="principal"/>
            </column>
            <column name="bank-mandate" order="160">
                <widget type="text" fieldname="mandato"/>
            </column>
            <column name="bank-mandate-date" display="right" order="170">
                <widget type="date" fieldname="fmandato"/>
            </column>
        </group>
    </columns>
    <rows>
        <row type="status">
            <option color="info" title="principal" fieldname="principal">1</option>
        </row>
    </rows>
</view>
