[%- USE T8 %] [%- USE HTML %] [%- USE L %] [%- USE LxERP %] [% CUSTOM_VARIABLES_FILTER_CODE %]
[% 'Number' | $T8 %] [% L.input_tag('filter.projectnumber:substr::ilike', filter.projectnumber_substr__ilike, size=60) %]
[% 'Description' | $T8 %] [% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size=60, class='initial_focus') %]
[% 'Customer' | $T8 %] [% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size=60) %]
[% 'Project Type' | $T8 %] [% L.select_tag('filter.project_type_id', SELF.project_types, default=filter.project_type_id, title_key='description', with_empty=1, style="width: 200px") %]
[% 'Project Status' | $T8 %] [% L.select_tag('filter.project_status_id', SELF.project_statuses, default=filter.project_status_id, title_key='description', with_empty=1, style="width: 200px") %]
[% 'Include in Report' | $T8 %] [% CUSTOM_VARIABLES_INCLUSION_CODE %]
[% L.select_tag('filter.active', [ [ 'active', LxERP.t8('Active') ], [ 'inactive', LxERP.t8('Inactive') ], [ 'both', LxERP.t8('Both') ] ], default=filter.active, style="width: 200px") %]
[% L.select_tag('filter.valid', [ [ 'valid', LxERP.t8('Valid') ], [ 'invalid', LxERP.t8('Invalid') ], [ 'both', LxERP.t8('Both') ] ], default=filter.valid, style="width: 200px") %]
[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]
[% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %]