File: income_statement.html

package info (click to toggle)
sql-ledger 3.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 33,080 kB
  • sloc: perl: 73,172; sql: 36,530; sh: 34; makefile: 21
file content (89 lines) | stat: -rw-r--r-- 1,996 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89

<body>

<h4 align=center>
<%company%>
<br><%address%>

<p>INCOME STATEMENT
<%if method eq 'cash'%>
<br>CASH Method
<%end method eq 'cash'%>
<br><%period%>
</h4>

<%if department%>
<h4>Department: <%department%></h4>
<%end department%>

<%if projectnumber%>
<h4>Project Number: <%projectnumber%></h4>
<%end projectnumber%>

<table width=100% border=0>
<tr>
  <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th>
  <th><%this_period%></th>
  <th><%previous_period%></th>
</tr>

<%foreach income_account%>
<tr>
  <td width=4> </td>
  <td><%income_account%></td>
  <td align=right><%income_this_period%></td>
  <td align=right><%income_previous_period%></td>
</tr>
<%end income_account%>

<tr>
  <td colspan=2> </td>
  <td><hr noshade size=1></td>
  <td><hr noshade size=1></td>
</tr>

<tr valign=top>
  <td> </td>
  <th align=left>TOTAL INCOME</th>
  <td align=right><%total_income_this_period%><hr noshade size=2></td>
  <td align=right><%total_income_previous_period%><hr noshade size=2></td>
</tr>

<tr>
  <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th>
</tr>

<%foreach expense_account%>
<tr>
  <td> </td>
  <td><%expense_account%></td>
  <td align=right><%expense_this_period%></td>
  <td align=right><%expense_previous_period%></td>
</tr>
<%end expense_account%>

<tr>
  <td colspan=2> </td>
  <td><hr noshade size=1></td>
  <td><hr noshade size=1></td>
</tr>

<tr valign=top>
  <td> </td>
  <th align=left>TOTAL EXPENSES</th>
  <td align=right><%total_expense_this_period%><br><hr noshade size=2</td>
  <td align=right><%total_expense_previous_period%><br><hr noshade size=2</td>
</tr>

<tr valign=top>
  <th align=left colspan=2>INCOME / (LOSS)</th>
  <td align=right><%total_this_period%><br><hr noshade size=2></td>
  <td align=right><%total_previous_period%><br><hr noshade size=2></td>
</tr>

</table>

All amounts in <%currency%>
<%if currency ne 'CAD'%>
 converted at <%exchangerate%>
<%end currency ne 'CAD'%>.