| @@ -47,8 +47,9 @@ | ||
| 47 | 47 | add_action('fluent_booking/after_booking_scheduled', [$this, 'maybeHandleGlobalIntegration'], 10, 2); |
| 48 | 48 | add_action('fluent_booking/booking_schedule_cancelled', [$this, 'maybeHandleGlobalIntegration'], 10, 2); |
| 49 | 49 | add_action('fluent_booking/booking_schedule_completed', [$this, 'maybeHandleGlobalIntegration'], 10, 2); |
| 50 | 50 | add_action('fluent_booking/booking_schedule_rejected', [$this, 'maybeHandleGlobalIntegration'], 10, 2); |
| 51 | + add_action('fluent_booking/booking_schedule_no_show', [$this, 'maybeHandleGlobalIntegration'], 10, 2); | |
| 51 | 52 | add_action('fluent_booking/after_booking_rescheduled', [$this, 'checkGlobalIntegration'], 10, 3); |
| 52 | 53 | } |
| 53 | 54 | |
| 54 | 55 | public function maybeHandleGlobalIntegration($booking, $calendarSlot, $status = null) |
| @@ -59,9 +60,10 @@ | ||
| 59 | 60 | 'scheduled' => 'after_booking_scheduled', |
| 60 | 61 | 'cancelled' => 'booking_schedule_cancelled', |
| 61 | 62 | 'completed' => 'booking_schedule_completed', |
| 62 | 63 | 'rescheduled' => 'after_booking_rescheduled', |
| 63 | - 'rejected' => 'booking_schedule_rejected' | |
| 64 | + 'rejected' => 'booking_schedule_rejected', | |
| 65 | + 'no_show' => 'booking_schedule_no_show', | |
| 64 | 66 | ]; |
| 65 | 67 | |
| 66 | 68 | if (!isset($maps[$status])) { |
| 67 | 69 | return false; |