feat: Hide the customer column from admin users in the orders table.

This commit is contained in:
Yoga Pangestu 2026-02-24 07:27:02 +07:00
parent 7035c3888d
commit e28b5fee69

View File

@ -32,7 +32,8 @@ public function columns(): array
$query->where('full_name', 'like', "%{$searchTerm}%");
});
});
}),
})
->hideIf(auth()->user()->hasRole('Admin')),
Column::make('Nomor Invoice')
->label(function ($row) {