X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/41cceb1e99fa9d9dbf7977772e16e23646208608..aae306cda6274d:/templates/webpages/ar/form_header.html
diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html
index 258a40a57..bb943964b 100644
--- a/templates/webpages/ar/form_header.html
+++ b/templates/webpages/ar/form_header.html
@@ -42,16 +42,11 @@
| [% 'Customer' | $T8 %] |
-[%- IF selectcustomer %]
-
-[%- ELSE %]
-
-[%- END %]
- |
- [% L.hidden_tag('selectcustomer', selectcustomer) %]
- [% L.hidden_tag('oldcustomer', oldcustomer) %]
- [% L.hidden_tag('customer_id', customer_id) %]
- [% L.hidden_tag('terms', terms) %]
+ [% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 300px", class=(initial_focus == 'customer_id' ? "initial_focus" : "")) %]
+ [% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
+ [% L.hidden_tag("previous_customer_id", customer_id) %]
+ [% L.hidden_tag('terms', terms) %]
+
[%- IF max_dunning_level || invoice_obj.dunning_config_id %]
@@ -92,8 +87,7 @@
[%- END %]
| [% 'Currency' | $T8 %] |
- |
- [% L.hidden_tag('selectcurrency', selectcurrency) %]
+ [% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name") %] |
[% L.hidden_tag('defaultcurrency', defaultcurrency) %]
[% L.hidden_tag('fxgain_accno', fxgain_accno) %]
[% L.hidden_tag('fxloss_accno', fxloss_accno) %]
@@ -122,14 +116,10 @@
|