structure controller

This commit is contained in:
2018-12-11 21:11:47 -06:00
parent f51e94c538
commit 6a92daa8d0

View File

@@ -70,7 +70,7 @@ class StructureController extends Controller
//Get the total taxes produced by the structure(s) over a given set of dates //Get the total taxes produced by the structure(s) over a given set of dates
$revenue = $this->GetRevenue($corpId, $refType, $start, $end); $revenue = $this->GetRevenue($corpId, $refType, $start, $end);
$revenue = $revenue - $fuelCost; $revenue = $revenue - ($fuelCost * $count);
//Calculate the tax owed which is revenue divided by ratio previously calculated //Calculate the tax owed which is revenue divided by ratio previously calculated
$taxOwed = $revenue / $ratio; $taxOwed = $revenue / $ratio;