OS Property support center

How calculators work ?

More
3 years 8 months ago #142842 by Jacek
How calculators work ? was created by Jacek
There are 2 calculators modules: loan calculator and mortgage calculator but I haven't find any settings ( especially percentage, terms etc. )

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #142845 by Mr. Dam
Replied by Mr. Dam on topic How calculators work ?
Hi Jacek,
Those modules don't have any setting because at fronend, customers will enter specific numbers and the results will be returned automatically.
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #142851 by Jacek
Replied by Jacek on topic How calculators work ?
Mortgage calculator
user enters monthly income 3000 USD
aproximately borowing capacity is : 144000 USD, why 144000 not 200000 ? This should depend from for example currency or other parameters.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #142913 by Mr. Dam
Replied by Mr. Dam on topic How calculators work ?
The formal of Mortgage calculator is defined in
root -> modules -> mod_ospropertymortgage -> tmpl -> default.php
through this line:
Code:
income = Math.floor(f.income.value) *12*4;
You can modify it if you want.
Thank
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan