diff options
Diffstat (limited to 'templates/demo/income_statement.html')
-rw-r--r-- | templates/demo/income_statement.html | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/templates/demo/income_statement.html b/templates/demo/income_statement.html index 14b01219..7618733c 100644 --- a/templates/demo/income_statement.html +++ b/templates/demo/income_statement.html @@ -9,13 +9,13 @@ <br><?lsmb period ?> </h2> -<?lsmb if department ?> +<?lsmb IF department ?> <h4>Department: <?lsmb department ?></h4> -<?lsmb end department ?> +<?lsmb END ?> -<?lsmb if projectnumber ?> +<?lsmb IF projectnumber ?> <h4>Project Number: <?lsmb projectnumber ?></h4> -<?lsmb end projectnumber ?> +<?lsmb END ?> <table width=100% border=0> <tr> @@ -24,14 +24,15 @@ <th><?lsmb last_period ?></th> </tr> -<?lsmb foreach income_account ?> +<?lsmb FOREACH income_account ?> +<?lsmb loop_count = loop.count - 1 ?> <tr> <td width=4> </td> - <td><?lsmb income_account ?></td> - <td align=right><?lsmb income_this_period ?></td> - <td align=right><?lsmb income_last_period ?></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> </tr> -<?lsmb end income_account ?> +<?lsmb END ?> <tr> <td colspan=2> </td> @@ -50,14 +51,15 @@ <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th> </tr> -<?lsmb foreach expense_account ?> +<?lsmb FOREACH expense_account ?> +<?lsmb loop_count = loop.count - 1 ?> <tr> <td> </td> - <td><?lsmb expense_account ?></td> - <td align=right><?lsmb expenses_this_period ?></td> - <td align=right><?lsmb expenses_last_period ?></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> </tr> -<?lsmb end expense_account ?> +<?lsmb END ?> <tr> <td colspan=2> </td> |