X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=0bd5466cef594452eb2baef67cc3de1e31f8eb25;hb=689df295f45741c2d45bb990e6e41812268d18f3;hp=5218a4a9c0cde189a9cbe8cf231eb4b625f85c05;hpb=46231fcc086ac26ad9d3ee56ff6fcbc141e435bd;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 5218a4a9c..0bd5466ce 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -25,7 +25,7 @@ -
+ @@ -35,41 +35,41 @@ - - + + - + - - - - - + + + + + - - - + + + - - + + - + - + - + [% FOREACH i IN [1..paidaccounts] %] [% temp = "acc_trans_id_"_ i %] - + [% temp = "gldate_"_ i %] - + [% END %]

[% title | html %]

@@ -78,20 +78,29 @@

[% saved_message | html %]

[% END %] - - +
+ + +
+
+ @@ -185,49 +200,56 @@ [% FOREACH i IN [1..rowcount] %] [% END %] - - - - + + +
- - +
+ @@ -146,11 +159,11 @@
- - + @@ -99,13 +108,13 @@ - @@ -118,9 +127,9 @@ [% IF ( defaultcurrency && (currency != defaultcurrency) ) %] [% IF ( forex ) %] - + [% ELSE %] - + [% END %] [% END %] @@ -139,6 +148,10 @@ + + + +
[% 'Vendor' | $T8 %] + [% 'Vendor' | $T8 %] [% IF ( selectvendor ) %] [% ELSE %] - + [% END %]
+ - + - +
[% 'Credit Limit' | $T8 %][% creditlimit %][% creditlimit | html %] [% 'Remaining' | $T8 %][% creditremaining %][% creditremaining | html %]
[% 'Exchangerate' | $T8 %][% exchangerate %][% exchangerate | html %] [% 'Tax Included' | $T8 %]
[% 'direct debit' | $T8 %]
- + - + @@ -162,7 +175,9 @@ - +
[% 'Invoice Number' | $T8 %]
[% 'Order Number' | $T8 %]
[% 'Invoice Date' | $T8 %]
[% 'Project Number' | $T8 %][% globalprojectnumber %] + [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber') %] +
- [% 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) %] + + + - + - [% temp = "tax_"_ i %][% $temp %] + [% 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') %]
+
[% APselected %][% invtotal %] + [% L.select_tag('APselected', ALL_CHARTS_AP, value_title_sub = \APselected_value_title_sub, default = APselected) %] + [% invtotal | html %]
- +
- - + - - +
[% 'Notes' | $T8 %] - + [% 'Notes' | $T8 %] + [% 'Notes for vendor' | $T8 %] - + [% 'Notes for vendor' | $T8 %] +
@@ -235,9 +257,9 @@ - - - +
[% 'Payments' | $T8 %]
+ + @@ -262,38 +284,38 @@ [% IF( changeable ) %] [% L.date_tag(temp, $temp) %] [% ELSE %] - [% $temp %] - |; + [% $temp | html %] + |; [% END %] [% temp = "source_"_ i %] [% temp = "memo_"_ i %] [% temp = "paid_"_ i %] @@ -303,36 +325,34 @@ [% temp_forex = "forex_"_ i %] [% IF( $temp_forex || !changeable ) %] - [% $temp %] - + [% $temp | html %] + [% ELSE %] - + [% END %] - + [% END %] [% temp = "AP_paid_"_ i %] - [% temp = "paid_project_id_"_ i %] @@ -353,7 +373,6 @@
[% 'Payments' | $T8 %]
[% IF( changeable ) %] - + [% ELSE %] - [% $temp %] - + [% $temp | html %] + [% END %] [% IF( changeable ) %] - + [% ELSE %] - [% $temp %] - + [% $temp | html %] + [% END %] [% IF( changeable ) %] - + [% ELSE %] - [% $temp %] - + [% $temp | html %] + [% END %] [% 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 %] - + [% $temp | html %] + [% END %] + [% 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 %] - [% $temp %] + [% $temp | html %] [% END %]
- -
- + +