diff --git a/docs/guides/integration-with-angular.md b/docs/guides/integration-with-angular.md index 1ac579a..b607b6e 100644 --- a/docs/guides/integration-with-angular.md +++ b/docs/guides/integration-with-angular.md @@ -7,7 +7,7 @@ description: You can learn about the integration with Angular in the documentati # Integration with Angular :::tip -You should be familiar with basic concepts and patterns of **Angular** before reading this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://angular.io/docs). +You should be familiar with basic concepts and patterns of **Angular** before reading this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://v17.angular.io/docs). ::: DHTMLX Booking is compatible with **Angular**. We have prepared code examples on how to use DHTMLX Booking with **Angular**. For more information, refer to the corresponding [**Example on GitHub**](https://github.com/DHTMLX/angular-booking-demo). @@ -15,7 +15,7 @@ DHTMLX Booking is compatible with **Angular**. We have prepared code examples on ## Creating a project :::info -Before you start to create a new project, install [**Angular CLI**](https://angular.io/cli) and [**Node.js**](https://nodejs.org/en/). +Before you start to create a new project, install [**Angular CLI**](https://v17.angular.io/cli) and [**Node.js**](https://nodejs.org/en/). ::: Create a new **my-angular-booking-app** project using Angular CLI. Run the following command for this purpose: diff --git a/docs/guides/integration-with-eventcalendar.md b/docs/guides/integration-with-eventcalendar.md index 5c5b888..6c191f7 100644 --- a/docs/guides/integration-with-eventcalendar.md +++ b/docs/guides/integration-with-eventcalendar.md @@ -6,7 +6,7 @@ description: You can learn about the integration with DHTMLX Event Calendar in t # Integration with DHTMLX Event Calendar -This guide will show how to integrate the DHTMLX Booking widget with [DHTMLX Event Calendar](https://docs.dhtmlx.com/eventcalendar/). +This guide will show how to integrate the DHTMLX Booking widget with [DHTMLX Event Calendar](https://docs.dhtmlx.com/eventcalendar/). ## Main concepts @@ -25,7 +25,7 @@ So what you actually need is to generate booking slots from events (the [snippet - **Timezone handling:** - Booking interprets timestamps in the local timezone. - If you use global timestamps, you need to convert them to local timezones before sending them to Booking (and vice versa before saving the data back). -For conversion instructions, refer to [Working with UTC data](/guides/saving-reservations/#working-with-utc-data). +For conversion instructions, refer to [Working with UTC data](/guides/saving-reservations/#working-with-utc-data). - **Booking slot strategies:** - Use `slots` and `usedSlots` to build the schedule, ensuring that used slots are excluded (we'll focus on this strategy) @@ -37,14 +37,13 @@ The snippet below demonstrates how to integrate Booking with the Event Calendar - `/events` - Event Calendar data (doctor schedules) that includes recurring and single-time events. These events are used to create time slots for the Booking system. -- `/units` - final Booking slots generated from the Event Calendar `events` data. The slots are generated on the server-side. Please, also refer to [backend](https://git.webix.io/XBS/event-calendar-booking-go). +- `/units` - final Booking slots generated from the Event Calendar `events` data. The slots are generated on the server-side. Please, also refer to [backend](https://github.com/DHTMLX/event-calendar-booking-go). - `/calendars` - contains doctors' calendars. It is used for displaying doctor information in both the Event Calendar and Booking widgets. - `/reservations` - an auxiliary collection used to visualize `usedSlots` in the timeline view. This data comes from the Booking form, containing information about already reserved slots for doctors. -Converting events to Booking slots is the major part of integration and the rules for handling the events and converting them to slots are described in the [section below](#rules-for-converting-events-to-booking-slots). - +Converting events to Booking slots is the major part of integration and the rules for handling the events and converting them to slots are described in the [section below](#rules-for-converting-events-to-booking-slots). @@ -85,7 +84,7 @@ Booking slot: } ~~~ -**Rule 2. Recurring events.** +**Rule 2. Recurring events.** For recurring events, we use a weekly pattern. The start date and end date of each recurring event in Event Calendar should be equal to Booking [start](/api/config/booking-start) and [end](/api/config/booking-end) dates, otherwise create placeholders for dates before and after the recurring event (see Rule 7).