summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/demo/income_statement.html96
1 files changed, 66 insertions, 30 deletions
diff --git a/templates/demo/income_statement.html b/templates/demo/income_statement.html
index 7618733c..970769a7 100644
--- a/templates/demo/income_statement.html
+++ b/templates/demo/income_statement.html
@@ -1,12 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title><?lsmb titlebar ?></title>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
+
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <meta name="robots" content="noindex,nofollow" />
+ <style type="text/css">
+ a {
+ color: inherit;
+ background-color: inherit;
+ text-decoration: none;
+ }
+ a:link {
+ color: inherit;
+ background-color: inherit;
+ text-decoration: none;
+ }
+ a:visited {
+ color: inherit;
+ background-color: inherit;
+ text-decoration: none;
+ }
+ a:hover {
+ color: inherit;
+ background-color: inherit;
+ text-decoration: none;
+ border-bottom: thin dashed;
+ }
+ </style>
+</head>
<body>
-<h2 align=center>
+<h2 align="center">
<?lsmb company ?>
-<br><?lsmb address ?>
+<br /><?lsmb address ?>
-<p>INCOME STATEMENT
-<br><?lsmb period ?>
+<br />INCOME STATEMENT
+<br /><?lsmb period ?>
</h2>
<?lsmb IF department ?>
@@ -17,9 +53,9 @@
<h4>Project Number: <?lsmb projectnumber ?></h4>
<?lsmb END ?>
-<table width=100% border=0>
+<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 width="400" align="left" colspan="2">INCOME<br /><hr width="300" size="5" align="left" noshade="noshade" /></th>
<th><?lsmb this_period ?></th>
<th><?lsmb last_period ?></th>
</tr>
@@ -27,28 +63,28 @@
<?lsmb FOREACH income_account ?>
<?lsmb loop_count = loop.count - 1 ?>
<tr>
- <td width=4> </td>
+ <td width="4"> </td>
<td><?lsmb income_account.${loop_count} ?></td>
- <td align=right><?lsmb income_this_period.${loop_count} ?></td>
- <td align=right><?lsmb income_last_period.${loop_count} ?></td>
+ <td align="right"><?lsmb income_this_period.${loop_count} ?></td>
+ <td align="right"><?lsmb income_last_period.${loop_count} ?></td>
</tr>
<?lsmb END ?>
<tr>
- <td colspan=2> </td>
- <td><hr noshade size=1></td>
- <td><hr noshade size=1></td>
+ <td colspan="2"> </td>
+ <td><hr noshade="noshade" size="1" /></td>
+ <td><hr noshade="noshade" size="1" /></td>
</tr>
-<tr valign=top>
+<tr valign="top">
<td> </td>
- <th align=left>TOTAL INCOME</th>
- <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td>
- <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td>
+ <th align="left">TOTAL INCOME</th>
+ <td align="right"><?lsmb total_income_this_period ?><hr noshade="noshade" size="2" /></td>
+ <td align="right"><?lsmb total_income_last_period ?><hr noshade="noshade" size="2" /></td>
</tr>
<tr>
- <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th>
+ <th align="left" colspan="2">EXPENSES<br /><hr width="300" size="5" align="left" noshade="noshade" /></th>
</tr>
<?lsmb FOREACH expense_account ?>
@@ -56,28 +92,28 @@
<tr>
<td> </td>
<td><?lsmb expense_account.${loop_count} ?></td>
- <td align=right><?lsmb expenses_this_period.${loop_count} ?></td>
- <td align=right><?lsmb expenses_last_period.${loop_count} ?></td>
+ <td align="right"><?lsmb expenses_this_period.${loop_count} ?></td>
+ <td align="right"><?lsmb expenses_last_period.${loop_count} ?></td>
</tr>
<?lsmb END ?>
<tr>
- <td colspan=2> </td>
- <td><hr noshade size=1></td>
- <td><hr noshade size=1></td>
+ <td colspan="2"> </td>
+ <td><hr noshade="noshade" size="1" /></td>
+ <td><hr noshade="noshade" size="1" /></td>
</tr>
-<tr valign=top>
+<tr valign="top">
<td> </td>
- <th align=left>TOTAL EXPENSES</th>
- <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td>
- <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td>
+ <th align="left">TOTAL EXPENSES</th>
+ <td align="right"><?lsmb total_expenses_this_period ?><br /><hr noshade="noshade" size="2" /></td>
+ <td align="right"><?lsmb total_expenses_last_period ?><br /><hr noshade="noshade" size="2" /></td>
</tr>
-<tr valign=top>
- <th align=left colspan=2>INCOME / (LOSS)</th>
- <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
- <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
+<tr valign="top">
+ <th align="left" colspan="2">INCOME / (LOSS)</th>
+ <td align="right"><?lsmb total_this_period ?><br /><hr noshade="noshade" size="2" /></td>
+ <td align="right"><?lsmb total_last_period ?><br /><hr noshade="noshade" size="2" /></td>
</tr>
</table>