Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / simple_system_setting / _price_factor_form.html
1 [%- USE LxERP -%][%- USE L -%][%- USE HTML -%]
2 [%- SET orphaned = SELF.object.orphaned %]
3 <table>
4  <tr>
5   <th align="right">[% LxERP.t8("Description") %]</th>
6   <td>[% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
7  </tr>
8  <tr>
9   <th align="right">[% LxERP.t8("Factor") %]</th>
10   <td>
11    [% IF orphaned %]
12     [% L.input_tag("object.factor_as_number", LxERP.t8(SELF.object.factor_as_number), "data-validate"="required", "data-title"=LxERP.t8("Factor")) %]
13    [% ELSE %]
14     [% HTML.escape(SELF.object.factor_as_number) %]
15    [% END %]
16   </td>
17  </tr>
18 </table>
19
20 [% UNLESS orphaned %]
21  <p>
22   [% LxERP.t8("Note: the object is already in use. Therefore some values cannot be changed.") %]
23  </p>
24 [% END %]