| @@ -24,9 +24,16 @@ | ||
| 24 | 24 | * Store staff object |
| 25 | 25 | * |
| 26 | 26 | * @var Object |
| 27 | 27 | */ |
| 28 | - public $staff; | |
| 28 | + public $staff; | |
| 29 | + | |
| 30 | + /** | |
| 31 | + * Store event object | |
| 32 | + * | |
| 33 | + * @var Object | |
| 34 | + */ | |
| 35 | + public $event; | |
| 29 | 36 | |
| 30 | 37 | /** |
| 31 | 38 | * Store customer object |
| 32 | 39 | * |
| @@ -50,8 +57,10 @@ | ||
| 50 | 57 | $this->booking = $booking; |
| 51 | 58 | $this->meeting = new Appointment( $booking->get_appointment() ); |
| 52 | 59 | $this->staff = new Staff( $booking->get_staff_id() ); |
| 53 | 60 | $this->customer = new Customer( $booking->get_customer_id() ); |
| 61 | + | |
| 62 | + apply_filters( 'timeics/booking/update', $booking, $this ); | |
| 54 | 63 | |
| 55 | 64 | parent::__construct(); |
| 56 | 65 | } |
| 57 | 66 | |