mining tax testing
This commit is contained in:
@@ -226,14 +226,9 @@ class MiningTaxesController extends Controller
|
|||||||
$ledgers = array();
|
$ledgers = array();
|
||||||
$esiHelper = new Esi;
|
$esiHelper = new Esi;
|
||||||
$lookup = new LookupHelper;
|
$lookup = new LookupHelper;
|
||||||
$config = config();
|
$config = config('esi');
|
||||||
$sHelper = new StructureHelper($config['primary'], $config['corporation']);
|
$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
|
//Check for the esi scope
|
||||||
if(!$esiHelper->HaveEsiScope($config['primary'], 'esi-industry.read_corporation_mining.v1')) {
|
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.');
|
return redirect('/dashboard')->with('error', 'Tell the nub Minerva to register the ESI for the holding corp for corp mining.');
|
||||||
|
|||||||
Reference in New Issue
Block a user