mining ledger troubleshooting

This commit is contained in:
2019-12-09 23:46:23 -06:00
parent 0204f19541
commit 3ca9dcbb88
2 changed files with 3 additions and 1 deletions

View File

@@ -90,6 +90,8 @@ class MoonLedgerController extends Controller
$lookup = new NewLookupHelper;
$mining = array();
dd($request);
//Check for the esi scope
if(!$esiHelper->HaveEsiScope(auth()->user()->getId(), 'esi-industry.read_corporation_mining.v1')) {
//If the scope check fails, return with a redirect and error message

View File

@@ -9,7 +9,7 @@
{!! Form::open(['action' => 'Moons\MoonLedgerController@displayLedger', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('structure', 'Structure') }}
{{ Form::select('structure', $structures, ['class' => 'form-control']) }}
{{ Form::select('structure', $structures, null, ['placeholder' => 'Select Structure']) }}
</div>
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}