X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=29e0dc43dc15691e7b081acdba64dddbb794b91b;hb=bb8964ddfc59e40b62f6e65f5dd38cea9b7323d0;hp=124eb64fd59578011670befa5121aef5bdb39f70;hpb=8b8f7572de2c9f0a05fecf4ecf7881f15d96af64;p=kivitendo-erp.git
diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html
index 124eb64fd..29e0dc43d 100644
--- a/templates/webpages/ap/form_header.html
+++ b/templates/webpages/ap/form_header.html
@@ -139,6 +139,10 @@
|
[% 'Tax Included' | $T8 %] |
+
+ |
+ [% 'direct debit' | $T8 %] |
+
@@ -162,7 +166,9 @@
[% 'Project Number' | $T8 %] |
- [% globalprojectnumber %] |
+
+ [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber') %]
+ |
@@ -185,7 +191,10 @@
[% FOREACH i IN [1..rowcount] %]
- [% temp = "selectAP_amount_"_ i %][% $temp %]
+ [% 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) %]
+
+
|
@@ -195,10 +204,12 @@
[% temp = "tax_"_ i %][% $temp | html %]
|
- [% temp = "select_tax_"_ i %][% $temp %]
+ [% temp = 'selected_taxchart_'_ i %]
+ [% L.select_tag('taxchart_'_ i, ALL_TAXCHARTS, value_title_sub = \taxchart_value_title_sub, default = $temp) %]
|
- [% temp = "select_projectnumber_"_ i %][% $temp %]
+ [% temp = "project_id_"_ i %]
+ [% L.select_tag(temp, ALL_PROJECTS, with_empty = 1, default = loop.last ? globalproject_id : $temp, value_key = 'id', title_key = 'projectnumber') %]
|
[% END %]
@@ -209,7 +220,9 @@
- [% APselected %] |
+
+ [% L.select_tag('APselected', ALL_CHARTS_AP, value_title_sub = \APselected_value_title_sub, default = APselected) %]
+ |
[% invtotal | html %] |
|
@@ -316,19 +329,17 @@
[% temp = "AP_paid_"_ i %]
[% IF( changeable ) %]
- [% temp = "select"_ temp %]
- [% $temp %]
+ [% L.select_tag(temp, ALL_CHARTS_AP_paid, value_title_sub = \AP_paid_value_title_sub, default = $temp) %]
[% ELSE %]
[% $temp | html %]
[% END %]
|
- [% temp = "paid_project_id_"_ i %]
+ [% temp = "paid_project_id_"_ i %]
[% IF( changeable ) %]
- [% temp = "select"_ temp %]
- [% $temp %]
+ [% L.select_tag(temp, ALL_PROJECTS, with_empty = 1, default = $temp, value_key = 'id', title_key = 'projectnumber') %]
[% ELSE %]
[% temp = "label"_ temp %]
|