Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6a85c2e9

Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt

  • ID 6a85c2e948b9376d24d1bcdd939b1d7d6e3fc8c4
  • Vorgänger ffdbec6e
  • Nachfolger a3304019

Formatierung & Neues Design 2019 Standard-Code templates/webpages/simple_system_setting/_business_form.html

Unterschiede anzeigen:

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