Perbaikan modul data karyawan dan staff + modul SOP import

This commit is contained in:
Iwit
2026-06-04 08:36:18 +07:00
parent 5811409e2d
commit 91c0a8147f
26 changed files with 1167 additions and 399 deletions
+4 -3
View File
@@ -25,11 +25,12 @@ class UserFactory extends Factory
public function definition(): array
{
return [
'name' => fake()->name(),
'first_name' => fake()->firstName(),
'last_name' => fake()->lastName(),
'email' => fake()->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => static::$password ??= Hash::make('password'),
'remember_token' => Str::random(10),
'password' => static::$password ??= \Illuminate\Support\Facades\Hash::make('password'),
'remember_token' => \Illuminate\Support\Str::random(10),
];
}