mining tax testing

This commit is contained in:
2021-03-07 22:08:46 +09:00
parent 23111d727a
commit aa25ce4be3

View File

@@ -229,6 +229,8 @@ class MiningTaxesController extends Controller
$config = config();
$sHelper = new StructureHelper($config['primary'], $config['corporation']);
dd($esiHelper->HaveEsiScope($config['primary'], 'esi-industry.read_corporation_mining.v1'));
//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.');