ranjith-dev #596

Merged
jothi merged 10 commits from ranjith-dev into master 2026-05-14 07:29:48 +00:00
Showing only changes of commit 3215cd39ad - Show all commits

View File

@@ -630,7 +630,7 @@ class TestingPanelReadingResource extends Resource
->options(function () {
// return Plant::pluck('name', 'id');
$userHas = Filament::auth()->user()->plant_id;
if ($userHas && strlen($userHas) > 0) {
return Plant::where('id', $userHas)->pluck('name', 'id')->toArray();
} else {