forked from NeoRazorX/facturascripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEditImpuesto.xml
More file actions
77 lines (77 loc) · 3.73 KB
/
EditImpuesto.xml
File metadata and controls
77 lines (77 loc) · 3.73 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of FacturaScripts
* Copyright (C) 2017-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 Artex Trading sa <jcuello@artextrading.com>
* @author Fco. Antonio Moreno Pérez <famphuelva@gmail.com>
* @author Carlos García Gómez <carlos@facturascripts.com>
* @author Frank Aguirre <faguirre@soenac.com>
-->
<view>
<columns>
<group name="data" numcolumns="12">
<column name="description" numcolumns="4" order="100">
<widget type="text" fieldname="descripcion" maxlength="50" required="true"/>
</column>
<column name="type" numcolumns="2" order="110">
<widget type="select" fieldname="tipo" translate="true" required="true">
<values title="percentage">1</values>
<values title="fixed-value">2</values>
</widget>
</column>
<column name="operation" numcolumns="2" order="120">
<widget type="select" fieldname="operacion" translate="true" >
<values/>
</widget>
</column>
<column name="vat" numcolumns="2" order="130">
<widget type="number" decimal="2" fieldname="iva" required="true"/>
</column>
<column name="surcharge" numcolumns="2" order="140">
<widget type="number" decimal="2" fieldname="recargo" required="true"/>
</column>
<column name="code" description="optional" numcolumns="2" order="150">
<widget type="text" fieldname="codimpuesto" icon="fa-solid fa-hashtag" maxlength="10" readonly="dinamic"/>
</column>
<column name="impacted-tax-subaccount" description="optional" order="160">
<widget type="autocomplete" fieldname="codsubcuentarep">
<values source="subcuentas" fieldcode="codsubcuenta"/>
</widget>
</column>
<column name="impacted-tax-re-subaccount" description="optional" order="170">
<widget type="autocomplete" fieldname="codsubcuentarepre">
<values source="subcuentas" fieldcode="codsubcuenta"/>
</widget>
</column>
<column name="supported-tax-subaccount" description="optional" order="180">
<widget type="autocomplete" fieldname="codsubcuentasop">
<values source="subcuentas" fieldcode="codsubcuenta"/>
</widget>
</column>
<column name="supported-tax-re-subaccount" description="optional" order="190">
<widget type="autocomplete" fieldname="codsubcuentasopre">
<values source="subcuentas" fieldcode="codsubcuenta"/>
</widget>
</column>
</group>
<group name="extra" numcolumns="12">
<column name="active" order="100">
<widget type="checkbox" fieldname="activo"/>
</column>
</group>
</columns>
</view>