Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c8b87c34

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID c8b87c34fae434c0a462a40c22b9cdfed4f4f20f
  • Vorgänger 50387056
  • Nachfolger 26350d7c

Neues Design 2019 Standard-Code templates/webpages/project/_basic_data.html

Unterschiede anzeigen:

templates/webpages/project/_basic_data.html
<table>
<tr>
<th align="right">[% 'Number' | $T8 %]</th>
<td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, style='width: 300px', class="initial_focus") %]</td>
</tr>
[% USE T8 %]
[% USE L %]
[% USE P %]
[% USE HTML %]
[% USE LxERP %]
<tr>
<th align="right">[% 'Description' | $T8 %]</th>
<td>
[%- L.areainput_tag("project.description", SELF.project.description, size=60, style="width: 300px", wrap="soft") %]
</td>
</tr>
<div class="wrapper">
<tr>
<th align="right">[% 'Project Type' | $T8 %]</th>
<td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
</tr>
<tr>
<th align="right">[% 'Project Status' | $T8 %]</th>
<td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', style='width: 300px') %]</td>
</tr>
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
<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>
</tr>
<tr>
<th align="right">[% 'Valid' | $T8 %]</th>
<td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, style='width: 300px') %]</td>
</tr>
[%- IF SELF.project.id %]
<tr>
<th align="right">[% 'Active' | $T8 %]</th>
<td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, style='width: 300px') %]</td>
</tr>
[%- END %]
<table class="tbl-horizontal">
<caption>[% 'Project' | $T8 %][% IF SELF.project.description %] <i>[% SELF.project.description %]</i>[% END %] </caption>
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
<tbody>
<tr>
<th>[% 'Number' | $T8 %]</th>
<td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, class="wi-wide initial_focus") %]</td>
</tr>
<tr>
<th>[% 'Description' | $T8 %]</th>
<td>[% L.areainput_tag("project.description", SELF.project.description, size=37, class='wi-wide', wrap="soft") %] </td>
</tr>
<tr>
<th>[% 'Project Type' | $T8 %]</th>
<td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', class='wi-wide') %]</td>
</tr>
<tr>
<th>[% 'Project Status' | $T8 %]</th>
<td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', class='wi-wide') %]</td>
</tr>
<tr>
<th>[% 'Customer' | $T8 %]</th>
<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>
</tr>
<tr>
<th>[% 'Valid' | $T8 %]</th>
<td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, class='wi-wide') %]</td>
</tr>
[% IF SELF.project.id %]
<tr>
<th>[% 'Active' | $T8 %]</th>
<td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, class='wi-wide') %]</td>
</tr>
[% END %]
</tbody>
</table>
</div><!-- /.wrapper -->

Auch abrufbar als: Unified diff