X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=45dcf332a35f5c0206d5092d5ccf5a5340bb0d01;hb=bcc996e65643a7bd5766e5d633fff572be4a464c;hp=69d2309e8b7f836de87190bbe5bfcbb0b6c55925;hpb=1ce68041a1923c60a6608a2ed6365f5915bacd9a;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 69d2309e8..45dcf332a 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -1,4 +1,5 @@ [%- USE L %] +[%- USE P %] [%- USE HTML %] [%- USE T8 %] [%- USE LxERP %][%- USE P -%] @@ -82,7 +83,7 @@ [% 'Vendor' | $T8 %] - [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px") %] + [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 300px", onchange="\$('#update_button').click()") %] [% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] [% L.hidden_tag("previous_vendor_id", vendor_id) %] @@ -146,11 +147,11 @@ - + - + @@ -188,7 +189,7 @@ @@ -217,7 +218,7 @@ @@ -244,6 +245,7 @@
[% 'Invoice Number' | $T8 %][% L.input_tag("invnumber", invnumber, size="11", readonly=readonly) %]
[% 'Order Number' | $T8 %][% L.input_tag("ordnumber", ordnumber, size="11", readonly=readonly) %]
[% 'Invoice Date' | $T8 %]
[% 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" : "")) %] + [% 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) %]
- [% P.chart_picker('AP_chart_id', AP_chart_id, style="width: 400px", type="AP") %] + [% P.chart.picker('AP_chart_id', AP_chart_id, style="width: 400px", type="AP") %] [% invtotal | html %]
+ [% UNLESS no_payment_bookings %] @@ -300,7 +302,7 @@ [% temp = "paid_"_ i %]
[% 'Payments' | $T8 %] [% IF( changeable ) %] - + [% ELSE %] [% $temp | html %] @@ -365,6 +367,7 @@ [% LxERP.format_amount(paid_missing, 2) | html %]
+ [% END %]