<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of FacturaScripts
 * Copyright (C) 2017-2019 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 Raúl Jiménez Nazca Networks  <comercial@nazcanetworks.com>
 * @author Carlos Jiménez Gómez         <carlos@evolunext.es>
 * @author Carlos García Gómez          <carlos@facturascripts.com>
-->
<view>
    <columns>
        <group name="data" numcolumns="12">
            <column name="code" numcolumns="3" order="100">
                <widget type="text" fieldname="coddivisa" icon="fa-solid fa-hashtag" maxlength="3" readonly="dinamic" required="true"/>
            </column>
            <column name="symbol" numcolumns="3" order="110">
                <widget type="text" fieldname="simbolo"/>
            </column>
            <column name="description" numcolumns="6" order="120">
                <widget type="text" fieldname="descripcion" required="true"/>
            </column>
        </group>
        <group name="seccondary" numcolumns="12">
            <column name="iso" titleurl="https://es.wikipedia.org/wiki/ISO_4217" numcolumns="4" order="100">
                <widget type="number" decimal="0" fieldname="codiso" icon="fa-solid fa-flag"/>
            </column>
            <column name="sales-rate" description="conversion-rate" numcolumns="4" order="110">
                <widget type="number" decimal="0" fieldname="tasaconv" icon="fa-solid fa-euro-sign"/>
            </column>
            <column name="purchase-rate" description="conversion-rate" numcolumns="4" order="120">
                <widget type="number" decimal="0" fieldname="tasaconvcompra" icon="fa-solid fa-euro-sign"/>
            </column>
        </group>
    </columns>
</view>
