1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%]
2 [% INCLUDE 'common/flash.html' %]
4 <h1>[% HTML.escape(title) %]</h1>
5 <div style="padding-left:2em">
6 [% SET style="width: 400px" %]
8 <form action="controller.pl" method="post" id="form">
9 [%- L.hidden_tag("id", SELF.reclamation_reason.id) %]
13 <th align="right">[% 'Name' | $T8 %]</th>
14 <td>[%- L.input_tag("reclamation_reason.name", SELF.reclamation_reason.name, "data-validate"="required", "data-title"=LxERP.t8("Name")) %]</td>
17 <th align="right">[% 'Description' | $T8 %]</th>
18 <td>[%- L.textarea_tag("reclamation_reason.description", SELF.reclamation_reason.description, "data-validate"="required", cols = 50 rows = 2, "data-title"=LxERP.t8("Description")) %]</td>
21 <th align="right">[% 'Valid for Sales' | $T8 %]</th>
22 <td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_sales", checked=SELF.reclamation_reason.valid_for_sales, for_submit=1) %]</td>
25 <th align="right">[% 'Valid for Purchase' | $T8 %]</th>
26 <td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_purchase", checked=SELF.reclamation_reason.valid_for_purchase, for_submit=1) %]</td>