X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/267cb27975e76f64a86cd2d45804c792bcc045bd..0fa8098195ca1634920bf65264a987b59a91ebe1:/templates/webpages/ap/form_header.html diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 8720c7340..8c8a17333 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -1,34 +1,11 @@ [%- USE L %] [%- USE HTML %] [%- USE T8 %] -[%- USE LxERP %] - - - - +[%- USE LxERP %][%- USE P -%]
- @@ -39,6 +16,7 @@ + @@ -78,11 +56,16 @@

[% saved_message | html %]

[% END %] -
+
@@ -99,9 +82,9 @@ [% 'Vendor' | $T8 %] [% IF ( selectvendor ) %] - + [% ELSE %] - + [% END %] @@ -143,12 +126,10 @@ - [% IF ( selectdepartment ) %] + [% IF ALL_DEPARTMENTS %] [% 'Department' | $T8 %] - - - + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] [% END %] @@ -184,7 +165,7 @@ [% 'Project Number' | $T8 %] - [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber') %] + [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber', onChange = "document.getElementById('update_button').click();") %] @@ -208,10 +189,9 @@ [% FOREACH i IN [1..rowcount] %] - [% selected_accno_full = "selected_accno_full_"_ i %] - [% L.select_tag('AP_amount_'_ i, ALL_CHARTS_AP_amount, value_title_sub = \AP_amount_value_title_sub, onchange = 'setTaxkey(this, '_ i _')', default = $selected_accno_full) %] - - + [% SET selected_chart_id = "AP_amount_chart_id_"_ i %] + [% P.chart_picker("AP_amount_chart_id_" _ i, $selected_chart_id, style="width: 400px", type="AP_amount", class=(initial_focus == 'row_' _ i ? "initial_focus" : "")) %] + [% L.hidden_tag("previous_AP_amount_chart_id_" _ i, $selected_chart_id) %] @@ -238,7 +218,7 @@ - [% L.select_tag('APselected', ALL_CHARTS_AP, value_title_sub = \APselected_value_title_sub, default = APselected) %] + [% P.chart_picker('AP_chart_id', AP_chart_id, style="width: 400px", type="AP") %] [% invtotal | html %] @@ -390,8 +370,14 @@
+[% PROCESS 'webdav/_list.html' %] +
+ [% LxERP.t8('Loading...') %] +
+
+