esi scope for scope controller

This commit is contained in:
2020-03-04 21:22:58 -06:00
parent bc3a3e2f03
commit 91d46fe0a7
2 changed files with 2 additions and 4 deletions

View File

@@ -25,8 +25,6 @@ class EsiScopeController extends Controller
'character_id' => Auth::user()->character_id,
])->get();
dd($scopes);
return view('scopes.select')->with('scopes', $scopes);
}

View File

@@ -108,7 +108,7 @@
@if($scope->scope == 'esi-contracts.read_corporation_contracts.v1')
<div class="form-group col-md-6">
{{ Form::label('scopes[]', 'Corporate Contracts') }}
{{ Form::checkbox('scopes[]', 'esi-contracts.read_corporation_contracts.v1') }}
{{ Form::checkbox('scopes[]', 'esi-contracts.read_corporation_contracts.v1', 'true') }}
</div>
<?php $corpContracts = true; ?>
@endif
@@ -117,7 +117,7 @@
@if($scope->scope == 'esi-industry.read_corporation_mining.v1')
<div class="form-group col-md-6">
{{ Form::label('scopes[]', 'Corporate Mining') }}
{{ Form::checkbox('scopes[]', 'esi-industry.read_corporation_mining.v1') }}
{{ Form::checkbox('scopes[]', 'esi-industry.read_corporation_mining.v1', 'true') }}
</div>
<?php $corpMining = true; ?>
@endif