<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- 帳號  <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="members-topmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->

<!-- The table with the account items -->
<div id="main">
<div class="table"><table>
<caption>帳號 <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></caption>
  <tr>
  	<th>日期</th>
    <th>繳費的描述說明</th>
    <th>總計Amount</th>
    <th>目前欠款</th>
  </tr>

  <!-- TMPL_LOOP NAME="accounts" -->

   <!-- TMPL_IF NAME="toggle" --> <tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
      <td><!-- TMPL_VAR NAME="date" --></td>
      <td><!-- TMPL_VAR NAME="description" --><!-- TMPL_IF NAME="printtitle" --> <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
      <!-- TMPL_IF NAME="amountcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="amount" --></td>
      <!-- TMPL_IF NAME="amountoutstandingcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="amountoutstanding" --></td>
    </tr>

  <!-- /TMPL_LOOP -->
<tfoot>
  <tr>
    <td colspan="3">總計預期</td>
    <!-- TMPL_IF NAME="totalcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="total" --></td>
  </tr>
  </tfoot>
</table></div>
<!-- The manual invoice and credit buttons -->
<div class="tabitem">
<form action="/cgi-bin/koha/maninvoice.pl" method="get"><input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->" /><input type="submit" class="submit" value="開發票" /></form> <form action="/cgi-bin/koha/mancredit.pl" method="get"> <input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->" /> <input type="submit" class="submit" value="建立貸款" /></form> <form action="/cgi-bin/koha/members/moremember.pl" method="get"><input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->" /> <input type="submit" value="回到讀者記錄" class="submit" /></form>
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
