Second module for working with Travelline appears. Travelline2 and is configured completely similarly to the first module -  the only differ is that it has its own section in the configuration, as well as its own type "Travelline2" when choosing an external sales channel type.

Мodule solves several challenges: firstly, it can be connected with the first module at the same time, but with other credentials - thus, synchronizing with two accounts in the TL. Secondly, this module handles changes in reservations differently.

This table describes the algorithm for changes processing when they come from the TL channel:


TravelLine Mode

Reservation

Type in  Logus
Changing typeRule application
Sanatorium mode: reciving reservation change
AnyCancelation and new reservation creation only.
Regular application, more than one reservation per application
Any

Cancelation and new reservation creation only.

Regular application, one reservationNot dividedAnyUpdating reservation.

Dividedprice, accommodation scheme

All reservations in division are canceled except the first one with the same rate as the first reservation

The changes apply to the first reservation.


Dividedeverything except price and split schemeUpdate is carried out, synchronization of guests is supported for the case when their number is unchanged - in this case, the full name and other guest’s data are updated. If the number of guests changes, synchronization does not work.