kakitangan harian

This commit is contained in:
Afiq
2021-01-11 08:31:00 +08:00
parent 6cbeee9f86
commit 00842e0a67
10 changed files with 108 additions and 60 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class Teller
*/
public function handle($request, Closure $next)
{
if(Auth::check() && Auth::user()->roles == 'teller'){
if(Auth::check() && Auth::user()->role_harian == 'teller'){
return $next($request);
}