DONE: layout letter with letterhead and footer, notification for newly...

This commit is contained in:
ISMAIL MASSERAN
2026-06-28 02:16:49 +00:00
parent 94ecbe5887
commit 034ecf947f
400 changed files with 29802 additions and 5446 deletions
+11 -3
View File
@@ -30,7 +30,7 @@ class UserPolicy
*/
public function create($user): bool
{
return $user->hasPermissionTo('tambah pengguna');
return $user->hasPermissionTo('daftar pengguna baru');
}
/**
@@ -46,7 +46,7 @@ class UserPolicy
*/
public function deleteAny($user): bool
{
return $user->hasPermissionTo('hapus pengguna');
return $user->hasPermissionTo('padam akaun pengguna');
}
/**
@@ -54,6 +54,14 @@ class UserPolicy
*/
public function delete($user, ?User $userModel = null): bool
{
return $user->hasPermissionTo('hapus pengguna');
return $user->hasPermissionTo('padam akaun pengguna');
}
/**
* Determine whether the user can restore a soft-deleted model.
*/
public function restore($user, ?User $userModel = null): bool
{
return $user->hasPermissionTo('padam akaun pengguna');
}
}