From 71071d61ce70d1046cccbd3342999d936d46c5f9 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 21 Mar 2021 01:06:14 +0900 Subject: [PATCH] ledger stuff for users --- .../Controllers/MiningTaxes/MiningTaxesController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/MiningTaxes/MiningTaxesController.php b/app/Http/Controllers/MiningTaxes/MiningTaxesController.php index 69d2de14e..e8e0c9311 100644 --- a/app/Http/Controllers/MiningTaxes/MiningTaxesController.php +++ b/app/Http/Controllers/MiningTaxes/MiningTaxesController.php @@ -232,13 +232,13 @@ class MiningTaxesController extends Controller //Get the character data from the lookup table if possible or esi $character = $lookup->GetCharacterInfo($config['primary']); - + + //Get the corporation information from the character id + $corpInfo = $lookup->GetCorporationInfo(auth()->user()->getId()); + dd($corpInfo); //Get the observers from the database $observers = Observer::all(); - dd(auth()->user()->getId()); - $corpInfo = $lookup->GetCorporationInfo(auth()->user()->getId()); - //Get the ledgers for each structure one at a time foreach($observers as $obs) { //Get the structure information