X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=fdcbefab63324979a199dc53e81a0121dd82e125;hb=6c63020409f486043d63c3a324db96a4a162ff67;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..fdcbefab6 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -25,7 +25,7 @@ -
+ @@ -35,41 +35,42 @@ - - + + - + + - - - - - + + + + + - - - + + + - - + + - + - + - + [% FOREACH i IN [1..paidaccounts] %] [% temp = "acc_trans_id_"_ i %] - + [% temp = "gldate_"_ i %] - + [% END %]

[% title | html %]

@@ -78,38 +79,55 @@

[% saved_message | html %]

[% END %] - - +
+ + +
+
+ @@ -185,49 +209,56 @@ [% FOREACH i IN [1..rowcount] %] [% END %] - - - - + + +
- - +
+ @@ -146,11 +168,11 @@
- - + - - + + + +[%- IF invoice_obj.sepa_exports.as_list.size %] + + + +[%- END %] @@ -118,9 +136,9 @@ [% IF ( defaultcurrency && (currency != defaultcurrency) ) %] [% IF ( forex ) %] - + [% ELSE %] - + [% END %] [% END %] @@ -139,6 +157,10 @@ + + + +
[% 'Vendor' | $T8 %] + [% 'Vendor' | $T8 %] [% IF ( selectvendor ) %] [% ELSE %] - + [% END %]
- - - - - - - -
[% 'Credit Limit' | $T8 %][% creditlimit %][% 'Remaining' | $T8 %][% creditremaining %]
+
[% LxERP.t8("Credit Limit") %] + [% creditlimit | html %]; + [% LxERP.t8("Remaining") %] + [% creditremaining | html %] +
[% LxERP.t8("SEPA exports") %] + [% FOREACH export = invoice_obj.sepa_exports.as_list %] + [% HTML.escape(export.id) %] + [% UNLESS loop.last %], [% END %] + [% END %]
[% 'Currency' | $T8 %][% 'Exchangerate' | $T8 %][% exchangerate %][% exchangerate | html %] [% 'Tax Included' | $T8 %]
[% 'direct debit' | $T8 %]
- + - + @@ -162,7 +184,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 +266,9 @@ - - - +
[% 'Payments' | $T8 %]
+ + @@ -245,6 +276,7 @@ + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% END %] @@ -260,40 +292,46 @@ [% temp = "datepaid_"_ i %] [% temp = "source_"_ i %] [% temp = "memo_"_ i %] [% temp = "paid_"_ i %] + + @@ -303,36 +341,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 +389,10 @@
[% 'Payments' | $T8 %]
[% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %][% 'Exch' | $T8 %] [% IF( changeable ) %] - [% L.date_tag(temp, $temp) %] + [% L.date_tag(temp, $temp ? $temp : today) %] [% ELSE %] - [% $temp %] - |; + [% $temp | html %] + [% END %] [% IF( changeable ) %] - + [% ELSE %] - [% $temp %] - + [% $temp | html %] + [% END %] [% IF( changeable ) %] - + [% ELSE %] - [% $temp %] - + [% $temp | html %] + [% END %] [% IF( changeable ) %] - + [% ELSE %] - [% $temp %] - + [% $temp | html %] + + [% END %] + + [% IF changeable && loop.last && paid_missing > 0 %] + [% 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 || accno_arap)) %] [% 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 %]
- -
- + + + +