This commit is contained in:
2019-12-09 22:24:51 -06:00
parent ce75c5ee47
commit 8c4851b831
+16
View File
@@ -11,6 +11,7 @@
$corpAssets = false;
$universeStructures = false;
$corpContracts = false;
$corpMining = false;
?>
<div class="container">
<h2>Select Scopes for ESI</h2>
@@ -112,6 +113,15 @@
<?php $corpContracts = true; ?>
@endif
@endforeach
@foreach($scopes as $scope)
@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') }}
</div>
<?php $corpMining = true; ?>
@endif
@endforeach
@if($publicData == false)
<div class="form-group col-md-6">
@@ -173,6 +183,12 @@
{{ Form::checkbox('scopes[]', 'esi-contracts.read_corporation_contracts.v1') }}
</div>
@endif
@if($corpMining == false)
<div class="form-group col-md-6">
{{ Form::label('scopes[]', 'Corporation Mining') }}
{{ Form::checkbox('scopes[]', 'esi-industry.read_corporation_mining.v1') }}
</div>
@endif
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}