X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=889080b02dda2921bb4ebeb4bde67bceb8cb362d;hb=f3f2ec384d905c686df842ac7175d48792273487;hp=169a5e01f49712b8408d59d99f6e09d4c55d2bc6;hpb=40cfb5eee3162b7e25b20f7e0f52c3def98313bc;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 169a5e01f..889080b02 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -1,37 +1,10 @@ [%- USE L %] [%- USE HTML %] [%- USE T8 %] -[%- USE LxERP %] - - - - +[%- USE LxERP %][%- USE P -%]
- - - - - @@ -103,12 +76,9 @@ [% 'Vendor' | $T8 %] - [% IF ( selectvendor ) %] - - [% ELSE %] - - [% END %] - + [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px") %] + [% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] + [% L.hidden_tag("previous_vendor_id", vendor_id) %] @@ -135,7 +105,7 @@ [% 'Currency' | $T8 %] - + [% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name") %] [% IF ( defaultcurrency && (currency != defaultcurrency) ) %] [% 'Exchangerate' | $T8 %] @@ -211,10 +181,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) %] @@ -225,7 +194,8 @@ [% temp = 'selected_taxchart_'_ i %] - [% L.select_tag('taxchart_'_ i, ALL_TAXCHARTS, value_title_sub = \taxchart_value_title_sub, default = $temp) %] + [% taxcharts = 'taxcharts_' _ i %] + [% L.select_tag('taxchart_'_ i, $taxcharts, value_title_sub = \taxchart_value_title_sub, default = $temp, style="width: 250px") %] [% temp = "project_id_"_ i %] @@ -241,7 +211,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 %]