Code Monkey home page Code Monkey logo

loanrepaymentapi's People

Contributors

benscobie avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

loanrepaymentapi's Issues

Take into account salary sacrifice

Student loan repayments are calculated on National Insurance-able pay, if your workplace pension comes out via salary sacrifice this will lower the amount paid. We should add something to the calculator to support this scenario.

Handle annual increases to thresholds, salary etc.

The repayment thresholds generally increase by the average annual earnings every year.
It's currently possible to handle salary increases at certain points, but it would be better to also include an average increase every year.

Support for salary changes

Add the ability to specify yearly salary increases/decreases, either fixed or percentage. Use this in any calculations.
Salary changes can also affect the type 2 interest rate so should handle this at some point too.

First payment date should be calculated

For example, the person might not have started paying the loan back yet as they're under the threshold. With salary increases they may hit the threshold which should set the first payment date. We shouldn't require the user to do this calculation.

I think we can just ask the user the course start and end dates and do this calculation for them.

Validate birth date

Currently you can set your birthday to a future date and get whacky results when you use a plan 1 loan:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.