Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision edb2023a

Von Kivitendo Admin vor fast 11 Jahren hinzugefügt

  • ID edb2023a832f426553a7d90342ebc56200f325f1
  • Vorgänger bc524b0d
  • Nachfolger 71d1fccd

Bilanzbericht aktualisiert und aus Druckvorlagen entfernt

Bilanz-HTML-Vorlage aus Druckvorlagen entfernt, befindet sich schon
länger zentral in templates/rp.

Bilanz zeigt jetzt das Berichtsdatum mit aus.

Unterschiede anzeigen:

bin/mozilla/rp.pl
397 397

  
398 398
  my $data = RP->balance_sheet(\%::myconfig, $::form);
399 399

  
400
  $::form->{asofdate} ||= $::form->current_date;
401
  $::form->{period}     = $::locale->date(\%::myconfig, $::form->current_date, 1);
400
  $::form->{asofdate}    ||= $::form->current_date;
401
  $::form->{report_title}  = $::locale->text('Balance Sheet');
402
  $::form->{report_date} ||= $::form->current_date;
402 403

  
403 404
  ($::form->{department}) = split /--/, $::form->{department};
404 405

  
......
409 410
  $::form->{this_period} = $::locale->date(\%::myconfig, $::form->{asofdate}, 0);
410 411
  $::form->{last_period} = $::locale->date(\%::myconfig, $::form->{compareasofdate}, 0);
411 412

  
413
#  balance sheet isn't read from print templates anymore,
414
#  instead use template in rp
412 415
#  $::form->{IN} = "balance_sheet.html";
413 416

  
414 417
  $::form->header;
locale/de/all
270 270
  'Background jobs and task server' => 'Hintergrund-Jobs und Task-Server',
271 271
  'Balance'                     => 'Bilanz',
272 272
  'Balance Sheet'               => 'Bilanz',
273
  'Balance sheet date'          => 'Bilanzstichtag',
273 274
  'Balancing'                   => 'Bilanzierung',
274 275
  'Bank'                        => 'Bank',
275 276
  'Bank Code'                   => 'BLZ',
......
1345 1346
  'Name and Street'             => 'Name und Straße',
1346 1347
  'National Expenses'           => 'Aufwand Inland',
1347 1348
  'National Revenues'           => 'Erlöse Inland',
1349
  'Net Income Statement'        => 'Einnahmenüberschußrechnung',
1348 1350
  'Net amount'                  => 'Nettobetrag',
1349 1351
  'Net amount (for verification)' => 'Nettobetrag (zur Überprüfung)',
1350 1352
  'Netto Terms'                 => 'Zahlungsziel netto',
......
1746 1748
  'Report about warehouse contents' => 'Lagerbestand anzeigen',
1747 1749
  'Report about warehouse transactions' => 'Lagerbuchungen anzeigen',
1748 1750
  'Report and misc. Preferences' => 'Sonstige Einstellungen',
1751
  'Report date'                 => 'Berichtsdatum',
1749 1752
  'Report for'                  => 'Bericht für',
1750 1753
  'Reports'                     => 'Berichte',
1751 1754
  'Representative'              => 'Vertreter',
templates/print/RB/balance_sheet.html
1

  
2
<body bgcolor="#ffffff">
3

  
4
<h2 align="center">
5
<%company%>
6
<br><%address%>
7

  
8
<p>BILANZ
9
<br><%period%>
10
</h2>
11

  
12
<table border="0">
13
<tr>
14
  <th align="left" width="400" colspan="2">AKTIVA<br><hr align="left" width="250" size="5" noshade></th>
15
  <th><%this_period%></th>
16
  <th><%last_period%></th>
17
</tr>
18

  
19
<%foreach asset_account%>
20
<tr>
21
  <td> </td>
22
  <td><%asset_account%></td>
23
  <td align="right"><%asset_this_period%></td>
24
  <td align="right"><%asset_last_period%></td>
25
</tr>
26
<%end asset_account%>
27

  
28
<tr>
29
  <td colspan="2"> </td>
30
  <td><hr noshade size="1"></td>
31
  <td><hr noshade size="1"></td>
32
</tr>
33

  
34
<tr valign="top">
35
  <th align="left" colspan="2">TOTAL</th>
36
  <td align="right"><%total_assets_this_period%><hr noshade size="2"></td>
37
  <td align="right"><%total_assets_last_period%><hr noshade size="2"></td>
38
</tr>
39

  
40
<tr>
41
  <th align="left" colspan="4">PASSIVA<b><hr align="left" width="250" size="5" noshade></th>
42
</tr>
43

  
44
<%foreach liability_account%>
45
<tr>
46
  <td></td>
