installment function & recurring(temporary solution)

<p><b>1. installment function</b>
<br>1.1 add a option to make a detail as an installment payment.
<br>1.2 process: ex. buy a computer which costs 50,000 by credit card
<table width="100%">
<tr>
<td width="30%">add a detail</td>
<td>from: credit card
<br>to: expense-3c
<br>date: 2012/5/8
<br>amount: 50,000
<br>note: computer
<br><b><i>installment option selected
<br>period: 1 month
<br>number of periods: 3</i></b>
</td>
</tr>
<tr>
<td>auto create <i>n</i> details
<br><i>n</i> base on number of periods you input</td>
<td>(1)
<br>from: installment payable [*ps1]
<br>to: expense-3c
<br>date: 2012/5/8
<br>amount: 50,000
<br>note: computer
<p>(2)
<br>from: credit card
<br>to: installment payable
<br>date: 2012/5/8
<br>amount: 16,668 [*ps2]
<br>note: computer, 1/3
<p>(3)
<br>from: credit card
<br>to: installment payable
<br>date: 2012/6/8
<br>amount: 16,666 [*ps2]
<br>note: computer, 2/3
<p>(4)
<br>from: credit card
<br>to: installment payable
<br>date: 2012/7/8
<br>amount: 16,666 [*ps2]
<br>note: computer, 3/3
<p>*ps1: if this account isn't exist, auto create.
<br>*ps2: 50,000/3 = 16,666.66, so amount of period 2 & 3 are 16,666, amount of period is 16,888.
</tr>
</table>
<p><b>2. recurring function (temporary solution)</b>
<br>2.1 add the option to make any detail recurring when viewing it in edit mode.
<br>2.2 process: ex. apartment rental payment 5,000 every month for 2 years by bank account
<table width="100%">
<tr>
<td width="30%">add a detail</td>
<td>from: bank account
<br>to: expense-rent
<br>date: 2012/5/8
<br>amount: 5,000
<br>note: apartment
<br><b><i>repeat option selected
<br>period: 1 month
<br>number of periods: 24</i></b>
</td>
</tr>
<tr>
<td>auto create <i>n</i> details
<br><i>n</i> base on number of periods you input</td>
<td>(1)
<br>from: bank account
<br>to: expense-rent
<br>date: 2012/5/8
<br>amount: 5,000
<br>note: apartment
<p>(2)
<br>from: bank account
<br>to: expense-rent
<br>date: 2012/6/8
<br>amount: 5,000
<br>note: apartment
<p>(3)
<br>from: bank account
<br>to: expense-rent
<br>date: 2012/7/8
<br>amount: 5,000
<br>note: apartment
<br>.
<br>.
<br>.
<p>(24)
<br>from: bank account
<br>to: expense-rent
<br>date: 2014/4/8
<br>amount: 5,000
<br>note: apartment
</tr>
</table>
<hr>
<p><b>1. 分期功能</b>
<br>1.1 新增一選項，當輸入明細時，可將此明細設定為分期付款。
<br>1.2 處理流程：例如，用信用卡買一台 50,000 的電腦。
<table width="100%">
<tr>
<td width="30%">新增一筆明細</td>
<td>從帳戶：信用卡
<br>到帳戶：3C費用
<br>日期：2012/5/8
<br>金額：50,000
<br>備註：電腦
<br><b><i>選擇分期付款
<br>週期：1 月
<br>期數：3</i></b>
</td>
</tr>
<tr>
<td>按下建立後，自動新增 <i>n</i> 筆明細
<br><i>n</i> 是根據你輸入的"期數"而來</td>
<td>(1)
<br>從帳戶：應付分期款 [*ps1]
<br>到帳戶：3C費用
<br>日期：2012/5/8
<br>金額：50,000
<br>備註：電腦
<p>(2)
<br>從帳戶：信用卡
<br>到帳戶：應付分期款
<br>日期：2012/5/8
<br>金額：16,668 [*ps2]
<br>備註：電腦, 1/3
<p>(3)
<br>從帳戶：信用卡
<br>到帳戶：應付分期款
<br>日期：2012/6/8
<br>金額：16,666 [*ps2]
<br>備註：電腦, 2/3
<p>(4)
<br>從帳戶：信用卡
<br>到帳戶：應付分期款
<br>日期：2012/7/8
<br>金額：16,666 [*ps2]
<br>備註：電腦, 3/3
<p>*ps1: 若"應付分期款"帳戶不存在，自動建立。
<br>*ps2: 50,000/3 = 16,666.66，所以第 2、3 期的金額為 16,666，第 1 期的金額為 16,668。
</tr>
</table>
<p><b>2. 重複性帳務處理功能 (暫時的解決方案)</b>
<br>2.1 新增一選項，當輸入明細時，可將此明細設定為重複性帳務。
<br>2.2 處理流程：例如，使用銀行帳戶支付每個月 5,000 的公寓租金，為期兩年。
<table width="100%">
<tr>
<td width="30%">新增一筆明細</td>
<td>從帳戶：銀行帳戶
<br>到帳戶：租金費用
<br>日期：2012/5/8
<br>金額：5,000
<br>備註：公寓
<br><b><i>選擇週期性支出
<br>週期：1 月
<br>期數：24</i></b>
</td>
</tr>
<tr>
<td>按下建立後，自動新增 <i>n</i> 筆明細
<br><i>n</i> 是根據你輸入的"期數"而來</td>
<td>(1)
<br>從帳戶：銀行帳戶
<br>到帳戶：租金費用
<br>日期：2012/5/8
<br>金額：5,000
<br>備註：公寓
<p>(2)
<br>從帳戶：銀行帳戶
<br>到帳戶：租金費用
<br>日期：2012/6/8
<br>金額：5,000
<br>備註：公寓
<p>(3)
<br>從帳戶：銀行帳戶
<br>到帳戶：租金費用
<br>日期：2012/7/8
<br>金額：5,000
<br>備註：公寓
<br>.
<br>.
<br>.
<p>(24)
<br>從帳戶：銀行帳戶
<br>到帳戶：租金費用
<br>日期：2014/4/8
<br>金額：5,000
<br>備註：公寓
</tr>
</table>