Caleb Ignatius

Results 1 issues of Caleb Ignatius

Hi, i think the `profit` data is imprecise. `foreach ($sales as $sale) { foreach ($sale->saleDetails as $saleDetail) { $product_costs += $saleDetail->product->product_cost; } }` this means if you get have the...