{* $Id$ *} {title help="accounting"} {$book.bookName} {/title}

{tr}Canceled Journal{/tr}

{tr}ID{/tr}
{$entry.journalId}
{tr}Booking Date{/tr}
{$entry.journalDate|date_format:"%Y-%m-%d"}
{tr}Description{/tr}
{$entry.journalDescription}

{tr}Debit{/tr}

{foreach from=$entry.debit item=d}{cycle values="odd,even" assign="style"} {/foreach}
{tr}Text{/tr}{tr}Account{/tr}{tr}Amount{/tr}
{$d.itemText} {$d.itemAccountId} {if $book.bookCurrencyPos==-1}{$book.bookCurrency}{/if} {$d.itemAmount|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand} {if $book.bookCurrencyPos==1}{$book.bookCurrency}{/if}

{tr}Credit{/tr}

{foreach from=$entry.credit item=c}{cycle values="odd,even" assign="style"} {/foreach}
{tr}Text{/tr}{tr}Account{/tr}{tr}Amount{/tr}
{$c.itemText} {$c.itemAccountId} {if $book.bookCurrencyPos==-1}{$book.bookCurrency}{/if} {$c.itemAmount|number_format:$book.bookDecimals:$book.bookDecPoint:$book.bookThousand} {if $book.bookCurrencyPos==1}{$book.bookCurrency}{/if}
{button href="tiki-accounting.php?bookId=$bookId" _text="{tr}Back to book page{/tr}"}