mining tax testing

This commit is contained in:
2021-03-07 22:14:42 +09:00
parent a1c6c4fd25
commit 0c59a6527e

View File

@@ -226,14 +226,9 @@ class MiningTaxesController extends Controller
$ledgers = array();
$esiHelper = new Esi;
$lookup = new LookupHelper;
$config = config();
$config = config('esi');
$sHelper = new StructureHelper($config['primary'], $config['corporation']);
dd($config);
$check = EsiScope::where(['character_id' => $config['primary']])->get()->toArray();
dd($check);
//Check for the esi scope
if(!$esiHelper->HaveEsiScope($config['primary'], 'esi-industry.read_corporation_mining.v1')) {
return redirect('/dashboard')->with('error', 'Tell the nub Minerva to register the ESI for the holding corp for corp mining.');