1 [% USE HTML %][% USE L %][% USE LxERP %]
2 <h1>[% FORM.title %]</h1>
4 <form method="post" action="controller.pl">
6 [%- INCLUDE 'common/flash.html' %]
10 <td>[% LxERP.t8('Description') %]</td>
11 <td>[% L.input_tag("part_classification.description", LxERP.t8(SELF.part_classification.description)) %]</td>
14 <td>[% LxERP.t8('TypeAbbreviation') %]</td>
15 <td>[% L.input_tag("part_classification.abbreviation", LxERP.t8(SELF.part_classification.abbreviation),size=>"2",maxlength=>"2" ) %]</td>
18 <td>[% LxERP.t8('Used for Purchase') %]</td>
19 <td>[% L.checkbox_tag("part_classification.used_for_purchase", checked=(SELF.part_classification.used_for_purchase ? 1:'')) %]</td>
22 <td>[% LxERP.t8('Used for Sale') %]</td>
23 <td>[% L.checkbox_tag("part_classification.used_for_sale", checked=(SELF.part_classification.used_for_sale ? 1:'')) %]</td>
26 <td>[% LxERP.t8('Report separately') %]</td>
27 <td>[% L.checkbox_tag("part_classification.report_separate", checked=(SELF.part_classification.report_separate ? 1:'')) %]</td>
32 [% L.hidden_tag("id", SELF.part_classification.id) %]
33 [% L.hidden_tag("action", "PartClassification/dispatch") %]
34 [% L.submit_tag("action_" _ (SELF.part_classification.id ? 'update' : 'create'), LxERP.t8('Save')) %]
35 [%- IF SELF.part_classification.id %]
36 [% L.submit_tag("action_destroy", LxERP.t8('Delete'), confirm=LxERP.t8('Do you really want to delete this object?')) %]
38 <a href="[% SELF.url_for(action => 'list') %]">[% LxERP.t8('Abort') %]</a>