updated structure controller

This commit is contained in:
2019-02-03 01:25:50 -06:00
parent ec27643307
commit 2adae9171b

View File

@@ -139,14 +139,14 @@ class StructureController extends Controller
} }
public function displayTaxHistory(Request $request) { public function displayTaxHistory(Request $request) {
//Declare new Lookup helper
$helper = new LookupHelper();
//Get the months from the request //Get the months from the request
$months = $request->months; $months = $request->months;
//Make the helper esi class //Get the character's corporation from the lookup table or esi
$helper = new Esi(); $corpId = $helper->LookupCharacter(Auth::user()->character_id);
//Get the character's corporation from esi
$corpId = $helper->FindCorporationId(Auth::user()->character_id);
//Declare the structure tax helper class //Declare the structure tax helper class
$sHelper = new StructureTaxHelper(); $sHelper = new StructureTaxHelper();
@@ -168,8 +168,4 @@ class StructureController extends Controller
return view('structures.taxhistory')->with(compact('totalTaxes', 'months')); return view('structures.taxhistory')->with(compact('totalTaxes', 'months'));
//return view('structures.taxhistory')->with('totalTaxes', $totalTaxes); //return view('structures.taxhistory')->with('totalTaxes', $totalTaxes);
} }
public function displayJumpBridgeFuel() {
}
} }