<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of FacturaScripts
 * Copyright (C) 2018-2024 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>
        <column name="code" display="none" order="100">
            <widget type="text" fieldname="idcontacto" onclick="EditContacto"/>
        </column>
        <column name="description" order="110">
            <widget type="textarea" fieldname="descripcion"/>
        </column>
        <column name="name" order="120">
            <widget type="text" fieldname="nombre"/>
        </column>
        <column name="surname" order="130">
            <widget type="text" fieldname="apellidos"/>
        </column>
        <column name="email" order="140">
            <widget type="text" fieldname="email"/>
        </column>
        <column name="phone" order="150">
            <widget type="text" fieldname="telefono1"/>
        </column>
        <column name="phone2" display="none" order="160">
            <widget type="text" fieldname="telefono2"/>
        </column>
        <column name="address" order="170">
            <widget type="text" fieldname="direccion"/>
        </column>
        <column name="post-office-box" display="none" order="180">
            <widget type="text" fieldname="apartado"/>
        </column>
        <column name="zip-code" display="none" order="190">
            <widget type="text" fieldname="codpostal"/>
        </column>
        <column name="city" order="200">
            <widget type="text" fieldname="ciudad"/>
        </column>
        <column name="province" order="210">
            <widget type="text" fieldname="provincia"/>
        </column>
        <column name="country" order="220">
            <widget type="select" fieldname="codpais">
                <values source="paises" fieldcode="codpais" fieldtitle="nombre"/>
            </widget>
        </column>
        <column name="creation-date" display="none" order="260">
            <widget type="date" fieldname="fechaalta"/>
        </column>
    </columns>
    <rows>
        <row type="status">
            <option color="success" fieldname="verificado" title="verified">1</option>
        </row>
    </rows>
</view>
