{* $Id$ *} {literal} {/literal} {title help="accounting"} {$book.bookName}: {tr}Book a transaction into the stack{/tr} {/title}
{ticket} {if $firstid}{/if} {if $statementId}{/if}
{tr}Post{/tr}
{html_select_date prefix="stack_" time=$stackDate 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} *
{if $stackId == 0} {$text ="{tr _0="{$book.bookName}"}Record stack entry in book %0?{/tr}"} {else} {$text ="{tr _0="{$book.bookName}"}Modify stack entry in book %0?{/tr}"} {/if} {button href="tiki-accounting.php?bookId=$bookId" _text="{tr}Back to book page{/tr}"}

{include file='tiki-accounting_stacklist.tpl'}