<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of Servicios plugin for FacturaScripts
 * Copyright (C) 2020-2022 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" valign="bottom">
            <column name="id" display="none" order="100">
                <widget type="text" fieldname="id" readonly="dinamic"/>
            </column>
            <column name="name" numcolumns="3" order="110">
                <widget type="text" fieldname="nombre" required="true"/>
            </column>
            <column name="color" numcolumns="3" order="120">
                <widget type="select" fieldname="color" translate="true">
                    <values title="color-primary">primary</values>
                    <values title="color-secondary">secondary</values>
                    <values title="color-success">success</values>
                    <values title="color-danger">danger</values>
                    <values title="color-warning">warning</values>
                    <values title="color-info">info</values>
                    <values title="color-light">light</values>
                    <values title="color-dark">dark</values>
                </widget>
            </column>
            <column name="editable" order="130">
                <widget type="checkbox" fieldname="editable"/>
            </column>
            <column name="default" order="140">
                <widget type="checkbox" fieldname="predeterminado"/>
            </column>
        </group>
        <group name="advanced" numcolumns="12" valign="bottom">
            <column name="assigned" numcolumns="3" order="100">
                <widget type="select" fieldname="asignado">
                    <values source="users" fieldcode="nick" fieldtitle="nick"/>
                </widget>
            </column>
            <column name="notify-agent" order="110">
                <widget type="checkbox" fieldname="notificaragente"/>
            </column>
            <column name="notify-assigned" order="120">
                <widget type="checkbox" fieldname="notificarasignado"/>
            </column>
            <column name="notify-customer" order="130">
                <widget type="checkbox" fieldname="notificarcliente"/>
            </column>
            <column name="notify-user" order="140">
                <widget type="checkbox" fieldname="notificarusuario"/>
            </column>
        </group>
    </columns>
</view>