diff --git a/app/Library/Structures/StructureTaxHelper.php b/app/Library/Structures/StructureTaxHelper.php index 61436519d..8c70f7644 100644 --- a/app/Library/Structures/StructureTaxHelper.php +++ b/app/Library/Structures/StructureTaxHelper.php @@ -31,12 +31,12 @@ class StructureTaxHelper { //Calculate the tax ratio to later be divided against the tax to find the //actual tax owed to the alliance. Revenue will be a separate function $ratio = $this->CalculateTaxRatio($tax, $refType, $start, $end); - dd($ratio); + //Get the total taxes produced by the structure(s) over a given set of dates $revenue = $this->GetRevenue($corpId, $refType, $start, $end); $revenue = $revenue - ($fuelCost * $count); - + dd($revenue); //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.