{* $Id$ *} {icon name="print" alt="{tr}printable version{/tr}"} {icon name="export" alt="{tr}export table{/tr}"}
| {tr}Id{/tr} | {tr}Date{/tr} | {tr}Description{/tr} | {tr}Debit{/tr} | {tr}Credit{/tr} | |||||
|---|---|---|---|---|---|---|---|---|---|
| {tr}Account{/tr} | {tr}Amount{/tr} | {tr}Text{/tr} | {tr}Account{/tr} | {tr}Amount{/tr} | {tr}Text{/tr} | ||||
| 1} rowspan="{$j.maxcount}"{/if} style="text-align:right">{$j.journalId} | 1} rowspan="{$j.maxcount}"{/if} style="text-align:right">{$j.journalDate|date_format:"%Y-%m-%d"} | 1} rowspan="{$j.maxcount}"{/if}>{$j.journalDescription|escape} | {section name=posts loop=$j.maxcount}{assign var='i' value=$smarty.section.posts.iteration-1} {if !$smarty.section.posts.first}|||||||
| {if $i<$j.debitcount}{$j.debit[$i].itemAccountId}{/if} | {if $i<$j.debitcount}{if $book.bookCurrencyPos==-1}{$book.bookCurrency} {/if}{$j.debit[$i].itemAmount|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand}{if $book.bookCurrencyPos==1} {$book.bookCurrency}{/if} {/if} | {if $i<$j.debitcount}{$j.debit[$i].itemText|escape}{/if} | {if $i<$j.creditcount}{$j.credit[$i].itemAccountId}{/if} | {if $i<$j.creditcount}{if $book.bookCurrencyPos==-1}{$book.bookCurrency} {/if}{$j.credit[$i].itemAmount|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand}{if $book.bookCurrencyPos==1} {$book.bookCurrency}{/if} {/if} | {if $i<$j.creditcount}{$j.credit[$i].itemText|escape}{/if} | {if $smarty.section.posts.first}{if $j.journalCancelled==1} {else} {/if} | {/if}|||
| {tr}Balance{/tr} | {if $book.bookCurrencyPos==-1}{$book.bookCurrency} {/if}{$totals.total|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand}{if $book.bookCurrencyPos==1} {$book.bookCurrency}{/if} | {tr}Debit{/tr} | {if $book.bookCurrencyPos==-1}{$book.bookCurrency} {/if}{$totals.debit|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand}{if $book.bookCurrencyPos==1} {$book.bookCurrency}{/if} | {tr}Credit{/tr} | {if $book.bookCurrencyPos==-1}{$book.bookCurrency} {/if}{$totals.credit|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand}{if $book.bookCurrencyPos==1} {$book.bookCurrency}{/if} | ||||