Skip to content

A free open source IT asset/license management system

Invoke the artisan command

snipe9f28dae01bb6
diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php
index a6de4466dd..dd0b72188c 100644
--- a/app/Http/Controllers/SettingsController.php
+++ b/app/Http/Controllers/SettingsController.php
@@ -290,8 +290,8 @@ class SettingsController extends Controller
public function getSettings() : View
{
$setting = Setting::getSettings();
-
- return view('settings/general', compact('setting'));
+ $total_locations = count(Helper::test_locations_fmcs(false));
+ return view('settings/general', compact('setting'))->with('total_locations', $total_locations);
}
/**