{* $Id$ *} {title help="accounting"} {$book.bookName} {/title} {if !empty($errors)}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"} {foreach from=$errors item=m name=errors} {$m} {if !$smarty.foreach.errors.last}
{/if} {/foreach}
{/if} {tabset} {tab name="{tr}General{/tr}"}

{tr}General{/tr}

{tr}This book{/tr}

{tr}Id{/tr}
{$book.bookId}
{tr}Name{/tr}
{$book.bookName}
{tr}Start date{/tr}
{$book.bookStartDate}
{tr}End date{/tr}
{$book.bookEndDate}
{tr}Closed{/tr}
{if $book.bookClosed=='y'}{tr}Yes{/tr}{else}{tr}No{/tr}{/if}
{tr}Currency{/tr}
{$book.bookCurrency} ({if $book.bookCurrencyPos==-1}{tr}before{/tr}{elseif $book.bookCurrencyPos==1}{tr}after{/tr}{else}{tr}don't display{/tr}{/if})
{tr}Decimals{/tr}
{$book.bookDecimals}
{tr}Decimal Point{/tr}
{$book.bookDecPoint}
{tr}Thousands separator{/tr}
{$book.bookThousand}
{tr}Auto Tax{/tr}
{if $book.bookAutoTax=='y'}{tr}Yes{/tr}{else}{tr}No{/tr}{/if}

{tr}Tasks{/tr}

{if $canBook} {button href="tiki-accounting_entry.php?bookId={$bookId|escape:'attr'}" _text="{tr}Book new entries{/tr}"} {button href="tiki-accounting_stack.php?bookId={$bookId|escape:'attr'}&hideform=1" _text="{tr}Confirm stack entries{/tr}"} {/if} {if $canStack} {button href="tiki-accounting_stack.php?bookId={$bookId|escape:'attr'}" _text="{tr}Book into Stack{/tr}"} {/if}
{/tab} {tab name="{tr}Accounts{/tr}"}

{tr}Accounts{/tr}

{include file="tiki-accounting_account_list.tpl"} {/tab} {*{tab name="{tr}Bank accounts{/tr}"}*} {*

{tr}Bank accounts{/tr}

*} {*{/tab}*} {tab name="{tr}Journal{/tr}"}

{tr}Journal{/tr}

{if $journalLimit!=0} {button href="tiki-accounting.php?bookId={$bookId|escape:'attr'}&cookietab=4&journalLimit=0" text="{tr}Fetch all{/tr}"} {/if} {include file="tiki-accounting_journal.tpl"}
{/tab} {/tabset}