Need help with Invoice Starter Solution Product Calculations
I have modified the invoice starter solution to work with my fitness center. Invoices are like workouts, and exercises are like products. I'm trying to do some calculations on exercises (products) per individual customers. I can't wrap my head around it.
If we use the starter solution we can imagine it as if I were trying to figure out how many times a customer has ordered a product. Once I figure out how to get this going I can figure out all the other calculations I'm hoping to do.
Please help, I've included the DB relationship map.