feat: Add option to include no shows in RR calculations (#21063)
* Show distribution option for RR scheduling type * Add `includeNoShowInRRCalculation` to event type schema * Add `includeNoShowInRRCalculation` initial event type data * Add FE option for `includeNoShowInRRCalculation` * Consider `includeNoShowInRRCalculation` when building `where` clause when getting bookings for RR * Add `includeNoShowInRRCalculation` param to `getAllBookingsForRoundRobin` * Add `includeNoShow...` param to `GetLuckyUserParams` * Pass `includeNoShow...` param to `getBookingsOfInterval` calls * Add FE option for `includeNoShow...` (actual commit) * Type fixes * Fix brackets * Add booking repository test * Remove unused method * Add translation * Type fix * Type fix * Test passing * Fix tests * Fix tests * Fix test * Type fixes
This commit is contained in:
1 parent
93bad282d7
commit
b1cbeebe48
16 files changed
+304
-83
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "EventType" ADD COLUMN "includeNoShowInRRCalculation" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -169,6 +169,7 @@ model EventType {
|
||||
isRRWeightsEnabled Boolean @default(false)
|
||||
fieldTranslations EventTypeTranslation[]
|
||||
maxLeadThreshold Int?
|
||||
includeNoShowInRRCalculation Boolean @default(false)
|
||||
selectedCalendars SelectedCalendar[]
|
||||
allowReschedulingPastBookings Boolean @default(false)
|
||||
hideOrganizerEmail Boolean @default(false)
|
||||
|
||||
Reference in new issue
Block a user