structure controller

This commit is contained in:
2018-12-11 21:06:22 -06:00
parent 7c4a9c1485
commit df00a05788

View File

@@ -69,9 +69,8 @@ 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);
var_dump($revenue);
dd($revenue);
$revenue = floatval($revenue) - floatval($fuelCost);
$revenue = ($revenue* 1.00) - ($fuelCost * 1.00);
//Calculate the tax owed which is revenue divided by ratio previously calculated
$taxOwed = $revenue / $ratio;