industry taxes testing
This commit is contained in:
@@ -71,14 +71,13 @@ class StructureController extends Controller
|
||||
$temp = $esi->invoke('get', '/universe/structures/{structure_id}/', [
|
||||
'structure_id' => $structures[$j]->context_id,
|
||||
]);
|
||||
var_dump($temp);
|
||||
$name[$i] = $temp->name;
|
||||
|
||||
} catch(RequestFailedException $e) {
|
||||
$name[$i] = ' ';
|
||||
}
|
||||
}
|
||||
|
||||
dd($name);
|
||||
$name[$i] = $temp->name;
|
||||
}
|
||||
|
||||
//Cycle through all of the structures and get the revenue
|
||||
for($j = 0; $j < sizeof($structures); $j++) {
|
||||
@@ -91,8 +90,6 @@ class StructureController extends Controller
|
||||
}
|
||||
$totalTaxes = array_push($totalTaxes, $tempTaxes);
|
||||
}
|
||||
|
||||
dd($totalTaxes);
|
||||
|
||||
return view('structures.taxhistory')->with('totalTaxes', $totalTaxes)
|
||||
->with('months', $months);
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
$readStructures = false;
|
||||
$structureMarkets = false;
|
||||
$corpAssets = false;
|
||||
$universeStructures = false;
|
||||
?>
|
||||
<div class="container">
|
||||
<h2>Select Scopes for ESI</h2>
|
||||
@@ -113,6 +114,14 @@
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@foreach($scopes as $scope)
|
||||
@if($scope->scope == 'esi-universe.read_structures.v1')
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('scopes[]', 'Corporation Assets') }}
|
||||
{{ Form::checkbox('scopes[]', 'esi-universe.read_structures.v1', 'true') }}
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@if($publicData == false)
|
||||
<div class="form-group col-md-6">
|
||||
@@ -174,6 +183,12 @@
|
||||
{{ Form::checkbox('scopes[]', 'esi-assets.read_corporation_assets.v1') }}
|
||||
</div>
|
||||
@endif
|
||||
@if($universeStructures == false)
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('scopes[]', 'Universe Structures') }}
|
||||
{{ Form::checkbox('scopes[]', 'esi-universe.read_structures.v1') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
|
||||
{!! Form::close() !!}
|
||||
|
||||
Reference in New Issue
Block a user