From de51c1bbd74cb8e0ad61e518983914004ac7288d Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 8 Dec 2018 00:25:11 -0600 Subject: [PATCH] structure controller --- app/Http/Controllers/StructureController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/StructureController.php b/app/Http/Controllers/StructureController.php index 0ddf8fe74..82f81e5bc 100644 --- a/app/Http/Controllers/StructureController.php +++ b/app/Http/Controllers/StructureController.php @@ -72,7 +72,7 @@ class StructureController extends Controller /** * Calculate the final taxes and send to display */ - $taxes = DB::table('CorpStructures')->where(['corporation_id' => $corporation, 'structure_type' => 'Citadel']) + $taxes = DB::table('CorpStructures')->where(['corporation_id' => $corporation]) ->avg('tax'); //$taxes = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Citadel'])->get(['tax']); //$rTaxes = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Refinery'])->get(['tax']);