Skip to content

Commit

Permalink
fix(CSU-Booking-Platform#498): fixed the booking request table and ad…
Browse files Browse the repository at this point in the history
…ded a 200 day max rather than null
  • Loading branch information
joeyabou committed Mar 12, 2021
1 parent b96a478 commit 4c2c042
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion database/factories/BookingRequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function definition()
return [
'user_id' => User::inRandomOrder()->first()->id ?? User::factory(),
'status' => $this->faker->randomElement(["review", "approved", "refused"]),
//'reference' => [],
'reference' => [],
'onsite_contact' => [
'name' => $this->faker->name,
'phone' => $this->faker->phoneNumber,
Expand Down
20 changes: 10 additions & 10 deletions database/seeders/RoomSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ public function run()
'sale_for_profit' => false,
'fundraiser' => false,
],
'min_days_advance' => NULL,
'max_days_advance' => NULL,
'min_days_advance' => 0,
'max_days_advance' => 200,
'room_type' => 'Conference'
]);

Expand Down Expand Up @@ -162,8 +162,8 @@ public function run()
'sale_for_profit' => false,
'fundraiser' => false,
],
'min_days_advance' => NULL,
'max_days_advance' => NULL,
'min_days_advance' => 0,
'max_days_advance' => 200,
'room_type' => 'Conference'
]);

Expand Down Expand Up @@ -200,8 +200,8 @@ public function run()
'sale_for_profit' => false,
'fundraiser' => false,
],
'min_days_advance' => NULL,
'max_days_advance' => NULL,
'min_days_advance' => 0,
'max_days_advance' => 200,
'room_type' => 'Mezzanine'
]);

Expand Down Expand Up @@ -237,8 +237,8 @@ public function run()
'sale_for_profit' => false,
'fundraiser' => false,
],
'min_days_advance' => NULL,
'max_days_advance' => NULL,
'min_days_advance' => 0,
'max_days_advance' => 200,
'room_type' => 'Mezzanine'
]);

Expand Down Expand Up @@ -274,8 +274,8 @@ public function run()
'sale_for_profit' => true,
'fundraiser' => false,
],
'min_days_advance' => NULL,
'max_days_advance' => NULL,
'min_days_advance' => 0,
'max_days_advance' => 200,
'room_type' => 'Mezzanine'
]);

Expand Down

0 comments on commit 4c2c042

Please sign in to comment.