Revision 69f282b1
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/simple_system_setting/_business_form.html | ||
---|---|---|
1 | 1 |
[%- USE LxERP -%][%- USE L -%] |
2 | 2 |
[% SET style="width: 200px" %] |
3 |
<table> |
|
4 |
<tr> |
|
5 |
<td>[%- LxERP.t8("Description") %]</td> |
|
6 |
<td>[% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td> |
|
7 |
</tr> |
|
8 |
|
|
9 |
<tr> |
|
10 |
<td>[%- LxERP.t8("Discount") %]</td> |
|
11 |
<td>[% L.input_tag("object.discount_as_percent", SELF.object.discount_as_percent, style=style) %]%</td> |
|
12 |
</tr> |
|
13 |
|
|
14 |
<tr> |
|
15 |
<td>[%- LxERP.t8("Customernumberinit") %]</td> |
|
16 |
<td>[% L.input_tag("object.customernumberinit", SELF.object.customernumberinit, style=style) %]</td> |
|
17 |
</tr> |
|
18 |
|
|
19 |
[%- IF LXCONFIG.features.vertreter %] |
|
20 |
<tr> |
|
21 |
<td>[%- LxERP.t8("Representative") %]</td> |
|
22 |
<td>[% L.checkbox_tag("object.salesman", "value", 1, "checked", SELF.object.salesman, for_submit=1) %]</td> |
|
23 |
</tr> |
|
24 |
[%- END %] |
|
25 |
</table> |
|
3 |
<div class="wrapper"> |
|
4 |
<table class="tbl-horizontal"> |
|
5 |
<tbody> |
|
6 |
<tr> |
|
7 |
<th> [%- LxERP.t8("Description") %] </th> |
|
8 |
<td> [% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td> |
|
9 |
</tr> |
|
10 |
<tr> |
|
11 |
<th> [%- LxERP.t8("Discount") %] </th> |
|
12 |
<td> [% L.input_tag("object.discount_as_percent", SELF.object.discount_as_percent, style=style) %]% </td> |
|
13 |
</tr> |
|
14 |
<tr> |
|
15 |
<th> [%- LxERP.t8("Customernumberinit") %] </th> |
|
16 |
<td> [% L.input_tag("object.customernumberinit", SELF.object.customernumberinit, style=style) %] </td> |
|
17 |
</tr> |
|
18 |
[%- IF LXCONFIG.features.vertreter %] |
|
19 |
<tr> |
|
20 |
<th> [%- LxERP.t8("Representative") %] </th> |
|
21 |
<td> [% L.checkbox_tag("object.salesman", "value", 1, "checked", SELF.object.salesman, for_submit=1) %] </td> |
|
22 |
</tr> |
|
23 |
[%- END %] |
|
24 |
</tbody> |
|
25 |
</table> |
|
26 |
</div> |
Auch abrufbar als: Unified diff
Formatierung & Neues Design 2019 Standard-Code templates/webpages/simple_system_setting/_business_form.html