X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6c9c012e74984b7992fc4bad93c58960744f16d2..335fc788611b85c4879e701fba2892ec1ed2c8dd:/templates/webpages/rp/report.html
diff --git a/templates/webpages/rp/report.html b/templates/webpages/rp/report.html
index daeaf46c9..2e9775a96 100644
--- a/templates/webpages/rp/report.html
+++ b/templates/webpages/rp/report.html
@@ -9,7 +9,7 @@
| [% 'Year' | $T8 %] |
- |
+ |
| [% 'Yearly' | $T8 %] |
@@ -62,11 +62,17 @@
| [% 'Method' | $T8 %] |
- [% L.radio_button_tag('method', value='accrual', checked=accrual, label=LxERP.t8('Accrual')) %]
- [% L.radio_button_tag('method', value='cash', checked=cash, label=LxERP.t8('cash')) %]
+ [% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %]
+ [% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %]
|
[%- END %]
+[%- BLOCK customer %]
+
+ | [% 'Customer' | $T8 %] |
+ [% L.customer_vendor_picker('customer_id', '', type='customer') %] |
+
+[%- END %]
[%- BLOCK projectnumber %]
| [% 'Project' | $T8 %] |
@@ -92,9 +98,9 @@
[% INCLUDE projectnumber %]
- | [% 'as at' | $T8 %] |
- [% L.date_tag('fromdate', fromdate) %] |
- [% 'Compare to' | $T8 %] |
+ [% 'From' | $T8 %] |
+ [% L.date_tag('fromdate', fromdate, class='initial_focus') %] |
+ [% 'Bis' | $T8 %] |
[% L.date_tag('todate') %] |
@@ -136,7 +142,7 @@
| [% 'as at' | $T8 %] |
- [% L.date_tag('asofdate', asofdate) %] |
+ [% L.date_tag('asofdate', asofdate, class="initial_focus") %] |
[% 'CB Transactions' | $T8 %] |
[% 'only OB Transactions' | $T8 %] |
@@ -162,6 +168,7 @@
[%- END %]
[%- IF is_trial_balance %]
+[%- PROCESS customer %]
[%- PROCESS projectnumber %]
@@ -228,7 +235,7 @@
| [% 'Reference' | $T8 %] |
- |
+ |
| [% 'Source' | $T8 %] |