take care of most of open new deposit account use case - interest calculation is remaining.

This commit is contained in:
Keith Woodlock
2012-08-14 00:41:26 +01:00
parent 33afb23f12
commit 42a52cc70a
12 changed files with 256 additions and 79 deletions
@@ -18,8 +18,8 @@ CREATE TABLE `portfolio_deposit_account` (
`actual_maturity_date` DATE DEFAULT NULL,
`projected_interest_accrued_on_maturity` decimal(19,6) NOT NULL,
`actual_interest_accrued` decimal(19,6) DEFAULT NULL,
`projected_total_return_on_maturity_amount` decimal(19,6) NOT NULL,
`actual_total_return` decimal(19,6) DEFAULT NULL,
`projected_total_maturity_amount` decimal(19,6) NOT NULL,
`actual_total_amount` decimal(19,6) DEFAULT NULL,
`can_renew` tinyint(1) NOT NULL DEFAULT '0',
`renewed_account_id` bigint(20) DEFAULT NULL,
`can_pre_close` tinyint(1) NOT NULL DEFAULT '0',