333
edits
Changes
Jump to navigation
Jump to search
Created page with "== Electronic letter templates == The '''System Settings → Notifications → Email Templates''' section of the Websky Administration panel allows you to configure electroni..."
== Electronic letter templates ==
The '''System Settings → Notifications → Email Templates''' section of the Websky Administration panel allows you to configure electronic letter templates that are sent to users when they perform certain actions. The following templates are available in the system:
*'''Flight Booking''' - sent to the user when booking a flight.
*'''Hotel booking''' - sent to the user when booking a hotel.
*'''Train booking''' - sent to the user when booking a train ticket.
*'''Booking reminder (before automatic cancellation)''' - sent to the user a specified time (in minutes) before the time limit expires.
*'''Cancellation''' - sent to the user when he/she manually cancels the order. Works for "Trains" and "Hotels" components.
*'''Flight cancellation''' - is sent ''''' during the automatic and manual cancellation of the flight''''', supports additional variables from the ''Flight Booking'' template. It works only for the ''Air'' component.
* '''Automatic cancellation''' - is sent when booking time limit expires. If the template is not set, the automatic cancellation sends the template '''''Annulation'''''.
'''Attention!''' If the template '''''flight cancellation''''' is set, then both manual and automatic cancellation will trigger this template regardless of the presence of the '''''Cancellation''''' and '''''Automatic cancellation''''' templates.
*'''Problem notification in the order''' - is sent if an error occurred during order placement. There is a variable %PROBLEM_MESSAGE% for the template that contains the text with the reason for the error.
*'''Notification about the deadline for entering additional data into the air order''' - the template about the deadline for entering additional data into the order is sent for all actual (booked and ticketed orders) X hours (set in the mail settings) before the time of departure. Supports all variables from the flight booking notification template;
*'''Order was changed during synchronization''' - sent when the option "Send email to client about order change" is enabled and if there were changes in the order during synchronization. When filling out this template, pay attention to the language version you've selected. To work correctly, you should fill out the template for "All languages". Works for the ''Railway'' and ''Hotels'' components.
* '''Order was changed during synchronization (flight)''' - similar to the ''Order was changed during synchronization'' template, supports additional variables from the ''Flight Booking'' template;
*'''Password Recovery''' - is sent when a user requests password recovery for logging in to the system;
*'''Registration''' - see ''Registration''. See [[Registration|Setting up registration message templates]];
*'''New User Welcome''' - see [[Registration|Setting up registration message templates]];
* '''Ticketing''' - sent when the ticket is ticketed after clicking the ''Issue ticket'' button, or after starting the autoticketing;
'''Attention!''' If the '''Ticketing''' template is NOT set, then, while you issue the order, e-mail will not be sent, and in the logs will appear '''''Error "Action not taken: ticket_notification"'''''.
*'''Selected search results''' - see [[Sending search results by e-mail]];
*'''Invoice receipt''' - see [[Invoice]];
*'''Order paid''' - sent when the order status is set to ''Paid'';
*'''Notification for Courier service'' - sent when the manager selects and confirms this form of payment;
*'''Notification for Rapida''' - sent when the manager selects and confirms this form of payment;
*'''Notification for Comepay''' - sent when the manager selects and confirms this form of payment;
The '''Add a pdf copy of an e-mail as an attachment''' setting in section '''System settings → Notifications → E-mail templates''' is set separately for each type of e-mail. If the setting is enabled for a certain type of email, a pdf copy of the email will be attached to these emails.
==Template Variables==
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
====Booking====
<div class="mw-collapsible-content">
===== Variable Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" | Description of the variable
|-
|%AGENCY_NAME%
| Agency name
|-
|%AGENCY_PHONE%
|%agency_phone%
|-
|%AGENCY_EMAIL%
|E-mail of the agency
|-
|%USER_NAME%
|E-mail recipient's first and last name
|-
|%BOOKING_NUMBER%
| Internal order number
|-
|%EXTERNAL_ID%
|Order's external ID
|-
|%BOOKING_CODE%
|Booking access code
|-
| %SERVICE_BOOKING_NUMBER%
| Booking_number in the supplier's system
|-
|%LINK_TO_BOOKING%
| Link to booking
|-
|%CLIENT_PHONE%
| Customer's phone
|-
| %SEGMENT_DATE_ARR%
| Date and time of arrival for the segment
|-
|%SEGMENT_DATE_DEP%
| Date and time of departure for the segment
|-
|%GROUP_DATE_DEP_ARR%
|Date and time of departure and arrival by segments
|-
|%GROUP_DEP_ARR%
|Route of the segment
|-
|%QRCODE%
|QR code
|-
|%ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the whole order
|-
|%PASS_ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the passenger
|-
|%PASS_TYPE_GROUP_TYPE%
| Passenger type (grouping by passenger type)
|-
|%TOTAL_CHARGES_AND_TAXES%
|Charges and fees for all passengers
|-
|%PASS_TYPE_GROUP_COUNT%
|Number of passengers (grouping by passenger type)
|-
|%PASS_TYPE_GROUP_FARE%
|Fare (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TAXES%
|Taxes (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL%
|Total (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL_FOR_GROUP%
|Total per group (grouping by types of passengers)
|-
|%FROM_SOURCE%
| Departure point (city, airport)
|-
|%TO_DESTINATION%
|Destination (city, airport)
|-
|%SEG_START_TERMINAL%
|Start terminal
|-
|%SEG_END_TERMINAL%
|End terminal
|-
|%FLIGHT_DATE%
|Departure date
|-
|%AIRLINE_COMPANY%
|Airline name
|-
|%AIRPORT_NAME%
| Airport name
|-
|%FLIGHT_NUMBER%
| Flight number
|-
| %ANNULATE_DATE%
|Payment deadline (date and time for automatic cancellation)
|-
|%CASH_DESK%
|Payment offices
|-
|%SHORT_BOOK_INFO%
| Brief information on the booking
|-
|%SHORT_FLIGHT_INFO%
|Brief information on the flight
|-
|%SHORT_CLIENT_INFO%
|Brief information on the client
|-
|%SHORT_PASS_INFO%
| Brief information on the passengers
|-
|%INFO_LINKS%
| A set of order management links
|-
|%GROUP_FROM_SOURCE%
| Departure point (city, airport) [for the segment]
|-
| %GROUP_TO_DESTINATION%
| Destination (city, airport) [for segment]
|-
|%GROUP_FLIGHT_DATE%
|flight_date [for segment]
|-
|%GROUP_FLIGHT_NUMBER%
| Flight number [for segment]
|-
| %GROUP_FLIGHT_COMPANY%
| Airline name [for segment]
|-
| %TOTAL_PRICE%
| Order price (in agency currency)
|-
|%BASE_TARIFF%
| Basic fare
|-
|%TAXES%
| Price rules
|-
|%GROUP_VENDOR_ID%
| Order ID from the airline
|-
|%GROUP_FLIGHT_CLASS%
| Flight class
|-
|%GROUP_AIRCRAFT%
| Type of aircraft
|-
|%GROUP_PASS_FIO%
| Passenger's name
|-
| %GROUP_PASS_DOC%
|Type of document, its series and number
|-
|%GROUP_PASS_DATA_BIRTH%
| Passenger's date of birth
|}
===== Group Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Group name
| width="300" | Group description
|-
| width="300" | %SEGMENT%
| width="300" | Segment
|-
| width="300" | %PASSENGER_TYPE%
| width="300" | Type of passenger
|-
| width="300" | %PASSENGER%
| width="300" | Passenger
|}
===== Promotions =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
|width="300" | Promotion name
|-
| width="300" | %PROMO(21)% TEXT [UNICODE] %PROMO%
| width="300" | promotional action "12022014_Promo"
|}
21 is the promotional action's id, TEXT is the optional text, 12022014_Promo is the unique promotional code
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
==== Cancellation ====
<div class="mw-collapsible-content">
===== Variable Description =====
{| style="width: 600px;" class="wikitable"
|-
|width="300"| Variable
|width="300" | Description of the variable
|-
| width="300" |%AGENCY_NAME%
| width="300" | Agency name
|-
| width="300" |%AGENCY_PHONE%
| width="300" | Agency phone number
|-
|width="300" | %AGENCY_EMAIL%
| width="300" | E-mail of the agency
|-
| width="300" | %USER_NAME%
| width="300" | Name and surname of the recipient of the letter
|-
| width="300" | %BOOKING_NUMBER%
| width="300" | Internal order number
|-
| width="300" | %EXTERNAL_ID%
| width="300" | External order ID
|-
|width="300" | %BOOKING_CODE%
|width="300" | Booking access code
|-
| width="300" | %SERVICE_BOOKING_NUMBER%
| width="300" | Booking number in the supplier's system
|-
| width="300" | %LINK_TO_BOOKING%
| width="300" | Booking reference
|-
| width="300" | %GROUP_DATE_DEP_ARR%
| width="300" | Date and time of departure and arrival by segments
|-
| width="300" | %GROUP_DEP_ARR%
| width="300" | Segment route
|-
| width="300" | %EXTSERVICE_INFO%
| width="300" | Information about an ancillary service
|-
| width="300" | %BOOKING%
| width="300" | Make a booking
|-
| width="300" |- %CREDIT_CARD%
| width="300" | Bank card
|-
| width="300" | %E_MONEY%
| width="300" | Electronic money
|-
|width="300" | %BOOKING_ID%
|width="300" | Service ID in the system
|-
| width="300" | %ANNULATE_DATE%
| width="300" | Payment deadline (date and time of automatic cancellation)
|}
===== Описание групп =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Название группы
| width="300" | Описание группы
|-
| width="300" | %SEGMENT%
| width="300" | Сегмент
|}
===== Promotional actions =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" | Promotional action name
|-
| width="300" | %PROMO(21)% TEXT [UNICODE] %PROMO%
| width="300" | Promotional action "12022014_Promo"
|}
21 is the promotional action ID, TEXT is the optional text, 12022014_Promo is the unique code of the promotion
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
====Payment====
<div class="mw-collapsible-content">
===== variable description =====
{| style="width: 600px;" class="wikitable"
|-
|width="300"| Variable
|width="300" |Description of the variable
|-
| width="300" | %AGENCY_NAME%
| width="300" | agency name
|-
| width="300" | %AGENCY_PHONE%
| width="300" |Agency phone number
|-
| width="300" | %AGENCY_EMAIL%
| width="300" | E-mail agency
|-
| width="300" | %USER_NAME%
| width="300" | name and surname of the recipient of the letter
|-
| width="300" | %BOOKING_NUMBER%
| width="300" | Internal order number
|-
| width="300" | %EXTERNAL_ID%
| width="300" | External order ID
|-
|width="300" | %BOOKING_CODE%
|width="300" | booking access code
|-
| width="300" | %SERVICE_BOOKING_NUMBER%
| width="300" | Booking number in the vendor system
|-
| width="300" | %LINK_TO_BOOKING%
| width="300" | Booking reference
|-
| width="300" | %GROUP_DATE_DEP_ARR%
| Date and time of departure and arrival by segment
|-
| width="300" | %GROUP_DEP_ARR%
| Segment route
|-
| width="300" | %EXTSERVICE_INFO%
| width="300" | information about additional service
|-
| width="300" | %TRANSACTION%
| width="300" | transaction number
|-
| width="300" | %AMOUNT%
| width="300" | amount
|-
| width="300" | %BOOKING_ID%
| width="300" | service ID in the system
|-
| width="300" | %TYPE_OF_SERVICE%
| width="300" | Type of service
|}
===== Group description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300"| Group name
| width="300" |Group description
|-
| width="300" | %SEGMENT%
| width="300" | segment
|}
===== Promotional actions =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" | Promotional action name
|-
| width="300" | %PROMO(21)% TEXT [UNICODE] %PROMO%
| width="300" | Promotional action "12022014_Promo"
|}
21 is the Promotional action ID, TEXT is the optional text, 12022014_Promo is the unique code of the promotional action
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
====Changing order during synchronization (flight)====
<div class="mw-collapsible-content">
===== Variable Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" |Description of the variable
|-
|%AGENCY_NAME%
| Agency name
|-
|%AGENCY_PHONE%
|Agency phone number
|-
|%AGENCY_EMAIL%
|E-mail of the agency
|-
|%USER_NAME%
|E-mail recipient's first and last name
|-
|%BOOKING_NUMBER%
|Internal order number
|-
|%EXTERNAL_ID%
|External order ID
|-
|%BOOKING_CODE%
|Booking access code
|-
| %SERVICE_BOOKING_NUMBER%
| Service booking number
|-
| %LINK_TO_BOOKING%
| Link to booking
|-
| %CLIENT_PHONE%
| Customer's phone
|-
| %SEGMENT_DATE_ARR%
| Date and time of arrival of the segment
|-
| %SEGMENT_DATE_DEP%
| Date and time of departure of the segment
|-
|%GROUP_DATE_DEP_ARR%
| Departure and arrival date and time by segments
|-
| %GROUP_DEP_ARR%
| Route of the segment
|-
|%QRCODE%
|QR code
|-
|%ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the whole order
|-
|%PASS_ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the passenger
|-
|%PASS_TYPE_GROUP_TYPE%
| Passenger type (grouping by passenger type)
|-
|%TOTAL_CHARGES_AND_TAXES%
|Charges and taxes for all passengers
|-
|%PASS_TYPE_GROUP_COUNT%
|Number of passengers (grouping by passenger type)
|-
|%PASS_TYPE_GROUP_FARE%
|Fare (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TAXES%
|Taxes (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL%
|Total (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL_FOR_GROUP%
|Total per group (grouping by types of passengers)
|-
|%BOOKING%
|booking
|-
|%CREDIT_CARD%
|%BANK CARD
|-
|%E_MONEY%
|Electronic money
|-
|%BOOKING_ID%
|Service ID in the system
|-
|%FROM_SOURCE%
| Departure point (city, airport)
|-
|%TO_DESTINATION%
|Destination (city, airport)
|-
|%SEG_START_TERMINAL%
|Start terminal
|-
|%SEG_END_TERMINAL%
|End terminal
|-
|%FLIGHT_DATE%
|Departure date
|-
|%AIRLINE_COMPANY%
|Airline name
|-
|%AIRPORT_NAME%
|Airport name
|-
|%FLIGHT_NUMBER%
| Flight number
|-
|%ANNULATE_DATE%
|Payment deadline (date and time of automatic cancellation)
|-
|%CASH_DESK%
| Payment offices
|-
|%SHORT_BOOK_INFO%
| Brief information on the booking
|-
|%SHORT_FLIGHT_INFO%
| Brief information on the flight
|-
| %SHORT_CLIENT_INFO%
| Brief information on the client
|-
| %SHORT_PASS_INFO%
| Brief information on the passengers
|-
| %GROUP_FROM_SOURCE%
|Departure point (city, airport) [for the segment]
|-
| %GROUP_TO_DESTINATION%
|Destination (city, airport) [for the segment]
|-
|%GROUP_FLIGHT_DATE%
|Departure date [for segment]
|-
| %GROUP_FLIGHT_NUMBER%
| Flight number [for segment]
|-
| %GROUP_FLIGHT_COMPANY%
| Airline name [for segment]
|-
| %TOTAL_PRICE%
| Order price (in agency currency)
|-
|%BASE_TARIFF%
|Basic fare
|-
|%TAXES%
| Price rules
|-
|%GROUP_VENDOR_ID%
| Order ID in the airline's system
|-
| %GROUP_FLIGHT_CLASS%
| Flight class
|-
|%GROUP_AIRCRAFT%
| Type of aircraft
|-
|%GROUP_PASS_FIO%
| Passenger name
|-
|%GROUP_PASS_DOC%
|Type of document, its series and number
|-
| %GROUP_PASS_DATA_BIRTH%
|Passenger's date of birth
|-
| %MODIFY_CHANGES%
|Changes in the order
|}
===== Group Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Group name
| width="300" | Group description
|-
| width="300" | %SEGMENT%
| width="300" | Segment
|-
| width="300" | %PASSENGER_TYPE%
| width="300" | Type of passenger
|-
| width="300" | %PASSENGER%
| width="300" | Passenger
|}
</div>
</div>
== Features of working with variables in templates ==
When you make links to site pages in templates with variables of the form %LINK_TO_BOOKING% in the links pulled the domain name of the site specified in the administrative section of the setting '''Site management → Domains and protocols → Agency domain name for settings upload'''.
If several domain names are specified in this setting, the first of them will be used to generate the link.
== Features of working with the letters for charters ==
The text of the email is set in '''Site management → Text resources'' as a correspondence to the ''Text for mail with certificate'' label.
== Email newsletter settings ==
The settings required for mailing are located in '''System settings → Notifications and documents → Letter templates''' . In the '''SMTP login''' field, you must specify the e-mail address from which all e-mail templates will be sent.
'''Attention!''' It is strongly recommended to use the agency's own mail server, because the Websky test mail server can be unstable due to its use on many test sites.
In the '''SMTP server''' field indicates the mail server used (for example, "smtp.mail.ru").
In the '''SMTP password''' field, specify the password of the mailbox you are going to use for mailing.
The function of sending test letters is used to test the mailing system: you should send a test letter to the mailbox indicated in the agency settings when you click on the '''«Send Test Mail»''' link.
== Sending copies of emails ==
The system provides the possibility to send copies of letters about bookings, cancellations, etc. to additional mailboxes specified in the mail settings ('''System settings → Notifications and documents → Options'''). To use the settings, use ";" in the '''E-mail address for copies of notifications''' field to specify e-mail addresses of users to whom letters should be sent (for example: [email protected]; [email protected]; [email protected]).
Also, in the '''System settings → Notifications and documents → Letter templates''' section, you can specify in the '''Address for hidden copy of e-mail''' field the e-mail addresses to which hidden copies of e-mails generated on the basis of a particular template will be sent.
== See also ==
* [[Mail Server]]
* [[Booking]]
* [[Cancellation]]
* [[Password recovery]]
* [[Ticketing]]
* [[Rapida]]
* [[ComePay]]
The '''System Settings → Notifications → Email Templates''' section of the Websky Administration panel allows you to configure electronic letter templates that are sent to users when they perform certain actions. The following templates are available in the system:
*'''Flight Booking''' - sent to the user when booking a flight.
*'''Hotel booking''' - sent to the user when booking a hotel.
*'''Train booking''' - sent to the user when booking a train ticket.
*'''Booking reminder (before automatic cancellation)''' - sent to the user a specified time (in minutes) before the time limit expires.
*'''Cancellation''' - sent to the user when he/she manually cancels the order. Works for "Trains" and "Hotels" components.
*'''Flight cancellation''' - is sent ''''' during the automatic and manual cancellation of the flight''''', supports additional variables from the ''Flight Booking'' template. It works only for the ''Air'' component.
* '''Automatic cancellation''' - is sent when booking time limit expires. If the template is not set, the automatic cancellation sends the template '''''Annulation'''''.
'''Attention!''' If the template '''''flight cancellation''''' is set, then both manual and automatic cancellation will trigger this template regardless of the presence of the '''''Cancellation''''' and '''''Automatic cancellation''''' templates.
*'''Problem notification in the order''' - is sent if an error occurred during order placement. There is a variable %PROBLEM_MESSAGE% for the template that contains the text with the reason for the error.
*'''Notification about the deadline for entering additional data into the air order''' - the template about the deadline for entering additional data into the order is sent for all actual (booked and ticketed orders) X hours (set in the mail settings) before the time of departure. Supports all variables from the flight booking notification template;
*'''Order was changed during synchronization''' - sent when the option "Send email to client about order change" is enabled and if there were changes in the order during synchronization. When filling out this template, pay attention to the language version you've selected. To work correctly, you should fill out the template for "All languages". Works for the ''Railway'' and ''Hotels'' components.
* '''Order was changed during synchronization (flight)''' - similar to the ''Order was changed during synchronization'' template, supports additional variables from the ''Flight Booking'' template;
*'''Password Recovery''' - is sent when a user requests password recovery for logging in to the system;
*'''Registration''' - see ''Registration''. See [[Registration|Setting up registration message templates]];
*'''New User Welcome''' - see [[Registration|Setting up registration message templates]];
* '''Ticketing''' - sent when the ticket is ticketed after clicking the ''Issue ticket'' button, or after starting the autoticketing;
'''Attention!''' If the '''Ticketing''' template is NOT set, then, while you issue the order, e-mail will not be sent, and in the logs will appear '''''Error "Action not taken: ticket_notification"'''''.
*'''Selected search results''' - see [[Sending search results by e-mail]];
*'''Invoice receipt''' - see [[Invoice]];
*'''Order paid''' - sent when the order status is set to ''Paid'';
*'''Notification for Courier service'' - sent when the manager selects and confirms this form of payment;
*'''Notification for Rapida''' - sent when the manager selects and confirms this form of payment;
*'''Notification for Comepay''' - sent when the manager selects and confirms this form of payment;
The '''Add a pdf copy of an e-mail as an attachment''' setting in section '''System settings → Notifications → E-mail templates''' is set separately for each type of e-mail. If the setting is enabled for a certain type of email, a pdf copy of the email will be attached to these emails.
==Template Variables==
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
====Booking====
<div class="mw-collapsible-content">
===== Variable Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" | Description of the variable
|-
|%AGENCY_NAME%
| Agency name
|-
|%AGENCY_PHONE%
|%agency_phone%
|-
|%AGENCY_EMAIL%
|E-mail of the agency
|-
|%USER_NAME%
|E-mail recipient's first and last name
|-
|%BOOKING_NUMBER%
| Internal order number
|-
|%EXTERNAL_ID%
|Order's external ID
|-
|%BOOKING_CODE%
|Booking access code
|-
| %SERVICE_BOOKING_NUMBER%
| Booking_number in the supplier's system
|-
|%LINK_TO_BOOKING%
| Link to booking
|-
|%CLIENT_PHONE%
| Customer's phone
|-
| %SEGMENT_DATE_ARR%
| Date and time of arrival for the segment
|-
|%SEGMENT_DATE_DEP%
| Date and time of departure for the segment
|-
|%GROUP_DATE_DEP_ARR%
|Date and time of departure and arrival by segments
|-
|%GROUP_DEP_ARR%
|Route of the segment
|-
|%QRCODE%
|QR code
|-
|%ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the whole order
|-
|%PASS_ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the passenger
|-
|%PASS_TYPE_GROUP_TYPE%
| Passenger type (grouping by passenger type)
|-
|%TOTAL_CHARGES_AND_TAXES%
|Charges and fees for all passengers
|-
|%PASS_TYPE_GROUP_COUNT%
|Number of passengers (grouping by passenger type)
|-
|%PASS_TYPE_GROUP_FARE%
|Fare (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TAXES%
|Taxes (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL%
|Total (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL_FOR_GROUP%
|Total per group (grouping by types of passengers)
|-
|%FROM_SOURCE%
| Departure point (city, airport)
|-
|%TO_DESTINATION%
|Destination (city, airport)
|-
|%SEG_START_TERMINAL%
|Start terminal
|-
|%SEG_END_TERMINAL%
|End terminal
|-
|%FLIGHT_DATE%
|Departure date
|-
|%AIRLINE_COMPANY%
|Airline name
|-
|%AIRPORT_NAME%
| Airport name
|-
|%FLIGHT_NUMBER%
| Flight number
|-
| %ANNULATE_DATE%
|Payment deadline (date and time for automatic cancellation)
|-
|%CASH_DESK%
|Payment offices
|-
|%SHORT_BOOK_INFO%
| Brief information on the booking
|-
|%SHORT_FLIGHT_INFO%
|Brief information on the flight
|-
|%SHORT_CLIENT_INFO%
|Brief information on the client
|-
|%SHORT_PASS_INFO%
| Brief information on the passengers
|-
|%INFO_LINKS%
| A set of order management links
|-
|%GROUP_FROM_SOURCE%
| Departure point (city, airport) [for the segment]
|-
| %GROUP_TO_DESTINATION%
| Destination (city, airport) [for segment]
|-
|%GROUP_FLIGHT_DATE%
|flight_date [for segment]
|-
|%GROUP_FLIGHT_NUMBER%
| Flight number [for segment]
|-
| %GROUP_FLIGHT_COMPANY%
| Airline name [for segment]
|-
| %TOTAL_PRICE%
| Order price (in agency currency)
|-
|%BASE_TARIFF%
| Basic fare
|-
|%TAXES%
| Price rules
|-
|%GROUP_VENDOR_ID%
| Order ID from the airline
|-
|%GROUP_FLIGHT_CLASS%
| Flight class
|-
|%GROUP_AIRCRAFT%
| Type of aircraft
|-
|%GROUP_PASS_FIO%
| Passenger's name
|-
| %GROUP_PASS_DOC%
|Type of document, its series and number
|-
|%GROUP_PASS_DATA_BIRTH%
| Passenger's date of birth
|}
===== Group Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Group name
| width="300" | Group description
|-
| width="300" | %SEGMENT%
| width="300" | Segment
|-
| width="300" | %PASSENGER_TYPE%
| width="300" | Type of passenger
|-
| width="300" | %PASSENGER%
| width="300" | Passenger
|}
===== Promotions =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
|width="300" | Promotion name
|-
| width="300" | %PROMO(21)% TEXT [UNICODE] %PROMO%
| width="300" | promotional action "12022014_Promo"
|}
21 is the promotional action's id, TEXT is the optional text, 12022014_Promo is the unique promotional code
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
==== Cancellation ====
<div class="mw-collapsible-content">
===== Variable Description =====
{| style="width: 600px;" class="wikitable"
|-
|width="300"| Variable
|width="300" | Description of the variable
|-
| width="300" |%AGENCY_NAME%
| width="300" | Agency name
|-
| width="300" |%AGENCY_PHONE%
| width="300" | Agency phone number
|-
|width="300" | %AGENCY_EMAIL%
| width="300" | E-mail of the agency
|-
| width="300" | %USER_NAME%
| width="300" | Name and surname of the recipient of the letter
|-
| width="300" | %BOOKING_NUMBER%
| width="300" | Internal order number
|-
| width="300" | %EXTERNAL_ID%
| width="300" | External order ID
|-
|width="300" | %BOOKING_CODE%
|width="300" | Booking access code
|-
| width="300" | %SERVICE_BOOKING_NUMBER%
| width="300" | Booking number in the supplier's system
|-
| width="300" | %LINK_TO_BOOKING%
| width="300" | Booking reference
|-
| width="300" | %GROUP_DATE_DEP_ARR%
| width="300" | Date and time of departure and arrival by segments
|-
| width="300" | %GROUP_DEP_ARR%
| width="300" | Segment route
|-
| width="300" | %EXTSERVICE_INFO%
| width="300" | Information about an ancillary service
|-
| width="300" | %BOOKING%
| width="300" | Make a booking
|-
| width="300" |- %CREDIT_CARD%
| width="300" | Bank card
|-
| width="300" | %E_MONEY%
| width="300" | Electronic money
|-
|width="300" | %BOOKING_ID%
|width="300" | Service ID in the system
|-
| width="300" | %ANNULATE_DATE%
| width="300" | Payment deadline (date and time of automatic cancellation)
|}
===== Описание групп =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Название группы
| width="300" | Описание группы
|-
| width="300" | %SEGMENT%
| width="300" | Сегмент
|}
===== Promotional actions =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" | Promotional action name
|-
| width="300" | %PROMO(21)% TEXT [UNICODE] %PROMO%
| width="300" | Promotional action "12022014_Promo"
|}
21 is the promotional action ID, TEXT is the optional text, 12022014_Promo is the unique code of the promotion
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
====Payment====
<div class="mw-collapsible-content">
===== variable description =====
{| style="width: 600px;" class="wikitable"
|-
|width="300"| Variable
|width="300" |Description of the variable
|-
| width="300" | %AGENCY_NAME%
| width="300" | agency name
|-
| width="300" | %AGENCY_PHONE%
| width="300" |Agency phone number
|-
| width="300" | %AGENCY_EMAIL%
| width="300" | E-mail agency
|-
| width="300" | %USER_NAME%
| width="300" | name and surname of the recipient of the letter
|-
| width="300" | %BOOKING_NUMBER%
| width="300" | Internal order number
|-
| width="300" | %EXTERNAL_ID%
| width="300" | External order ID
|-
|width="300" | %BOOKING_CODE%
|width="300" | booking access code
|-
| width="300" | %SERVICE_BOOKING_NUMBER%
| width="300" | Booking number in the vendor system
|-
| width="300" | %LINK_TO_BOOKING%
| width="300" | Booking reference
|-
| width="300" | %GROUP_DATE_DEP_ARR%
| Date and time of departure and arrival by segment
|-
| width="300" | %GROUP_DEP_ARR%
| Segment route
|-
| width="300" | %EXTSERVICE_INFO%
| width="300" | information about additional service
|-
| width="300" | %TRANSACTION%
| width="300" | transaction number
|-
| width="300" | %AMOUNT%
| width="300" | amount
|-
| width="300" | %BOOKING_ID%
| width="300" | service ID in the system
|-
| width="300" | %TYPE_OF_SERVICE%
| width="300" | Type of service
|}
===== Group description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300"| Group name
| width="300" |Group description
|-
| width="300" | %SEGMENT%
| width="300" | segment
|}
===== Promotional actions =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" | Promotional action name
|-
| width="300" | %PROMO(21)% TEXT [UNICODE] %PROMO%
| width="300" | Promotional action "12022014_Promo"
|}
21 is the Promotional action ID, TEXT is the optional text, 12022014_Promo is the unique code of the promotional action
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
====Changing order during synchronization (flight)====
<div class="mw-collapsible-content">
===== Variable Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Variable
| width="300" |Description of the variable
|-
|%AGENCY_NAME%
| Agency name
|-
|%AGENCY_PHONE%
|Agency phone number
|-
|%AGENCY_EMAIL%
|E-mail of the agency
|-
|%USER_NAME%
|E-mail recipient's first and last name
|-
|%BOOKING_NUMBER%
|Internal order number
|-
|%EXTERNAL_ID%
|External order ID
|-
|%BOOKING_CODE%
|Booking access code
|-
| %SERVICE_BOOKING_NUMBER%
| Service booking number
|-
| %LINK_TO_BOOKING%
| Link to booking
|-
| %CLIENT_PHONE%
| Customer's phone
|-
| %SEGMENT_DATE_ARR%
| Date and time of arrival of the segment
|-
| %SEGMENT_DATE_DEP%
| Date and time of departure of the segment
|-
|%GROUP_DATE_DEP_ARR%
| Departure and arrival date and time by segments
|-
| %GROUP_DEP_ARR%
| Route of the segment
|-
|%QRCODE%
|QR code
|-
|%ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the whole order
|-
|%PASS_ALPHA_INSURANCE_INFO%
| AlfaInsurance service information for the passenger
|-
|%PASS_TYPE_GROUP_TYPE%
| Passenger type (grouping by passenger type)
|-
|%TOTAL_CHARGES_AND_TAXES%
|Charges and taxes for all passengers
|-
|%PASS_TYPE_GROUP_COUNT%
|Number of passengers (grouping by passenger type)
|-
|%PASS_TYPE_GROUP_FARE%
|Fare (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TAXES%
|Taxes (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL%
|Total (grouping by types of passengers)
|-
|%PASS_TYPE_GROUP_TOTAL_FOR_GROUP%
|Total per group (grouping by types of passengers)
|-
|%BOOKING%
|booking
|-
|%CREDIT_CARD%
|%BANK CARD
|-
|%E_MONEY%
|Electronic money
|-
|%BOOKING_ID%
|Service ID in the system
|-
|%FROM_SOURCE%
| Departure point (city, airport)
|-
|%TO_DESTINATION%
|Destination (city, airport)
|-
|%SEG_START_TERMINAL%
|Start terminal
|-
|%SEG_END_TERMINAL%
|End terminal
|-
|%FLIGHT_DATE%
|Departure date
|-
|%AIRLINE_COMPANY%
|Airline name
|-
|%AIRPORT_NAME%
|Airport name
|-
|%FLIGHT_NUMBER%
| Flight number
|-
|%ANNULATE_DATE%
|Payment deadline (date and time of automatic cancellation)
|-
|%CASH_DESK%
| Payment offices
|-
|%SHORT_BOOK_INFO%
| Brief information on the booking
|-
|%SHORT_FLIGHT_INFO%
| Brief information on the flight
|-
| %SHORT_CLIENT_INFO%
| Brief information on the client
|-
| %SHORT_PASS_INFO%
| Brief information on the passengers
|-
| %GROUP_FROM_SOURCE%
|Departure point (city, airport) [for the segment]
|-
| %GROUP_TO_DESTINATION%
|Destination (city, airport) [for the segment]
|-
|%GROUP_FLIGHT_DATE%
|Departure date [for segment]
|-
| %GROUP_FLIGHT_NUMBER%
| Flight number [for segment]
|-
| %GROUP_FLIGHT_COMPANY%
| Airline name [for segment]
|-
| %TOTAL_PRICE%
| Order price (in agency currency)
|-
|%BASE_TARIFF%
|Basic fare
|-
|%TAXES%
| Price rules
|-
|%GROUP_VENDOR_ID%
| Order ID in the airline's system
|-
| %GROUP_FLIGHT_CLASS%
| Flight class
|-
|%GROUP_AIRCRAFT%
| Type of aircraft
|-
|%GROUP_PASS_FIO%
| Passenger name
|-
|%GROUP_PASS_DOC%
|Type of document, its series and number
|-
| %GROUP_PASS_DATA_BIRTH%
|Passenger's date of birth
|-
| %MODIFY_CHANGES%
|Changes in the order
|}
===== Group Description =====
{| style="width: 600px;" class="wikitable"
|-
| width="300" | Group name
| width="300" | Group description
|-
| width="300" | %SEGMENT%
| width="300" | Segment
|-
| width="300" | %PASSENGER_TYPE%
| width="300" | Type of passenger
|-
| width="300" | %PASSENGER%
| width="300" | Passenger
|}
</div>
</div>
== Features of working with variables in templates ==
When you make links to site pages in templates with variables of the form %LINK_TO_BOOKING% in the links pulled the domain name of the site specified in the administrative section of the setting '''Site management → Domains and protocols → Agency domain name for settings upload'''.
If several domain names are specified in this setting, the first of them will be used to generate the link.
== Features of working with the letters for charters ==
The text of the email is set in '''Site management → Text resources'' as a correspondence to the ''Text for mail with certificate'' label.
== Email newsletter settings ==
The settings required for mailing are located in '''System settings → Notifications and documents → Letter templates''' . In the '''SMTP login''' field, you must specify the e-mail address from which all e-mail templates will be sent.
'''Attention!''' It is strongly recommended to use the agency's own mail server, because the Websky test mail server can be unstable due to its use on many test sites.
In the '''SMTP server''' field indicates the mail server used (for example, "smtp.mail.ru").
In the '''SMTP password''' field, specify the password of the mailbox you are going to use for mailing.
The function of sending test letters is used to test the mailing system: you should send a test letter to the mailbox indicated in the agency settings when you click on the '''«Send Test Mail»''' link.
== Sending copies of emails ==
The system provides the possibility to send copies of letters about bookings, cancellations, etc. to additional mailboxes specified in the mail settings ('''System settings → Notifications and documents → Options'''). To use the settings, use ";" in the '''E-mail address for copies of notifications''' field to specify e-mail addresses of users to whom letters should be sent (for example: [email protected]; [email protected]; [email protected]).
Also, in the '''System settings → Notifications and documents → Letter templates''' section, you can specify in the '''Address for hidden copy of e-mail''' field the e-mail addresses to which hidden copies of e-mails generated on the basis of a particular template will be sent.
== See also ==
* [[Mail Server]]
* [[Booking]]
* [[Cancellation]]
* [[Password recovery]]
* [[Ticketing]]
* [[Rapida]]
* [[ComePay]]