[%- USE T8 %][%- USE L %][%- USE P -%] [%- SET style="width: 250px" %]

[% title %]

[% CUSTOM_VARIABLES_FILTER_CODE_CT %] [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
[% 'Main sorting' | $T8 %] [% 'Heading' | $T8 %] [% 'Subtotal' | $T8 %]
[% 'Secondary sorting' | $T8 %] [% 'Heading' | $T8 %] [% 'Subtotal' | $T8 %]
[% 'Item mode' | $T8 %] ([%'Show items from invoices individually' | $T8 %])
[% 'Total sum' | $T8 %] [% 'Decimalplaces' | $T8 %]:

[% 'Customer' | $T8 %] [% P.input_tag("customer", "", class="initial_focus", style=style) %] [% 'Customer Number' | $T8 %] [% P.input_tag("customernumber", "", style=style) %]
[% 'Department' | $T8 %] [%- L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style = style) -%] [% 'Project Number' | $T8 %] [% P.project_picker("project_id", "", style=style) %]
[% 'Part Number' | $T8 %] [% P.input_tag("partnumber", "", style=style) %]
[% 'Part Description' | $T8 %] [% P.input_tag("description", "", style=style) %]
[% 'Partsgroup' | $T8 %] [% P.select_tag("partsgroupd_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, style=style) %] [% 'Country' | $T8 %] [% P.input_tag("country", "", style=style) %]
[% 'Employee' | $T8 %] [% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %] [% 'Salesman' | $T8 %] [% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]
[% 'Customer type' | $T8 %] [% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, style=style) %]
[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %] [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %]
[% 'Filter for customer variables' | $T8 %]
[% 'Filter for item variables' | $T8 %]

[% 'Include in Report' | $T8 %] [% CUSTOM_VARIABLES_INCLUSION_CODE_CT %] [% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
[% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):
[% 'Sales price total' | $T8 %] [% 'Purchase price total' | $T8 %] [% 'Margetotal' | $T8 %] ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])
[% 'Sales price' | $T8 %] [% 'Purchase price' | $T8 %] [% 'Margepercent' | $T8 %] ([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])
[% 'Quantity' | $T8 %] [% 'Discount' | $T8 %] ([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])
[% 'Weight' | $T8 %]
 
[% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
[% 'Description' | $T8 %] [% 'Part Number' | $T8 %] [% 'Invnumber' | $T8 %] [% 'Invdate' | $T8 %]
[% 'Base unit' | $T8 %] [% 'Partsgroup' | $T8 %] [% 'Salesperson' | $T8 %] [% 'Employee' | $T8 %]
[% 'Customer Number' | $T8 %] [% 'Customer Name' | $T8 %] [% 'Country' | $T8 %] [% 'Customer type' | $T8 %]
[% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
[% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])