+
- [% 'Customer' | $T8 %]
+ [% 'Main sorting' | $T8 %]
- [%- INCLUDE 'generic/multibox.html'
- name = 'customer',
- default = oldcustomer,
- style = 'width: 250px',
- DATA = ALL_VC,
- id_sub = 'vc_keys',
- label_key = 'name',
- select = vc_select,
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
+
+ [% 'Part' | $T8 %]
+ [% 'Customer' | $T8 %]
+ [% 'Country' | $T8 %]
+ [% 'Partsgroup' | $T8 %]
+ [% 'Customer type' | $T8 %]
+ [% 'Salesman' | $T8 %]
+ [% 'Month' | $T8 %]
+
+ [% 'Heading' | $T8 %]
+ [% 'Subtotal' | $T8 %]
+
- [% 'Customer Number' | $T8 %]
+
+ [% 'Secondary sorting' | $T8 %]
-
+
+ [% 'Part' | $T8 %]
+ [% 'Customer' | $T8 %]
+ [% 'Country' | $T8 %]
+ [% 'Partsgroup' | $T8 %]
+ [% 'Customer type' | $T8 %]
+ [% 'Salesman' | $T8 %]
+ [% 'Month' | $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 %]
- [%- INCLUDE 'generic/multibox.html'
- name = 'department',
- style = 'width: 250px',
- DATA = ALL_DEPARTMENTS,
- id_key = 'id',
- label_key = 'description',
- show_empty = 1,
- allow_textbox = 0,
- -%]
+ [%- L.select_tag('department_id',
+ ALL_DEPARTMENTS,
+ title_key = 'description',
+ with_empty = 1,
+ style = style)
+ -%]
[% 'Project Number' | $T8 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'project_id',
- style = "width: 250px",
- DATA = ALL_PROJECTS,
- id_key = 'id',
- label_key = 'projectnumber',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- -%]
-
+ [% 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) %]
- [% 'Group' | $T8 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'partsgroup_id',
- style = 'width: 250px',
- DATA = ALL_PARTSGROUPS,
- id_key = 'id',
- label_key = 'partsgroup',
- show_empty = 1,
- allow_textbox = 0,
- -%]
-
-
+ [% '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 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'employee_id',
- style = 'width: 250px',
- DATA = ALL_EMPLOYEES,
- id_key = 'id',
- label_sub = 'employee_labels',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- default = ' ',
- -%]
-
+ [% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]
[% 'Salesman' | $T8 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'salesman_id',
- style = 'width: 250px',
- DATA = ALL_SALESMEN,
- id_key = 'id',
- label_sub = 'salesman_labels',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- -%]
-
+ [% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]
[% 'Customer type' | $T8 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'business_id',
- style = "width: 250px",
- DATA = ALL_BUSINESS_TYPES,
- id_key = 'id',
- label_key = 'description',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- -%]
-
+ [% 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 %]
-
-
+ [% 'Bis' | $T8 %]
[% L.date_tag('transdateto') %]
@@ -235,7 +207,7 @@
[% 'Base unit' | $T8 %]
- [% 'Group' | $T8 %]
+ [% 'Partsgroup' | $T8 %]
[% 'Salesperson' | $T8 %]
[% 'Employee' | $T8 %]
@@ -265,62 +237,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
- [% 'Main sorting' | $T8 %]
-
-
- [% 'Part' | $T8 %]
- [% 'Customer' | $T8 %]
- [% 'Country' | $T8 %]
- [% 'Group' | $T8 %]
- [% 'Customer type' | $T8 %]
- [% 'Salesman' | $T8 %]
- [% 'Month' | $T8 %]
-
-
- [% 'Heading' | $T8 %]
- [% 'Subtotal' | $T8 %]
-
-
-
- [% 'Secondary sorting' | $T8 %]
-
-
- [% 'Part' | $T8 %]
- [% 'Customer' | $T8 %]
- [% 'Country' | $T8 %]
- [% 'Group' | $T8 %]
- [% 'Customer type' | $T8 %]
- [% 'Salesman' | $T8 %]
- [% 'Month' | $T8 %]
-
-
- [% 'Heading' | $T8 %]
- [% 'Subtotal' | $T8 %]
-
-
-
- [% 'Item mode' | $T8 %]
- ([%'Show items from invoices individually' | $T8 %])
-
-
-
- [% 'Total sum' | $T8 %]
-
- [% 'Decimalplaces' | $T8 %]:
-
-