X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fdelivery_plan%2F_filter.html;h=e7e1199b5a65dddfac06825b3a0a001472364dfb;hb=71ada638068acc8b1481b7392bc0511fa627647e;hp=d53763010e094cb7df82a63a8774e59278577e65;hpb=f88b542e60f214a912f4f99f204837f2ee67f65c;p=kivitendo-erp.git
diff --git a/templates/webpages/delivery_plan/_filter.html b/templates/webpages/delivery_plan/_filter.html
index d53763010..e7e1199b5 100644
--- a/templates/webpages/delivery_plan/_filter.html
+++ b/templates/webpages/delivery_plan/_filter.html
@@ -14,6 +14,10 @@
[% 'Number' | $T8 %] |
[% L.input_tag('filter.order.ordnumber:substr::ilike', filter.order.ordnumber_substr__ilike, size = 20) %] |
+
+ [% 'Document Project Number' | $T8 %] |
+ [% L.input_tag('filter.order.globalproject.projectnumber:substr::ilike', filter.order.globalproject.projectnumber_substr__ilike, size = 20) %] |
+
[% 'Part Number' | $T8 %] |
[% L.input_tag('filter.part.partnumber:substr::ilike', filter.part.partnumber_substr__ilike, size = 20) %] |
@@ -34,13 +38,45 @@
[% 'Quantity' | $T8 %] |
[% L.input_tag('filter.qty:number', filter.qty_number, size = 20) %] |
+[% IF SELF.vc == 'customer' %]
+
+ [% 'Customer' | $T8 %] |
+ [% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, size = 20) %] |
+
+
+ [% 'Customer Number' | $T8 %] |
+ [% L.input_tag('filter.order.customer.customernumber:substr::ilike', filter.order.customer.customernumber_substr__ilike, size = 20) %] |
+
+[% ELSE %]
+ [% 'Vendor' | $T8 %] |
+ [% L.input_tag('filter.order.vendor.name:substr::ilike', filter.order.vendor.name_substr__ilike, size = 20) %] |
+
+
+ [% 'Vendor Number' | $T8 %] |
+ [% L.input_tag('filter.order.vendor.vendornumber:substr::ilike', filter.order.vendor.vendornumber_substr__ilike, size = 20) %] |
+
+[% END %]
- [% 'Customer' | $T8 %] |
- [% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, size = 20) %] |
+ [% 'Customer type' | $T8 %] |
+
+ [% L.select_tag('filter.order.customer.business_id', SELF.all_businesses,
+ default => filter.order.customer.business_id,
+ title_key => 'description',
+ value_key => 'id',
+ with_empty => 1,
+ style => 'width: 200px') %]
+ |
- [% 'Customer Number' | $T8 %] |
- [% L.input_tag('filter.order.customer.customernumber:substr::ilike', filter.order.customer.customernumber_substr__ilike, size = 20) %] |
+ [% 'Employee' | $T8 %] |
+
+ [% L.select_tag('filter.order.employee_id', SELF.all_employees,
+ default => filter.order.employee_id,
+ title_key => 'name',
+ value_key => 'id',
+ with_empty => 1,
+ style => 'width: 200px') %]
+ |
[% 'Type' | $T8 %] |
@@ -56,10 +92,12 @@
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
+[% L.hidden_tag('vc', SELF.vc) %]
+[% L.hidden_tag('mode', SELF.mode) %]
[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
-[% 'Reset' | $T8 %]
+[% 'Reset' | $T8 %]