trytonpsk-hotel/constants.py

121 lines
2.4 KiB
Python
Raw Permalink Normal View History

2021-10-08 22:43:48 +02:00
STATE_BOOKING = [
('offer', 'Offer'),
('confirmed', 'Confirmed'),
('cancelled', 'Cancelled'),
2023-10-24 20:20:09 +02:00
('not_show', 'No Show'),
2021-10-08 22:43:48 +02:00
('finished', 'Finished'),
]
REGISTRATION_STATE = [
(None, ''),
('pending', 'Pending'),
('check_in', 'Check In'),
('check_out', 'Check Out'),
('no_show', 'No Show'),
]
2021-11-24 22:49:39 +01:00
REASON = [
2021-10-08 22:43:48 +02:00
('', ''),
('sun_beach', 'Sun & Beach'),
('sport', 'Sport'),
('adventure', 'Adventure'),
('nature', 'Nature'),
('cultural', 'Cultural'),
('urban', 'Urban'),
('rural', 'Rural'),
('cruises', 'Cruises'),
('health', 'Health'),
('thematic_parks', 'Thematic Parks'),
('convention', 'Conventions & Meetings'),
('wedding', 'Weddings'),
('bussiness', 'Bussiness'),
]
GUARANTEE = [
('', ''),
('payment', 'Payment'),
('voucher', 'Voucher'),
('credit_card', 'Credit Card'),
('letter', 'Letter'),
]
SATISFACTION = [
('', ''),
('5', 'Excellent'),
('4', 'Good'),
('3', 'Regular'),
('2', 'Bad'),
('1', 'Worse'),
]
MEDIA = [
('', ''),
('phone', 'Phone'),
('fax', 'Fax'),
2023-08-21 18:52:36 +02:00
('email', 'Email'),
2021-10-08 22:43:48 +02:00
('chat', 'Chat'),
2023-01-29 23:50:49 +01:00
('walking', 'Walking'),
2021-10-08 22:43:48 +02:00
('web', 'Web'),
('channel_manager', 'Channel Manager'),
('ota', 'OTA'),
2023-01-29 23:50:49 +01:00
('other', 'Other'),
2021-10-08 22:43:48 +02:00
]
PLAN = [
('no_breakfast', 'No Breakfast'),
('all_inclusive', 'All Inclusive'),
('bed_breakfast', 'Bed & Breakfast'),
('full_american', 'Full American'),
('half_american', 'Half American'),
]
COMPLEMENTARY = [
('', ''),
('in_house', 'In House'),
('courtesy', 'Courtesy')
]
2021-10-09 06:18:30 +02:00
INVOICE_STATES = [
2021-10-14 06:41:15 +02:00
('', 'None'),
2021-10-12 17:25:14 +02:00
('draft', 'Draft'),
('validated', 'Validated'),
('posted', 'Posted'),
2021-10-09 06:18:30 +02:00
('paid', 'Paid'),
2021-10-12 17:25:14 +02:00
('cancelled', 'Cancelled'),
2021-10-09 06:18:30 +02:00
]
2022-03-20 01:11:41 +01:00
PAYMENT_METHOD_CHANNEL = [
2022-03-23 13:46:56 +01:00
('', ''),
2022-03-20 01:11:41 +01:00
('at_destination', 'At Destination'),
('ota_collect', 'OTA Collect'),
]
2022-03-24 18:17:50 +01:00
TYPE_DOCUMENT = [
('11', 'Registro Civil de Nacimiento'),
('12', 'Tarjeta de Identidad'),
('13', 'Cedula de Ciudadania'),
('21', 'Tarjeta de Extranjeria'),
('22', 'Cedula de Extranjeria'),
('31', 'NIT'),
('41', 'Pasaporte'),
('42', 'Tipo de Documento Extranjero'),
('47', 'PEP'),
('50', 'NIT de otro pais'),
('91', 'NUIP'),
('', ''),
]
2022-03-25 16:03:19 +01:00
COLOR_BOOKING = {
'draft': '#9b9f9f',
'check_in': '#e6bd0f',
'check_out': '#09a4cd',
'done': '#315274',
}
COLOR_MNT = {
'draft': '#e87a7a',
'confirmed': '#d45757',
'done': '#d45757',
}