47
  <td><%liability_account%></td>
48
  <td align="right"><%liability_this_period%></td>
49
  <td align="right"><%liability_last_period%></td>
50
</tr>
51
<%end liability_account%>
52

  
53
<tr>
54
  <td colspan="2"> </td>
55
  <td><hr noshade size="1"></td>
56
  <td><hr noshade size="1"></td>
57
</tr>
58

  
59
<tr valign="top">
60
  <td></td>
61
  <th align="left">TOTAL</th>
62
  <td align="right"><%total_liabilities_this_period%><br><hr noshade size="2"</td>
63
  <td align="right"><%total_liabilities_last_period%><br><hr noshade size="2"</td>
64
</tr>
65

  
66
<tr>
67
  <th align="left" colspan="4">EIGENTUM<br><hr align="left" width="250" size="5" noshade></th>
68
</tr>
69

  
70
<%foreach equity_account%>
71
<tr>
72
  <td></td>
73
  <td><%equity_account%></td>
74
  <td align="right"><%equity_this_period%></td>
75
  <td align="right"><%equity_last_period%></td>
76
</tr>
77
<%end equity_account%>
78

  
79
<tr>
80
  <td colspan="2"> </td>
81
  <td><hr noshade size="1"></td>
82
  <td><hr noshade size="1"></td>
83
</tr>
84

  
85
<tr valign="top">
86
  <td></td>
87
  <th align="left">TOTAL</th>
88
  <td align="right"><%total_equity_this_period%><br><hr noshade size="2"</td>
89
  <td align="right"><%total_equity_last_period%><br><hr noshade size="2"</td>
90
</tr>
91

  
92
<tr valign="top">
93
  <th align="left" colspan="2">TOTAL PASSIVA &amp; EIGENTUM</th>
94
  <td align="right"><%total_this_period%><br><hr noshade size="2"></td>
95
  <td align="right"><%total_last_period%><br><hr noshade size="2"></td>
96
</tr>
97
</table>
98

  
99

  
100

  
templates/print/Standard/balance_sheet.html
1

  
2
<body bgcolor="#ffffff">
3

  
4
<h2 align="center">
5
<%company%>
6
<br><%address%>
7

  
8
<p>BILANZ
9
<br><%period%>
10
</h2>
11

  
12
<table border="0">
13
<tr>
14
  <th align="left" width="400" colspan="2">AKTIVA<br><hr align="left" width="250" size="5" noshade></th>
15
  <th><%this_period%></th>
16
  <th><%last_period%></th>
17
</tr>
18

  
19
<%foreach asset_account%>
20
<tr>
21
  <td> </td>
22
  <td><%asset_account%></td>
23
  <td align="right"><%asset_this_period%></td>
24
  <td align="right"><%asset_last_period%></td>
25
</tr>
26
<%end asset_account%>
27

  
28
<tr>
29
  <td colspan="2"> </td>
30
  <td><hr noshade size="1"></td>
31
  <td><hr noshade size="1"></td>
32
</tr>
33

  
34
<tr valign="top">
35
  <th align="left" colspan="2">TOTAL</th>
36
  <td align="right"><%total_assets_this_period%><hr noshade size="2"></td>
37
  <td align="right"><%total_assets_last_period%><hr noshade size="2"></td>
38
</tr>
39

  
40
<tr>
41
  <th align="left" colspan="4">PASSIVA<b><hr align="left" width="250" size="5" noshade></th>
42
</tr>
43

  
44
<%foreach liability_account%>
45
<tr>
46
  <td></td>
47
  <td><%liability_account%></td>
48
  <td align="right"><%liability_this_period%></td>
49
  <td align="right"><%liability_last_period%></td>
50
</tr>
51
<%end liability_account%>
52

  
53
<tr>
54
  <td colspan="2"> </td>
55
  <td><hr noshade size="1"></td>
56
  <td><hr noshade size="1"></td>
57
</tr>
58

  
59
<tr valign="top">
60
  <td></td>
61
  <th align="left">TOTAL</th>
62
  <td align="right"><%total_liabilities_this_period%><br><hr noshade size="2"</td>
63
  <td align="right"><%total_liabilities_last_period%><br><hr noshade size="2"</td>
64
</tr>
65

  
66
<tr>
67
  <th align="left" colspan="4">EIGENTUM<br><hr align="left" width="250" size="5" noshade></th>
68
</tr>
69

  
70
<%foreach equity_account%>
71
<tr>
72
  <td></td>
73
  <td><%equity_account%></td>
74
  <td align="right"><%equity_this_period%></td>
75
  <td align="right"><%equity_last_period%></td>
