app/Http/Controllers/Customers/CustomerSystemsController.php 1 location
|
@@ 25-31 (lines=7) @@
|
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
// Get the possible system types that can be assigned to the customer |
| 25 |
|
public function index() |
| 26 |
|
{ |
| 27 |
|
Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name); |
| 28 |
|
$sysList = new CategoriesCollection(SystemCategories::with('SystemTypes')->with('SystemTypes.SystemDataFields.SystemDataFieldTypes')->get()); |
| 29 |
|
|
| 30 |
|
return $sysList; |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
// Store a new system for the customer |
| 34 |
|
public function store(Request $request) |
app/Http/Controllers/FileLinks/FileLinksController.php 1 location
|
@@ 264-272 (lines=9) @@
|
| 261 |
|
} |
| 262 |
|
|
| 263 |
|
// Retrieve the instructions attached to a link |
| 264 |
|
public function getInstructions($linkID) |
| 265 |
|
{ |
| 266 |
|
Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name); |
| 267 |
|
|
| 268 |
|
$linkData = FileLinks::select('note')->where('link_id', $linkID)->first(); |
| 269 |
|
Log::debug('Link Instructions Gathered - ', array($linkData)); |
| 270 |
|
|
| 271 |
|
return $linkData; |
| 272 |
|
} |
| 273 |
|
|
| 274 |
|
// Update the instructions attached to the link |
| 275 |
|
public function submitInstructions(Request $request, $linkID) |
app/Http/Controllers/Installer/CategoriesController.php 1 location
|
@@ 25-33 (lines=9) @@
|
| 22 |
|
|
| 23 |
|
} |
| 24 |
|
// View the list of categories |
| 25 |
|
public function index() |
| 26 |
|
{ |
| 27 |
|
$categories = SystemCategories::all(); |
| 28 |
|
|
| 29 |
|
Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name); |
| 30 |
|
return view('installer.categoryList', [ |
| 31 |
|
'cats' => $categories |
| 32 |
|
]); |
| 33 |
|
} |
| 34 |
|
|
| 35 |
|
// Store the new category form |
| 36 |
|
public function store(Request $request) |