diff --git a/app/Http/Controllers/TaxesController.php b/app/Http/Controllers/TaxesController.php deleted file mode 100644 index 50727ce7d..000000000 --- a/app/Http/Controllers/TaxesController.php +++ /dev/null @@ -1,82 +0,0 @@ -middleware('auth'); - $this->middleware('role:Admin'); - $this->middleware('permission:admin.finance'); - } - - public function displayTaxSummary() { - $months = 3; - $pi = array(); - $industry = array(); - $reprocessing = array(); - $office = array(); - $corpId = 98287666; - - //Declare the tax helper class - $tHelper = new TaxesHelper(); - - //Get the dates we are working with - $dates = $tHelper->GetTimeFrameInMonths($months); - - foreach($dates as $date) { - - $pis[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetPIGross($date['start'], $date['end']), 2, ".", ","), - ]; - - $industrys[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetIndustryGross($date['start'], $date['end']), 2, ".", ","), - ]; - - $reprocessings[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetReprocessingGross($date['start'], $date['end']), 2, ".", ","), - ]; - - $offices[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetOfficeGross($date['start'], $date['end']), 2, ".", ","), - ]; - - $markets[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetMarketGross($date['start'], $date['end']), 2, ".", ","), - ]; - - $jumpgates[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetJumpGateGross($date['start'], $date['end']), 2, ".", ","), - ]; - - $pigross[] = [ - 'date' => $date['start']->toFormattedDateString(), - 'gross' => number_format($tHelper->GetPiSalesGross($date['start'], $date['end']), 2, ".", ","), - ]; - } - - //Return the view with the compact variable list - return view('/taxes/admin/displaystreams')->with('pis', $pis) - ->with('industrys', $industrys) - ->with('reprocessings', $reprocessings) - ->with('offices', $offices) - ->with('markets', $markets) - ->with('jumpgates', $jumpgates) - ->with('pigross', $pigross); - } -} diff --git a/resources/views/taxes/admin/displaystreams.blade.php b/resources/views/taxes/admin/displaystreams.blade.php deleted file mode 100644 index 77697f1ba..000000000 --- a/resources/views/taxes/admin/displaystreams.blade.php +++ /dev/null @@ -1,186 +0,0 @@ -@extends('layouts.b4') -@section('content') - - -
-
-
-
-
- PI Taxes -
-
- - - - - - - @foreach($pis as $pi) - - - - - @endforeach - -
MonthPI Taxes
{{ $pi['date'] }}{{ $pi['gross'] }}
-
-
-
-
-
-
- Office Taxes -
-
- - - - - - - @foreach($offices as $office) - - - - - @endforeach - -
MonthOffice Taxes
{{ $office['date'] }}{{ $office['gross'] }}
-
-
-
-
-
-
- Industry Taxes -
-
- - - - - - - @foreach($industrys as $industry) - - - - - @endforeach - -
MonthIndustry Taxes
{{ $industry['date'] }}{{ $industry['gross'] }}
-
-
-
-
-
-
-
-
-
-
-
- Reprocessing Taxes -
-
- - - - - - - @foreach($reprocessings as $reprocessing) - - - - - @endforeach - -
MonthReprocessing Taxes
{{ $reprocessing['date'] }}{{ $reprocessing['gross'] }}
-
-
-
-
-
-
- Market Taxes -
-
- - - - - - - @foreach($markets as $market) - - - - - @endforeach - -
MonthMarket Taxes
{{ $market['date'] }}{{ $market['gross'] }}
-
-
-
-
-
-
- Jump Gate Taxes -
-
- - - - - - - @foreach($jumpgates as $jumpgate) - - - - - @endforeach - -
MonthJump Gate Taxes
{{ $jumpgate['date'] }}{{ $jumpgate['gross'] }}
-
-
-
-
-
-
-
-
-
-
-
- PI Transactions -
-
- - - - - - - @foreach($pigross as $pi) - - - - - @endforeach - -
MonthPI Transactions
{{ $pi['date'] }}{{ $pi['gross'] }}
-
-
-
-
- -
-
- -
-
-
-@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index d574455e8..b717e99be 100644 --- a/routes/web.php +++ b/routes/web.php @@ -69,9 +69,6 @@ Route::group(['middleware' => ['auth']], function(){ Route::get('/structures/admin/taxes/reprocessing', 'StructureController@displayReprocessingTaxes'); Route::get('/structures/admin/display', 'StructureController@displayAdminPanel'); - //Taxes Controller display pages - Route::get('/taxes/display', 'TaxesController@displayTaxSummary'); - //Scopes Controller display pages Route::get('/scopes/select', 'EsiScopeController@displayScopes'); Route::post('redirectToProvider', 'EsiScopeController@redirectToProvider');