There are only 4 fields I need configured, this is an already working script that just needs tweaking. The most I will pay for this one is $30. Here are the 4 fields:
Sub-Total (The Sum of Equipment, Freight, Delivery, Warranty, and Installation fields)
Taxes (Multiple Sub-Total by 0.07)
Total (Sum of Sub-Total and Taxes)
Balance (Total minus Down Payment, using sub and making the function subtract instead of adding)
I am using a jquery script that does calculations. The script is done and working all I need is someone who can configure it to do a few things. Right now the page I am using it on is a table, its an invoice, with line items where you would input the description, the model number, the quantity, the price, the total of each line and then it totals all the lines, displays the sub-total, calculates the tax percentage, and gives a invoice total, then it has a space for deposit or payment received and finally, the balance. I attached a screen shot of the page so you can see what I mean. As it is it totals each line item (you just put in the item amount and the quantity on each line and it figures out the total i.e. (amount x quantity) It then calculates the total of all the line totals. That works fine, it is perfect. What I need it to do is use the same function (adding and multiplying) it already used, on the sub-total, tax, total, payment made, and balance lines. The way the function works is the properties (input name and/or input id) are labeled to indicate what they are used for in the calculation. Since I already have used the addition call for the top sections, I can't do the addition call again on the bottom because the id/name for the total area is labeled so it displays the 'total', for it to calculate the 'total' field as a value in another 'total' equation it won't work, I need someone familiar with jquery who knows how to copy the function and make a new function name that will take the total area and allow it to be used as part of another equation. The script has the features for multiplication, sum, and average. I am only using the sum and multiplication features. The tax is easy, you just multiply the sub-total by 0.07, and the result is the tax (7%)
This is something easy so I will not pay more than $30 for this task. I am not familiar with jquery as I ma with say, php, but I know in php you can just copy a function, give it a new name, and call that new function name for another task and it works fine, same thing is true of jquery but I am not having good luck modifying it myself so I will leave it to a jquery pro.
A link to where you can see the function in action is here:
[url removed, login to view]
A screenshot of my implementation is attached. All I need the script to be configured to do is calculate the 4 fields listed above.