Page 1 of 1

Here is a example of Quantity, Costs, Total

Posted: 2018-04-03 12:00
by mwilliam
Since I couldn't get a soul to help me. I figured it out on my own. Here is what I have come up with and it works. I have enclosed the actual AppGini file and the hooks page. You will see in the calculate.php that goes in the hooks folder. Scroll down to line 75 notice there is TOTAL QUANTITY COSTS

If your fields are different, change them to your field names.

When data is entered and saved, it will total the QUANTITY COSTS and give you a TOTAL

Files attached inside zip file is: calculate.php (goes in hooks folder) and total.axp

Really hope this helps someone in a more simpler way.

Re: Here is a example of Quantity, Costs, Total

Posted: 2018-04-04 10:26
by Moh Youba
Hello

Thank you for sharing. Sure this will help a lot.

Best regards,

Re: Here is a example of Quantity, Costs, Total

Posted: 2018-04-04 12:08
by mwilliam
Always, Hate that people hoard the code. If everyone would help each other.