{* $Id$ *} {literal} {/literal} {title help="accounting"} {$book.bookName}: {tr}Book a transaction{/tr} {/title}
{if $tiki_p_account_manage=='y'} {/if} {foreach from=$accounts item=a} {/foreach}
{tr}Accounts{/tr}
{tr}Create account{/tr}
{if $tiki_p_acct_manage_accounts =='y'} {icon name=edit} {icon name=delete} {/if} {$a.accountId} {$a.accountName}
{ticket} {if $firstid}{/if} {if $statementId}{/if}
{tr}Post{/tr}
{html_select_date prefix="journal_" time=$journalDate start_year="-10" end_year="+10" field_order=$prefs.display_field_order}
{tr}Debit{/tr} {section name=debit loop=$debitAccount}{assign var='i' value=$smarty.section.debit.iteration-1} {/section} 1} style="display:none;"{/if}>
{tr}Text{/tr} {tr}Account{/tr} * {tr}Amount{/tr} *
{tr}Credit{/tr} {section name=credit loop=$creditAccount}{assign var='i' value=$smarty.section.credit.iteration-1} {/section} 1} style="display:none;"{/if}>
{tr}Text{/tr} {tr}Account{/tr} * {tr}Amount{/tr} *
{button href="tiki-accounting.php?bookId=$bookId" _text="{tr}Back to book page{/tr}"}
{include file='tiki-accounting_journal.tpl'}