X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e6291b3ab19b0f14f39ef371cbb337d6e7667d1c..9e30e4f6930108207ecaa77a57f0baee243ebaa6:/templates/webpages/ap/form_header.html
diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html
index dc3f96fac..fd8c91e54 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", onchange="\$('#update_button').click()") %]
+ [% 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) %]
@@ -188,7 +189,7 @@
[% 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) %]
@@ -217,7 +218,7 @@
- [% 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 %]
@@ -244,6 +245,7 @@
+ [% UNLESS no_payment_bookings %]
[% 'Payments' | $T8 %]
@@ -300,7 +302,7 @@
[% temp = "paid_"_ i %]
[% IF( changeable ) %]
-
+
[% ELSE %]
[% $temp | html %]
@@ -329,12 +331,13 @@
[% END %]
- [% temp = "AP_paid_"_ i %]
+ [% temp = "AP_paid_"_ i %]
+ [% readonly = "AP_paid_readonly_desc_"_ i %]
[% IF( changeable ) %]
[% L.select_tag(temp, ALL_CHARTS_AP_paid, value_title_sub = \AP_paid_value_title_sub, default = ($temp || accno_arap)) %]
[% ELSE %]
- [% $temp | html %]
+ [% $readonly | html %]
[% END %]
@@ -365,6 +368,7 @@
[% LxERP.format_amount(paid_missing, 2) | html %]
+ [% END %]