Revision 47e23463
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/project/_basic_data.html | ||
---|---|---|
1 |
<table> |
|
2 |
<tr> |
|
3 |
<th align="right">[% 'Number' | $T8 %]</th> |
|
4 |
<td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, style='width: 300px', class="initial_focus") %]</td> |
|
5 |
</tr> |
|
6 | 1 |
[% USE T8 %] |
7 | 2 |
[% USE L %] |
8 | 3 |
[% USE P %] |
9 | 4 |
[% USE HTML %] |
10 | 5 |
[% USE LxERP %] |
11 | 6 |
|
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> |
|
7 |
<div class="wrapper"> |
|
18 | 8 |
|
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)%]</td> |
|
32 |
</tr> |
|
33 |
|
|
34 |
<tr> |
|
35 |
<th align="right">[% 'Valid' | $T8 %]</th> |
|
36 |
<td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, style='width: 300px') %]</td> |
|
37 |
</tr> |
|
38 |
|
|
39 |
[%- IF SELF.project.id %] |
|
40 |
<tr> |
|
41 |
<th align="right">[% 'Active' | $T8 %]</th> |
|
42 |
<td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, style='width: 300px') %]</td> |
|
43 |
</tr> |
|
44 |
[%- END %] |
|
9 |
<table class="tbl-horizontal"> |
|
10 |
<caption>[% 'Project' | $T8 %][% IF SELF.project.description %] <i>[% SELF.project.description %]</i>[% END %] </caption> |
|
11 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
12 |
<tbody> |
|
13 |
<tr> |
|
14 |
<th>[% 'Number' | $T8 %]</th> |
|
15 |
<td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, class="wi-wide initial_focus") %]</td> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<th>[% 'Description' | $T8 %]</th> |
|
19 |
<td>[% L.areainput_tag("project.description", SELF.project.description, size=37, class='wi-wide', wrap="soft") %] </td> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<th>[% 'Project Type' | $T8 %]</th> |
|
23 |
<td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', class='wi-wide') %]</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<th>[% 'Project Status' | $T8 %]</th> |
|
27 |
<td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', class='wi-wide') %]</td> |
|
28 |
</tr> |
|
29 |
<tr> |
|
30 |
<th>[% 'Customer' | $T8 %]</th> |
|
31 |
<td>[% P.customer_vendor.picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, class='wi-wide', default=SELF.project.customer_id) %]</td> |
|
32 |
</tr> |
|
33 |
<tr> |
|
34 |
<th>[% 'Valid' | $T8 %]</th> |
|
35 |
<td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, class='wi-wide') %]</td> |
|
36 |
</tr> |
|
37 |
[% IF SELF.project.id %] |
|
38 |
<tr> |
|
39 |
<th>[% 'Active' | $T8 %]</th> |
|
40 |
<td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, class='wi-wide') %]</td> |
|
41 |
</tr> |
|
42 |
[% END %] |
|
43 |
</tbody> |
|
45 | 44 |
</table> |
45 |
|
|
46 |
</div><!-- /.wrapper --> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/project/_basic_data.html