From 8c4851b831d527c5da60b5d57ef747f260407f28 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 9 Dec 2019 22:24:51 -0600 Subject: [PATCH] scopes --- resources/views/scopes/select.blade.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/resources/views/scopes/select.blade.php b/resources/views/scopes/select.blade.php index 20dfcdb7d..a68e6c4af 100644 --- a/resources/views/scopes/select.blade.php +++ b/resources/views/scopes/select.blade.php @@ -11,6 +11,7 @@ $corpAssets = false; $universeStructures = false; $corpContracts = false; + $corpMining = false; ?>

Select Scopes for ESI

@@ -112,6 +113,15 @@ @endif @endforeach + @foreach($scopes as $scope) + @if($scope->scope == 'esi-industry.read_corporation_mining.v1') +
+ {{ Form::label('scopes[]', 'Corporate Mining') }} + {{ Form::checkbox('scopes[]', 'esi-industry.read_corporation_mining.v1') }} +
+ + @endif + @endforeach @if($publicData == false)
@@ -173,6 +183,12 @@ {{ Form::checkbox('scopes[]', 'esi-contracts.read_corporation_contracts.v1') }}
@endif + @if($corpMining == false) +
+ {{ Form::label('scopes[]', 'Corporation Mining') }} + {{ Form::checkbox('scopes[]', 'esi-industry.read_corporation_mining.v1') }} +
+ @endif {{ Form::submit('Submit', ['class' => 'btn btn-primary']) }} {!! Form::close() !!}