re-ordered all of the view directories

setup corp tax ratio for structure tax helper
modified all view functions for new directory layout
This commit is contained in:
2019-02-13 21:07:21 -06:00
parent a2045377f1
commit d52a339637
37 changed files with 132 additions and 333 deletions

View File

@@ -53,7 +53,7 @@ class StructureController extends Controller
}
//Return the view with the data passed to it
return view('structures.reprocessingtaxes')->with('taxes', $taxes);
return view('structures.user.reprocessingtaxes')->with('taxes', $taxes);
}
public function displayIndustryTaxes() {
@@ -78,12 +78,14 @@ class StructureController extends Controller
];
}
return view('structures.industrytaxes')->with('taxes', $taxes);
return view('structures.user.industrytaxes')->with('taxes', $taxes);
}
public function chooseCorpTaxes() {
$this->middleware('role:Admin');
$corps = CorpStructure::pluck('corporation_name', 'corporation_id');
return view('structures.choosecorporation')->with('corps', $corps);
return view('structures.admin.choosecorporation')->with('corps', $corps);
}
public function displayCorpTaxes(Request $request) {
@@ -107,7 +109,7 @@ class StructureController extends Controller
}
//Return the view with the data passed to it
return view('structures.choosecorptaxes')->with('totalTaxes', $totalTaxes);
return view('structures.admin.choosecorptaxes')->with('totalTaxes', $totalTaxes);
}
public function displayTaxes() {
@@ -135,7 +137,7 @@ class StructureController extends Controller
];
}
return view('structures.taxes')->with('totalTaxes', $totalTaxes);
return view('structures.user.taxes')->with('totalTaxes', $totalTaxes);
}
public function displayTaxHistory(Request $request) {
@@ -165,6 +167,6 @@ class StructureController extends Controller
];
}
return view('structures.taxhistory')->with(compact('totalTaxes', 'months'));
return view('structures.user.taxhistory')->with(compact('totalTaxes', 'months'));
}
}