[% 'Customer' | $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,
- -%]
- |
+ [% L.input_tag("customer", customer, style=style, class="initial_focus") %] |
+
+ [% 'Contact Person' | $T8 %] |
+ [% L.input_tag("cp_name", '', style=style) %] |
+
[% 'Department' | $T8 %] |
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'department',
- select_name = 'department_id',
- 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) %] |
[% '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) %] |
[% 'Employee' | $T8 %] |
- [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %] |
+ [% 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 = 'width:250px') %] |
+ [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %] |
[% 'Transaction description' | $T8 %] |
- |
+ [% L.input_tag("transaction_description", "", style=style) %] |
+ [% 'Part Description' | $T8 %] |
+ [% L.input_tag("parts_description", "", style=style) %] |
[% 'Notes' | $T8 %] |
- |
+ [% L.input_tag("notes", "", style=style) %] |
+ [% 'Part Number' | $T8 %] |
+ [% L.input_tag("parts_partnumber", "", 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", project_id, style=style) %] |
- [% IF SHOW_BUSINESS_TYPES %]
+ [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
[% '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, with_empty=1, title_key="description", style=style) %] |
+
+ [% END %]
+
+ [% 'Show only marked as paid invoices' | $T8 %] |
+ [% L.checkbox_tag('show_marked_as_closed') %] |
+
+ [% IF INSTANCE_CONF.get_email_journal %]
+
+ [% 'Show only not mailed invoices' | $T8 %] |
+ [% L.checkbox_tag('show_not_mailed') %] |
[% END %]
- [% 'From' | $T8 %] |
+ [% 'Invoice Date' | $T8 %] |
[% L.date_tag('transdatefrom') %]
- |
- [% 'Bis' | $T8 %] |
-
- [% L.date_tag('transdateto') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('transdateto') %]
|
+
+ [% 'Due Date' | $T8 %] |
+
+ [% L.date_tag('duedatefrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('duedateto') %]
+ |
+
+
+[%- IF CT_CUSTOM_VARIABLES.size %]
+
+ |
+ [% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %] |
+
+ [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
+[%- END %]
+
|
@@ -120,110 +111,116 @@
|