Here is a example of Quantity, Costs, Total

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
mwilliam
Veteran Member
Posts: 32
Joined: 2018-03-31 09:03
Location: London, Kentucky

Here is a example of Quantity, Costs, Total

Post by mwilliam » 2018-04-03 12:00

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.
Attachments
total.zip
(2.44 KiB) Downloaded 156 times

Moh Youba
Veteran Member
Posts: 228
Joined: 2017-03-12 09:31

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

Post by Moh Youba » 2018-04-04 10:26

Hello

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

Best regards,

mwilliam
Veteran Member
Posts: 32
Joined: 2018-03-31 09:03
Location: London, Kentucky

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

Post by mwilliam » 2018-04-04 12:08

Always, Hate that people hoard the code. If everyone would help each other.

Post Reply