forked from NeoRazorX/facturascripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEditDireccionContacto.xml
More file actions
89 lines (89 loc) · 4.25 KB
/
EditDireccionContacto.xml
File metadata and controls
89 lines (89 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of FacturaScripts
* Copyright (C) 2018-2023 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" display="none" order="100">
<widget type="text" fieldname="idcontacto" required="true"/>
</column>
<column name="customer" display="none" order="105">
<widget type="autocomplete" fieldname="codcliente" onclick="EditCliente">
<values source="clientes" fieldcode="codcliente" fieldtitle="nombre"/>
</widget>
</column>
<column name="supplier" display="none" order="110">
<widget type="autocomplete" fieldname="codproveedor" onclick="EditProveedor">
<values source="proveedores" fieldcode="codproveedor" fieldtitle="nombre"/>
</widget>
</column>
<column name="description" numcolumns="3" order="120">
<widget type="text" fieldname="descripcion"/>
</column>
<column name="address" numcolumns="9" order="130">
<widget type="text" fieldname="direccion" maxlength="200" icon="fa-solid fa-map-marked"/>
</column>
<column name="post-office-box" order="140">
<widget type="text" fieldname="apartado" maxlength="10"/>
</column>
<column name="zip-code" order="150">
<widget type="text" fieldname="codpostal" maxlength="10"/>
</column>
<column name="city" order="160">
<widget type="datalist" fieldname="ciudad">
<values source="ciudades" fieldcode="ciudad" fieldtitle="ciudad" limit="9000"/>
</widget>
</column>
<column name="province" order="170">
<widget type="datalist" fieldname="provincia">
<values source="provincias" fieldcode="provincia" fieldtitle="provincia"/>
</widget>
</column>
<column name="country" titleurl="ListPais" order="180">
<widget type="select" fieldname="codpais" onclick="EditPais">
<values source="paises" fieldcode="codpais" fieldtitle="nombre"/>
</widget>
</column>
</group>
<group name="contact" numcolumns="12">
<column name="name" order="100">
<widget type="text" fieldname="nombre" maxlength="100"/>
</column>
<column name="surname" order="110">
<widget type="text" fieldname="apellidos" maxlength="150"/>
</column>
<column name="position" display="none" order="120">
<widget type="text" fieldname="cargo"/>
</column>
<column name="phone" order="130">
<widget type="text" fieldname="telefono1" maxlength="30" icon="fa-solid fa-phone"/>
</column>
<column name="phone2" order="140">
<widget type="text" fieldname="telefono2" maxlength="30" icon="fa-solid fa-mobile-alt"/>
</column>
<column name="email" order="150">
<widget type="text" fieldname="email" maxlength="100" icon="fa-solid fa-envelope"/>
</column>
<column name="observations" display="none" numcolumns="12" order="160">
<widget type="textarea" fieldname="observaciones"/>
</column>
</group>
</columns>
</view>