choose corp tax history for admins

This commit is contained in:
2018-12-14 17:55:44 -06:00
parent ba6ffce8e8
commit b6c4480f31
@@ -36,9 +36,10 @@ class StructureTaxHelper {
$revenue = $this->GetRevenue($corpId, $refType, $start, $end);
$totalFuelCost = $fuelCost * $count;
dd($totalFuelCost);
$revenue = $revenue - ($fuelCost * $count);
var_dump($revenue);
var_dump($totalFuelCost);
die();
$revenue = $revenue - $totalFuelCost;
//Check to see if the revenue is greater than zero to avoid division by zero error.
//Then calculate the tax owed which is revenue divided by ratio previously calcualted.
if($revenue > 0.00) {