SimpleSystemSetting: Umstellung von »Warengruppen«
[kivitendo-erp.git] / templates / webpages / part_classification / form.html
1 [% USE HTML %][% USE L %][% USE LxERP %]
2 <h1>[% FORM.title %]</h1>
3
4  <form method="post" action="controller.pl">
5
6 [%- INCLUDE 'common/flash.html' %]
7
8   <table>
9    <tr>
10     <td>[% LxERP.t8('Description') %]</td>
11     <td>[% L.input_tag("part_classification.description",  LxERP.t8(SELF.part_classification.description)) %]</td>
12    </tr>
13    <tr>
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>
16    </tr>
17    <tr>
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>
20    </tr>
21    <tr>
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>
24    </tr>
25    <tr>
26     <td>[% LxERP.t8('Report separately') %]</td>
27     <td>[% L.checkbox_tag("part_classification.report_separate", checked=(SELF.part_classification.report_separate ? 1:'')) %]</td>
28    </tr>
29   </table>
30
31   <p>
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?')) %]
37    [%- END %]
38    <a href="[% SELF.url_for(action => 'list') %]">[% LxERP.t8('Abort') %]</a>
39   </p>
40
41  </form>