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
@@ -127,6 +127,7 @@ export const useEventTypeForm = ({
|
||||
},
|
||||
isRRWeightsEnabled: eventType.isRRWeightsEnabled,
|
||||
maxLeadThreshold: eventType.maxLeadThreshold,
|
||||
includeNoShowInRRCalculation: eventType.includeNoShowInRRCalculation,
|
||||
useEventLevelSelectedCalendars: eventType.useEventLevelSelectedCalendars,
|
||||
customReplyToEmail: eventType.customReplyToEmail || null,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user