1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%]
2 [% INCLUDE 'common/flash.html' %]
4 <h1>[% HTML.escape(title) %]</h1>
5 <form action="controller.pl" method="post" id="form">
6 [%- L.hidden_tag("id", SELF.reclamation_reason.id) %]
8 <div class="wrapper" id="wrapper-1">
9 <table class="tbl-horizontal">
12 <th>[% 'Name' | $T8 %]</th>
13 <td>[%- L.input_tag("reclamation_reason.name", SELF.reclamation_reason.name, "data-validate"="required", "data-title"=LxERP.t8("Name"), class="wi-lightwide") %]</td>
16 <th>[% 'Description' | $T8 %]</th>
17 <td>[%- L.textarea_tag("reclamation_reason.description", SELF.reclamation_reason.description, "data-validate"="required", "data-title"=LxERP.t8("Description"), class='wi-lightwide') %]</td>
20 <th>[% 'Valid for Sales' | $T8 %]</th>
21 <td>[% L.checkbox_tag("reclamation_reason.valid_for_sales", checked=SELF.reclamation_reason.valid_for_sales, for_submit=1) %]</td>
24 <th>[% 'Valid for Purchase' | $T8 %]</th>
25 <td>[% L.checkbox_tag("reclamation_reason.valid_for_purchase", checked=SELF.reclamation_reason.valid_for_purchase, for_submit=1) %]</td>