DaveBruwer / super-barnacle

0 stars 0 forks source link

Create a generic loan class #10

Closed DaveBruwer closed 9 months ago

DaveBruwer commented 10 months ago

Create a generic loan class that can have its own properties, such as loan amount, currency, interest rate, etc. Loan class can also have its own methods that calculate the loan principal and other things.

This loan class can then be extended to create second order loans like Home loans.

DaveBruwer commented 9 months ago

StartingMonth returns one month earlier for some reason.

DaveBruwer commented 9 months ago

Decided to put all calcs / functions in a seperate .js file and just use a new vue component for each loan. Fixed the starting month bug.