76
</tr>
77
<%end equity_account%>
78

  
79
<tr>
80
  <td colspan="2"> </td>
81
  <td><hr noshade size="1"></td>
82
  <td><hr noshade size="1"></td>
83
</tr>
84

  
85
<tr valign="top">
86
  <td></td>
87
  <th align="left">TOTAL</th>
88
  <td align="right"><%total_equity_this_period%><br><hr noshade size="2"</td>
89
  <td align="right"><%total_equity_last_period%><br><hr noshade size="2"</td>
90
</tr>
91

  
92
<tr valign="top">
93
  <th align="left" colspan="2">TOTAL PASSIVA &amp; EIGENTUM</th>
94
  <td align="right"><%total_this_period%><br><hr noshade size="2"></td>
95
  <td align="right"><%total_last_period%><br><hr noshade size="2"></td>
96
</tr>
97
</table>
98

  
99

  
100

  
templates/print/f-tex/balance_sheet.html
1

  
2
<body bgcolor=ffffff>
3

  
4
<h2 align=center>
5
<%company%>
6
<br><%address%>
7

  
8
<p>BALANCE SHEET
9
<br><%period%>
10
</h2>
11

  
12
<table border=0>
13
<tr>
14
  <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th>
15
  <th><%this_period%></th>
16
  <th><%last_period%></th>
17
</tr>
18

  
19
<%foreach asset_account%>
20
<tr>
21
  <td> </td>
22
  <td><%asset_account%></td>
23
  <td align=right><%asset_this_period%></td>
24
  <td align=right><%asset_last_period%></td>
25
</tr>
26
<%end asset_account%>
27

  
28
<tr>
29
  <td colspan=2> </td>
30
  <td><hr noshade size=1></td>
31
  <td><hr noshade size=1></td>
32
</tr>
33

  
34
<tr valign=top>
35
  <th align=left colspan=2>TOTAL ASSETS</th>
36
  <td align=right><%total_assets_this_period%><hr noshade size=2></td>
37
  <td align=right><%total_assets_last_period%><hr noshade size=2></td>
38
</tr>
39

  
40
<tr>
41
  <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th>
42
</tr>
43

  
44
<%foreach liability_account%>
45
<tr>
46
  <td></td>
47
  <td><%liability_account%></td>
48
  <td align=right><%liability_this_period%></td>
49
  <td align=right><%liability_last_period%></td>
50
</tr>
51
<%end liability_account%>
52

  
53
<tr>
54
  <td colspan=2> </td>
55
  <td><hr noshade size=1></td>
56
  <td><hr noshade size=1></td>
57
</tr>
58

  
59
<tr valign=top>
60
  <td></td>
61
  <th align=left>Total Liabilities</th>
62
  <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
63
  <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
64
</tr>
65

  
66
<tr>
67
  <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th>
68
</tr>
69

  
70
<%foreach equity_account%>
71
<tr>
72
  <td></td>
73
  <td><%equity_account%></td>
74
  <td align=right><%equity_this_period%></td>
75
  <td align=right><%equity_last_period%></td>
76
</tr>
77
<%end equity_account%>
78

  
79
<tr>
80
  <td colspan=2> </td>
81
  <td><hr noshade size=1></td>
82
  <td><hr noshade size=1></td>
83
</tr>
84

  
85
<tr valign=top>
86
  <td></td>
87
  <th align=left>Total Equity</th>
88
  <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
89
  <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
90
</tr>
91

  
92
<tr valign=top>
93
  <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th>
94
  <td align=right><%total_this_period%><br><hr noshade size=2></td>
95
  <td align=right><%total_last_period%><br><hr noshade size=2></td>
96
</tr>
97
</table>
98

  
99

  
100

  
templates/webpages/rp/balance_sheet.html
5 5
[% company %]
6 6
<br>[% address %]
7 7
<p>[% 'BALANCE SHEET' | $T8 %]
8
<br>[% period %]
8
<br>[% 'Balance sheet date' | $T8 %]: [% this_period %]
9
<br>[% 'Report date' | $T8 %]: [% report_date %]
9 10
</h2>
10 11

  
11 12
<table border="0">
12 13
  <tr>
13 14
    <th align="left" width="400" colspan="2">[% 'ASSETS' | $T8 %]<br><hr align="left" width="250" size="5" noshade></th>
14
    <th>[% this_period %]</th>
15
    <th>[% last_period %]</th>
15
    <th><b>[% this_period %]<b></th>
16
    <th><b>[% last_period %]<b></th>
16 17
  </tr>
17 18

  
18 19
  [% FOREACH row = A %]

Auch abrufbar als: Unified diff