Skip to content

A free open source IT asset/license management system

Update LocationsController.php

ajsy38e80283004b
diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php
index 01c16d58cd..c51dfd28b1 100755
--- a/app/Http/Controllers/LocationsController.php
+++ b/app/Http/Controllers/LocationsController.php
@@ -265,7 +265,7 @@ class LocationsController extends Controller
return redirect()->route('locations.index')->with('error', trans('admin/locations/message.does_not_exist', compact('id')));
}
- public function printOnlyAssignedToLocation($id)
+ public function print_assigned($id)
{
$show_location = Location::where('id',$id)->withTrashed()->first();
@@ -276,7 +276,7 @@ class LocationsController extends Controller
}
- public function printAllAssignedToLocation($id)
+ public function print_all_assigned($id)
{
$show_location = Location::where('id',$id)->withTrashed()->first();