structure controller

This commit is contained in:
2018-12-11 21:01:43 -06:00
parent 6f2123bb75
commit aaf3cad128

View File

@@ -69,9 +69,9 @@ class StructureController extends Controller
//Get the total taxes produced by the structure(s) over a given set of dates
$revenue = $this->GetRevenue($corpId, $refType, $start, $end);
$revenue = floatval($revenue) - floatval($fuelCost);
dd($revenue);
$revenue = floatval($revenue) - floatval($fuelCost);
//Calculate the tax owed which is revenue divided by ratio previously calculated
$taxOwed = $revenue / $ratio;
//Check for negative number, and if negative, zero it out.