[% 'Number' | $T8 %] |
[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, class='initial_focus') %] |
[% 'Description' | $T8 %] |
[%- SET rows = LxERP.numtextrows(SELF.project.description, 60) %]
[%- IF rows > 1 %]
[%- L.textarea_tag("project.description", SELF.project.description, rows=row, size=60, style="width: 100%", wrap="soft") %]
[%- ELSE %]
[%- L.input_tag("project.description", SELF.project.description, size=60) %]
[%- END %]
|
[% 'Type' | $T8 %] |
[% L.input_tag('project.type', SELF.project.type, size=60) %] |
[% 'Customer' | $T8 %] |
[% L.select_tag('project.customer_id', ALL_CUSTOMERS, default=SELF.project.customer_id, title_key='name', with_empty=1, style='width: 300px') %] |
[% 'Valid' | $T8 %] |
[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, style='width: 300px') %] |
[%- IF SELF.project.id %]
[% 'Active' | $T8 %] |
[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, style='width: 300px') %] |
[%- END %]