Revision c51c93af
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/simple_system_setting/_business_form.html | ||
---|---|---|
[%- USE LxERP -%][%- USE L -%]
|
||
[% SET style="width: 200px" %]
|
||
<table>
|
||
<tr>
|
||
<td>[%- LxERP.t8("Description") %]</td>
|
||
<td>[% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>[%- LxERP.t8("Discount") %]</td>
|
||
<td>[% L.input_tag("object.discount_as_percent", SELF.object.discount_as_percent, style=style) %]%</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>[%- LxERP.t8("Customernumberinit") %]</td>
|
||
<td>[% L.input_tag("object.customernumberinit", SELF.object.customernumberinit, style=style) %]</td>
|
||
</tr>
|
||
|
||
[%- IF LXCONFIG.features.vertreter %]
|
||
<tr>
|
||
<td>[%- LxERP.t8("Representative") %]</td>
|
||
<td>[% L.checkbox_tag("object.salesman", "value", 1, "checked", SELF.object.salesman, for_submit=1) %]</td>
|
||
</tr>
|
||
[%- END %]
|
||
</table>
|
||
<div class="wrapper">
|
||
<table class="tbl-horizontal">
|
||
<tbody>
|
||
<tr>
|
||
<th> [%- LxERP.t8("Description") %] </th>
|
||
<td> [% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
|
||
</tr>
|
||
<tr>
|
||
<th> [%- LxERP.t8("Discount") %] </th>
|
||
<td> [% L.input_tag("object.discount_as_percent", SELF.object.discount_as_percent, style=style) %]% </td>
|
||
</tr>
|
||
<tr>
|
||
<th> [%- LxERP.t8("Customernumberinit") %] </th>
|
||
<td> [% L.input_tag("object.customernumberinit", SELF.object.customernumberinit, style=style) %] </td>
|
||
</tr>
|
||
[%- IF LXCONFIG.features.vertreter %]
|
||
<tr>
|
||
<th> [%- LxERP.t8("Representative") %] </th>
|
||
<td> [% L.checkbox_tag("object.salesman", "value", 1, "checked", SELF.object.salesman, for_submit=1) %] </td>
|
||
</tr>
|
||
[%- END %]
|
||
</tbody>
|
||
</table>
|
||
</div>
|
Auch abrufbar als: Unified diff
Formatierung & Neues Design 2019 Standard-Code templates/webpages/simple_system_setting/_business_form.html