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

[% title %]

[% L.hidden_tag("action", nextsub) %]
[% 'Customer' | $T8 %]
[% 'Customer' | $T8 %] [% L.input_tag("customer", customer, style=style, class="initial_focus") %]
[% 'Contact Person' | $T8 %] [% L.input_tag("cp_name", '', style=style) %]
[% 'Department' | $T8 %] [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
[% 'Employee' | $T8 %]
[% '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) %]
[% 'Order' | $T8 %]
[% 'Transaction description' | $T8 %] [% L.input_tag("transaction_description", "", style=style) %]
[% 'Notes' | $T8 %] [% L.input_tag("notes", "", style=style) %]
[% 'Part Description' | $T8 %] [% L.input_tag("parts_description", "", style=style) %]
[% 'Part Number' | $T8 %] [% L.input_tag("parts_partnumber", "", style=style) %]
[% IF ALL_BUSINESS_TYPES.as_list.size > 0 %] [% END %] [% IF INSTANCE_CONF.get_email_journal %] [% END %] [% IF CT_CUSTOM_VARIABLES.size %] [% CT_CUSTOM_VARIABLES_FILTER_CODE %] [% END %]
[% 'Record numbers and dates' | $T8 %]
[% 'Invoice Number' | $T8 %] [% L.input_tag("invnumber", "", style=style) %]
[% 'Order Number' | $T8 %] [% L.input_tag("ordnumber", "", style=style) %]
[% 'Customer Order Number' | $T8 %] [% L.input_tag("cusordnumber", "", style=style) %]
[% 'Project Number' | $T8 %] [% P.project.picker("project_id", project_id, style=style) %]
[% 'Customer type' | $T8 %] [% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description", style=style) %]
[% 'Show only marked as paid invoices' | $T8 %] [% L.checkbox_tag('show_marked_as_closed') %]
[% 'Show only not mailed invoices' | $T8 %] [% L.checkbox_tag('show_not_mailed') %]
[% 'Invoice Date' | $T8 %] [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %]
[% 'Due Date' | $T8 %] [% L.date_tag('duedatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('duedateto') %]
[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]

[% 'Include in Report' | $T8 %]

[% 'Status' | $T8 %]

[% 'Numbers' | $T8 %]

[% 'Date' | $T8 %]

[% 'Customer' | $T8 %]

[% 'Amounts' | $T8 %]

[% 'Order' | $T8 %]

[% 'Employee' | $T8 %]

[% 'Custom Variables' | $T8 %]

[% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]