X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=3e3e5df5d4ee5f982303d491fc160a03c82d4be5;hb=6abbd83dfd7e32ea1bf3ec209031192104ecaef8;hp=90cb602527b0a68314d166e682e2b968d7836abe;hpb=b61f5c3df68e3a3b4fb6a8a287172b0989215748;p=kivitendo-erp.git
diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html
index 90cb60252..3e3e5df5d 100644
--- a/templates/webpages/oe/search.html
+++ b/templates/webpages/oe/search.html
@@ -1,6 +1,7 @@
[%- USE HTML %]
[%- USE T8 %]
[%- USE LxERP %]
+[%- USE L %]
[%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
[%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
@@ -53,34 +54,11 @@
[% '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', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %] |
[% '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', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %] |
[% 'Transaction description' | $T8 %] |
@@ -104,25 +82,21 @@
[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %] |
-
-
+ [% L.date_tag('transdatefrom') %]
|
[% 'Bis' | $T8 %] |
-
-
+ [% L.date_tag('transdateto') %]
|
[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %] |
-
-
+ [% L.date_tag('reqdatefrom') %]
|
[% 'Bis' | $T8 %] |
-
-
+ [% L.date_tag('reqdateto') %]
|
@@ -147,7 +121,17 @@
-
+
+ |
+
+[%- END %]
+[%- IF type == 'sales_order' %]
+
+
+ [% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %]
+ |
+
+ [% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %]
|
[%- END %]
@@ -257,15 +241,6 @@
-
-