8c9f7096e2c095e905afb8afb4e6635bf2a6676e
[kivitendo-erp.git] / templates / webpages / project / _basic_data.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [%- USE P %]
4 [%- USE HTML %]
5 [%- USE LxERP %]
6 <table>
7  <tr>
8   <th align="right">[% 'Number' | $T8 %]</th>
9   <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, style='width: 300px', class="initial_focus") %]</td>
10  </tr>
11
12  <tr>
13   <th align="right">[% 'Description' | $T8 %]</th>
14   <td>
15     [%- L.areainput_tag("project.description", SELF.project.description, size=60, style="width: 300px", wrap="soft") %]
16   </td>
17  </tr>
18
19  <tr>
20   <th align="right">[% 'Project Type' | $T8 %]</th>
21   <td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
22  </tr>
23
24  <tr>
25   <th align="right">[% 'Project Status' | $T8 %]</th>
26   <td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', style='width: 300px') %]</td>
27  </tr>
28
29  <tr>
30   <th align="right">[% 'Customer' | $T8 %]</th>
31 <td>[% P.customer_vendor.picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, style='width: 300px', default=SELF.project.customer_id)%] [%- IF SELF.project.customer_id %]
32 [%- END %]
33 </td>
34  </tr>
35
36  <tr>
37   <th align="right">[% 'Valid' | $T8 %]</th>
38   <td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, style='width: 300px') %]</td>
39  </tr>
40
41  [%- IF SELF.project.id %]
42  <tr>
43   <th align="right">[% 'Active' | $T8 %]</th>
44   <td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, style='width: 300px') %]</td>
45  </tr>
46  [%- END %]
47 </table>