From e0be31dd60f9e6b4c06f97217fa86c07440c92ce Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 14 Dec 2018 18:12:25 -0600 Subject: [PATCH] choose corp tax history for admins --- app/Library/Structures/StructureTaxHelper.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Library/Structures/StructureTaxHelper.php b/app/Library/Structures/StructureTaxHelper.php index 7bfa4d92d..333c4c8db 100644 --- a/app/Library/Structures/StructureTaxHelper.php +++ b/app/Library/Structures/StructureTaxHelper.php @@ -37,10 +37,14 @@ class StructureTaxHelper { $totalFuelCost = $fuelCost * $count; var_dump($revenue); - + printf("
"); $totalRevenue = $revenue - $totalFuelCost; var_dump($totalRevenue); + printf("
"); var_dump($totalFuelCost); + printf("
"); + var_dump($ratio); + printf("
"); //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) {