Menambahkan Seeder pada Module LPJ part 1

This commit is contained in:
2024-12-06 17:38:58 +07:00
committed by Daeng Deni Mardaeni
parent a52c4a1bbd
commit d799fdd658
14 changed files with 82 additions and 738 deletions

View File

@@ -15,35 +15,35 @@ class HolidayCalendarSeeder extends Seeder
$holiday = [
[
'date' => '2024-12-25',
'name' => 'Hari Raya Natal',
'description' => 'Hari Raya Natal',
'type' => 'national_holiday',
'created_at' => now(),
'updated_at' => now()
],
[
'date' => '2024-12-26',
'name' => 'Cuti Bersama Hari Raya Natal',
'description' => 'Cuti Bersama Hari Raya Natal',
'type' => 'collective_leave',
'created_at' => now(),
'updated_at' => now()
],
[
'date' => '2025-01-01',
'name' => 'Tahun Baru Masehi',
'description' => 'Tahun Baru Masehi',
'type' => 'national_holiday',
'created_at' => now(),
'updated_at' => now()
],
[
'date' => '2025-01-27',
'name' => 'Isra Mi\'raj',
'description' => 'Isra Mi\'raj',
'type' => 'national_holiday',
'created_at' => now(),
'updated_at' => now()
],
[
'date' => '2025-01-28',
'name' => 'Cuti Bersama Tahun Baru Imlek',
'description' => 'Cuti Bersama Tahun Baru Imlek',
'type' => 'collective_leave',
'created_at' => now(),
'updated_at' => now()