Winson (28) [Avatar] Offline
#1
The success code of "Open" method should be:
Success(Account(no,name,Some(openingDate.getOrElse(today)))

The if-clause of "Close" method should be:
if (cd before account.dateOfOpen.get)


Debasish Ghosh (111) [Avatar] Offline
#2
Thanks for reporting .. will correct in the next MEAP ..