From df00a057882cd9136085b4cf4a4e87ee2960a5da Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Tue, 11 Dec 2018 21:06:22 -0600 Subject: [PATCH] structure controller --- app/Http/Controllers/StructureController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/StructureController.php b/app/Http/Controllers/StructureController.php index ca0ba87c8..744f1d79c 100644 --- a/app/Http/Controllers/StructureController.php +++ b/app/Http/Controllers/StructureController.php @@ -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;