3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 13:15:33 +00:00
Files
snipe-it/app/Livewire/LocationScopeCheck.php
2025-05-05 13:55:28 +01:00

29 lines
563 B
PHP

<?php
namespace App\Livewire;
use App\Helpers\Helper;
use App\Models\Setting;
use Livewire\Component;
class LocationScopeCheck extends Component
{
public $mismatched = [];
public $setting;
public function check_locations()
{
$this->mismatched = Helper::test_locations_fmcs(false);
}
public function mount() {
$this->setting = Setting::getSettings();
$this->mismatched = Helper::test_locations_fmcs(false);
}
public function render()
{
return view('livewire.location-scope-check');
}
}