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