[10/30/2020 12:14:51], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/logout.php],INSERT INTO psa_login_log set username = 'tfg' , user_type = 'tfg'_type , branch_id = '' , login_datetime = '2020-10-30 12:14:51' , ip = '106.209.242.117' , action = 'Logout'  ;
[10/30/2020 12:41:13], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],update agents set last_login_date = '2020-10-30 12:41:13',login_attempt=0 where id = '25';
[10/30/2020 12:41:13], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],INSERT INTO psa_login_log  SET username = 'PhpTest', user_type = 'A', branch_id = '1', login_datetime = '2020-10-30 12:41:13', ip = '60.254.5.70', action = 'Login' ;
[10/30/2020 12:41:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '25' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '1' , ip = '60.254.5.70' , city = 'colombo' , service_name = '' , service_type = 'hotel' , arrival_date = '2020/10/30' , departure_date = '2020/10/31' , nationality = '106' , nights = '1' , room_types = '2' , create_date = '2020-10-30 12:41:28' , site_id = '' , country_code = '132' , web_service = '' ;
[10/30/2020 12:41:31], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-10-30 12:41:31', '', '79e2ba92f70b62160d25624dd9d4a51d2efeee6d5c44f53a0ee95a23396ee975', '468');
[10/30/2020 12:41:32], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=79e2ba92f70b62160d25624dd9d4a51d2efeee6d5c44f53a0ee95a23396ee975&xml_user_id=25&request_no=0&local_hotel_code=35&#039;,&#039;36&#039;,&#039;60&#039;,&#039;61&#039;,&#039;65&#039;,&#039;77&#039;,&#039;53699&#039;,&#039;53700&#039;,&#039;38&#039;,&#039;39&#039;,&#039;99&#039;,&#039;78&#039;,&#039;51821&#039;,&#039;76&#039;,&#039;51811&#039;,&#039;53701&#039;,&#039;51808&#039;,&#039;53725&#039;,&#039;53733&#039;,&#039;51817&#039;,&#039;53770&#039;,&#039;53777&web_service=no&site_id='
, http_hit_time = '2020-10-30 12:41:30.529'
, request_start_time = '0.000'
, parsing_start_time = '0.000'
, mapping_complete_time = '0.000'
, mongo_start_time = '0.000'
, search_end_time = '0.000'
, total_duration = '1.571'
, error_description = ''
, memory_used = '7909528'
WHERE id = '3244';
[10/30/2020 12:41:32], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=25&sessionid=79e2ba92f70b62160d25624dd9d4a51d2efeee6d5c44f53a0ee95a23396ee975',
  duration = '2.206',
  merge_duration = '0.075',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '2.80',
  system_load_5_min = '2.58',
  system_load_15_min = '2.46',
  system_memory_usage = '86.88',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '468') + '8043344',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '468';
[10/30/2020 12:42:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '25' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '1' , ip = '60.254.5.70' , city = 'colombo' , service_name = '' , service_type = 'hotel' , arrival_date = '2020/10/30' , departure_date = '2020/10/31' , nationality = '106' , nights = '1' , room_types = '2' , create_date = '2020-10-30 12:42:00' , site_id = '' , country_code = '132' , web_service = '' ;
[10/30/2020 12:42:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-10-30 12:42:03', '', '79e2ba92f70b62160d25624dd9d4a51d2efeee6d5c44f53a0ee95a23396ee975', '469');
[10/30/2020 12:42:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=79e2ba92f70b62160d25624dd9d4a51d2efeee6d5c44f53a0ee95a23396ee975&xml_user_id=25&request_no=0&local_hotel_code=35&#039;,&#039;36&#039;,&#039;60&#039;,&#039;61&#039;,&#039;65&#039;,&#039;77&#039;,&#039;53699&#039;,&#039;53700&#039;,&#039;38&#039;,&#039;39&#039;,&#039;99&#039;,&#039;78&#039;,&#039;51821&#039;,&#039;76&#039;,&#039;51811&#039;,&#039;53701&#039;,&#039;51808&#039;,&#039;53725&#039;,&#039;53733&#039;,&#039;51817&#039;,&#039;53770&#039;,&#039;53777&web_service=no&site_id='
, http_hit_time = '2020-10-30 12:42:02.575'
, request_start_time = '0.000'
, parsing_start_time = '0.000'
, mapping_complete_time = '0.000'
, mongo_start_time = '0.000'
, search_end_time = '0.000'
, total_duration = '1.071'
, error_description = ''
, memory_used = '7909904'
WHERE id = '3245';
[10/30/2020 12:42:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=25&sessionid=79e2ba92f70b62160d25624dd9d4a51d2efeee6d5c44f53a0ee95a23396ee975',
  duration = '1.566',
  merge_duration = '0.073',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '1.82',
  system_load_5_min = '2.36',
  system_load_15_min = '2.39',
  system_memory_usage = '87.05',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '469') + '8043760',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '469';
[10/30/2020 12:45:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604061955','60.254.5.70');
[10/30/2020 12:48:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604062117','60.254.5.70');
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1863', create_date = '2020-10-30 12:49:03', agent_id = '25', parent_agent_id = '25', agent_ref_no = '', nationality = 'Indian', city_id = 'colombo', country_id = '132', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '404.85', display_currency_code = 'AED', native_room_rate = '100', native_currency_code = 'USD', supplier_profile_id = '1', service_type = 'hotel', service_date = '2020/10/30', check_out_date = '2020/10/31', sub_user_id = '', booking_status = '1', leader_title = '', leader_first_name = '', leader_last_name = '', booking_branch_id = '1', expiration_date = '2020-10-30 00:00:00', cancellation_policy = 'Amendment of Dates, Room Category, Passenger Names are considered as Cancel and Rebook by most of the Hotels.
        Any Changes in initial booking may be denied by the supplier or may result in extra charges.
        Confirmation of amendment requests is subject to availablity and rates at the time of amendment.<Br><Br><B><U>Detailed Cancellation Policy:</U></B> <br/> Cancellation Charges of 404.85 AED applicable if cancelled after 30 Oct 2020 02:45 hrs.', supplier_cancellation_policy = '', status_date = '2020-10-30 12:49:03',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO external_mapping_data_tracking (booking_id,search_hotel_name,booked_hotel_name_supplier,hotel_id,master_id,city_id,supplier,date) VALUES ('3052','THE HERITAGE','THE HERITAGE','53777','53777','colombo','LOCAL_SUPPLIER',NOW());
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '1'
        WHERE
        id='3052'
        ;
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into bookings_details(booking_id,supplier_id,total_rooms,total_adults,total_children,total_infants,rate_description ,rate_code,hotel_id,local_hotel_id,hotel_name,hotel_address1,hotel_phone,hotel_rating,total_nights,arrival_date,departure_date,room_rate_code,hotel_img)values('3052','S000000243','1','2','0','-','','','53777','53777','THE HERITAGE','Colombo','123456789','4.0','1','2020/10/30','2020/10/31','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3052', booking_detail_id = '1190', room_type_code = '2~~~132~~~1049~~~1~~~~~~~~~71100~~~0~~~S000000243', room_name = 'double', room_type_description = 'Standard  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:\"displayNightlyRate\";d:404.85;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:232:\"Supplier Name - localsupplier(RateGainSriLanka - S000000243), Rate - 100 USD, Currency Multiplier (USD-AED) - 3.67346 Supplier Commission-0 #localsystem, VAT Markup=7.000%, Agent Hotel Category Markup=3.00 % VAT Markup On Profit=0 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:100;s:17:\"nativeNightlyRate\";i:100;s:9:\"free_sale\";s:2:\"no\";s:14:\"Discount/Offer\";a:7:{s:4:\"code\";s:0:\"\";s:4:\"Name\";s:0:\"\";s:7:\"S_Value\";s:0:\"\";s:5:\"Value\";i:0;s:12:\"Display_Name\";s:0:\"\";s:10:\"Offer_Note\";N;s:10:\"Offer_Type\";N;}}}', markup = '0', commission = '0', native_room_rate_total = '100', display_room_rate_total = '404.85', number_of_rooms = '1';
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set  special_remark = '', itenirary_id = '', confirmation_number = '', display_discount = '0', current_status = 'confirmed', comment_contract = '', consultant_id = 'nitinalpha', sales_manager_id = 'otrams', admin_booked = '1', email_id = '', leader_phone = '', agent_currency_multiplier = '0.27222', ip_addr = '60.254.5.70', backoffice_user = 'tfg', customer_id = '', applied_multiplier='3.67346', free_sale='',  applied_markup='10.21',  agent_markup='10.21',  basecurrency_multiplier='0.27222',  basecurrency_multiplier_native='1.00000',  parent_agent_id='25',  sub_agent_rate='0', agent_rate='404.85',  applicable_service_tax='0',  supplier_rate='100',  original_source='',  uid='700cc15274ac9f9d5baf728035f44003'  where id='3052';
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings_details set touricoRoomResId ='', gta_item_confirm_ref='' ,gtaToken = '' , special_request='' where booking_id ='3052';
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings_details set reservation_pushed = '1', channel_manager = 'rategain',room_type_description='' where booking_id = '3052';
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_cancellation_policy(booking_id,from_date,supplier_from_date,supplier_charge,agent_charge,lead_time,create_date)  VALUES('3052','2020-10-30 12:45:00','2020-10-30 12:45:00','100','404.85','0','2020-10-30 12:49:03');
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3052','','');
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_status (booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by) VALUES ('3052','confirmed','2020-10-30 12:49:03','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','0','25');
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3052, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5f9c0a1bd8c3e202d729409e\";}s:7:\"hotelId\";s:25:\"53777----------S000000243\";s:4:\"name\";s:12:\"THE HERITAGE\";s:14:\"local_hotel_id\";s:5:\"53777\";s:8:\"address1\";s:7:\"Colombo\";s:8:\"latitude\";s:0:\"\";s:9:\"longitude\";s:0:\"\";s:4:\"city\";s:5:\"71100\";s:8:\"location\";s:0:\"\";s:14:\"prefered_hotel\";s:1:\"0\";s:10:\"mlosSlogan\";s:0:\"\";s:16:\"isMlosApplicable\";s:2:\"no\";s:7:\"country\";s:3:\"132\";s:16:\"rateCurrencyCode\";s:3:\"AED\";s:5:\"phone\";s:9:\"123456789\";s:16:\"shortDescription\";s:24:\"No Description Available\";s:11:\"website_url\";s:0:\"\";s:12:\"thumbNailUrl\";s:99:\"https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg\";s:10:\"sourceType\";s:11:\"localsystem\";s:10:\"supplierid\";s:10:\"S000000243\";s:12:\"suppliername\";s:16:\"RateGainSriLanka\";s:14:\"propertyRating\";s:3:\"4.0\";s:15:\"specialCategory\";a:1:{i:0;s:1:\"1\";}s:13:\"HotelProperty\";a:1:{s:11:\"localsystem\";a:1:{i:0;a:1:{s:8:\"RateInfo\";a:13:{s:10:\"room_rates\";a:1:{i:0;a:33:{s:11:\"ratebreakup\";a:4:{s:6:\"markup\";i:0;s:10:\"commission\";i:0;s:18:\"NativeNightlyRates\";a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:100;s:17:\"nativeNightlyRate\";i:100;s:9:\"free_sale\";s:2:\"no\";s:14:\"Discount/Offer\";a:7:{s:4:\"code\";s:0:\"\";s:4:\"Name\";s:0:\"\";s:7:\"S_Value\";s:0:\"\";s:5:\"Value\";i:0;s:12:\"Display_Name\";s:0:\"\";s:10:\"Offer_Note\";N;s:10:\"Offer_Type\";N;}}}s:19:\"DisplayNightlyRates\";a:1:{i:0;a:3:{s:18:\"displayNightlyRate\";d:404.85;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:232:\"Supplier Name - localsupplier(RateGainSriLanka - S000000243), Rate - 100 USD, Currency Multiplier (USD-AED) - 3.67346 Supplier Commission-0 #localsystem, VAT Markup=7.000%, Agent Hotel Category Markup=3.00 % VAT Markup On Profit=0 %\";}}}s:20:\"offer_promotion_note\";s:0:\"\";s:19:\"offer_discount_type\";s:0:\"\";s:27:\"offer_discount_note_details\";N;s:9:\"room_name\";s:6:\"double\";s:9:\"stay_note\";N;s:10:\"time_stamp\";s:32:\"c468cfe6115c004c3ea91d9445af78dd\";s:16:\"number_of_adults\";s:1:\"2\";s:10:\"view_basis\";s:0:\"\";s:13:\"view_basis_id\";s:1:\"0\";s:9:\"available\";i:1;s:9:\"free_sale\";N;s:7:\"minStay\";s:1:\"1\";s:19:\"displayCurrencyCode\";s:3:\"AED\";s:18:\"nativeCurrencyCode\";s:3:\"USD\";s:20:\"displayRoomTypeRates\";d:404.85;s:20:\"sortingRoomTypeRates\";d:404.85;s:19:\"nativeRoomTypeRates\";i:100;s:12:\"offerApplied\";N;s:7:\"room_id\";s:49:\"2~~~132~~~1049~~~1~~~~~~~~~71100~~~0~~~S000000243\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:49:\"2~~~132~~~1049~~~1~~~~~~~~~71100~~~0~~~S000000243\";s:15:\"number_of_child\";i:0;s:13:\"NumberOfRooms\";i:1;s:10:\"supplierId\";s:10:\"S000000243\";s:12:\"supplierName\";s:16:\"RateGainSriLanka\";s:10:\"meal_basis\";s:15:\"Bed & Breakfast\";s:4:\"note\";s:0:\"\";s:13:\"room_category\";s:13:\"Standard Room\";s:9:\"room_type\";s:62:\"Standard  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>\";s:14:\"non_refundable\";s:1:\"0\";s:15:\"class_unique_id\";s:17:\"0_0_53777_2542933\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";d:404.85;s:14:\"nativeRoomRate\";i:100;s:9:\"unique_id\";s:37:\"1_53777----------S000000243_3_0_18201\";s:10:\"supplierId\";s:10:\"S000000243\";s:19:\"displayCurrencyCode\";s:3:\"AED\";s:18:\"nativeCurrencyCode\";s:3:\"USD\";s:18:\"applied_markup_per\";d:10.21;s:18:\"applied_multiplier\";d:3.67346;s:19:\"supplier_profile_id\";s:1:\"1\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53777----------S000000243\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:12:\"THE HERITAGE\";s:18:\"supp_hotel_address\";s:7:\"Colombo\";s:10:\"supplierId\";s:10:\"S000000243\";}s:8:\"no_class\";i:0;}}}}s:13:\"total_charges\";d:404.85;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";d:404.85;s:16:\"hotel_name_ascii\";s:12:\"the heritage\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53777----------S000000243\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:12:\"THE HERITAGE\";s:18:\"supp_hotel_address\";s:7:\"Colombo\";s:10:\"supplierId\";s:10:\"S000000243\";}}');
[10/30/2020 12:49:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_cancellation_policy(booking_id,from_date,supplier_from_date,to_date,supplier_to_date,supplier_charge,agent_charge,lead_time,create_date,applied_agent_charges)  VALUES('3052','2020-10-30 12:45:00','2020-10-30 12:45:00','1970-01-01 00:00:00','1970-01-01 00:00:00','100','404.85','0','2020-10-30 12:49:03','');
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings_details set reservation_pushed = '1', channel_manager = 'rategain',room_type_description='' where booking_id = '3052';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3052',  room_id= '2~~~132~~~1049~~~1~~~~~~~~~71100~~~0~~~S000000243',  room_name= 'double',  supplier_id= 'S000000243',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '100',  native_rate= '100',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-10-30 12:49:04' ;
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3052' where  id ='3052';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE room_rates SET availability = availability-1,consumed_inventory = consumed_inventory+1 WHERE hotel_id = '53777' and inventory_class_id = '132' and supplier_id = 'S000000243' and date_from = '2020-10-30';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3052', config_key = 'BOOKING OTP', config_value = 'KQXbpPms';;
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103052 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 40292 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-10-30 12:49:04';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3052','snehal.valanju@qtechsoftware.com');
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3052','snehal.valanju@qtechsoftware.com');
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3052',status='1' where reservation_id='1863' and booking_id ='0';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3052' where agent_logs_id='469' and source_type='localsystem';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_commission set agent_commission='',  supplier_commission='',  profit_percent='',  gross_profit='',  commission_tax='',  booking_id ='3052',  create_date ='2020-10-30 12:49:04', supplier_tax='';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set voucher_id='Test123',status_date='2020-10-30 12:49:04',current_status='vouchered',voucher_hashcode='6cb8a75ff82ff2fd4d9cfcf84b96cb14143333052',vouchered_by ='' where id='3052';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],Insert into booking_configuration set booking_id='3052',config_key='VOUCHER_DATE', config_value='2020-10-30 12:49:04',create_date='2020-10-30 12:49:04';
[10/30/2020 12:49:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
        ('','','3052','vouchered','2020-10-30 12:49:04','Voucherd by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','','','');
[10/30/2020 12:49:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103052 /  Booking Vouchered ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 28156 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-10-30 12:49:05';
[10/30/2020 12:49:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3052','snehal.valanju@qtechsoftware.com');
[10/30/2020 12:49:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3052','nitin@qtechsoftware.com');
[10/30/2020 12:52:27], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/controller_quotation.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-10-30 12:52:27', '', '', '');
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3052', agent_id ='25', itenirary_id ='3052', sequence = '', confirmation_number ='', payment_confirmation_no ='', voucher_id ='Test123', voucher_hashcode ='6cb8a75ff82ff2fd4d9cfcf84b96cb14143333052', email_id ='', leader_title ='', leader_first_name ='', leader_last_name ='', city_id ='colombo', country_id ='132', display_room_rate ='404.850', native_room_rate ='100.000', native_currency_code ='USD', additional_charge ='0.000', cancellation_policy ='Amendment of Dates, Room Category, Passenger Names are considered as Cancel and Rebook by most of the Hotels.
        Any Changes in initial booking may be denied by the supplier or may result in extra charges.
        Confirmation of amendment requests is subject to availablity and rates at the time of amendment.<Br><Br><B><U>Detailed Cancellation Policy:</U></B> <br/> Cancellation Charges of 404.85 AED applicable if cancelled after 30 Oct 2020 02:45 hrs.', supplier_cancellation_policy ='', current_status ='vouchered', booking_status ='1', status_date ='2020-10-30 12:49:04', create_date ='2020-10-30 12:49:03', source_type ='localsystem', expiration_date ='2020-10-30 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='404.850', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='100.000', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='nitinalpha', admin_booked ='1', emailed_status ='0', applied_multiplier ='3.67346', applied_markup ='10.21', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='10.21', wh_agent_markup ='0.000', basecurrency_multiplier ='0.27222', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='1.00000', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='0.27222', wh_agent_currency_multiplier ='1.000', modified_datetime ='2020-10-30 12:53:00', modified_by ='tfg', display_currency_code ='AED', created_datetime ='2020-10-30 12:53:00', sub_agent_rate ='0.000', discount_to_sub ='0', created_by ='tfg', site_id ='0', applicable_service_tax ='0.000', wh_parent_agent_id ='0', wh_agent_id ='0', nationality ='Indian', ip_addr ='60.254.5.70';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1190', old_reff_id ='537', booking_id ='3052', supplier_id ='S000000243', total_nights ='1', arrival_date ='2020/10/30', departure_date ='2020/10/31', hotel_id ='53777', hotel_name ='THE HERITAGE', hotel_address1 ='Colombo', hotel_phone ='123456789', hotel_rating ='4.0', rate_code ='', touricoRoomResId ='', gta_item_confirm_ref ='', channel_manager ='rategain', reservation_pushed ='1', gtaToken ='';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1783', old_reff_id = '537', booking_id = '3052', booking_detail_id = '1190', room_type_code = '2~~~132~~~1049~~~1~~~~~~~~~71100~~~0~~~S000000243', room_name = 'double', room_type_description = 'Standard  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:"displayNightlyRate";d:404.85;s:16:"promotionDisplay";s:0:"";s:25:"displayNightlyRateDisplay";s:232:"Supplier Name - localsupplier(RateGainSriLanka - S000000243), Rate - 100 USD, Currency Multiplier (USD-AED) - 3.67346 Supplier Commission-0 #localsystem, VAT Markup=7.000%, Agent Hotel Category Markup=3.00 % VAT Markup On Profit=0 %";}}' ,native_nightly_rates = 'a:1:{i:0;a:4:{s:19:"O_nativeNightlyRate";i:100;s:17:"nativeNightlyRate";i:100;s:9:"free_sale";s:2:"no";s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '100' ,display_room_rate_total = '404.85' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3052', booking_detail_id = '1190', room_type_code = '2~~~132~~~1049~~~1~~~~~~~~~71100~~~0~~~S000000243', room_name = 'double', meal_basis = '', room_type_description = 'Standard -Bed & Breakfast :2Pax -D', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:6:"404.85";s:13:"whNightlyRate";s:0:"";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"100";s:19:"O_nativeNightlyRate";i:100;s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '100' ,display_room_rate_total = '404.85' ,number_of_rooms = '1';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3052', booking_detail_id = '1190', salutations = 'Mr', room = '', rid = '1784', first_name = 'Pranay', last_name = 'Test' ,age = '';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3052', booking_detail_id = '1190', salutations = 'Mr', room = '', rid = '1784', first_name = 'Sarthak', last_name = 'Test' ,age = '';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],UPDATE bookings SET confirmation_number='',native_currency_code='USD',display_currency_code='AED',cancellation_policy='Amendment of Dates, Room Category, Passenger Names are considered as Cancel and Rebook by most of the Hotels.
        Any Changes in initial booking may be denied by the supplier or may result in extra charges.
        Confirmation of amendment requests is subject to availablity and rates at the time of amendment.&lt;Br&gt;&lt;Br&gt;&lt;B&gt;&lt;U&gt;Detailed Cancellation Policy:&lt;/U&gt;&lt;/B&gt; &lt;br/&gt; Cancellation Charges of 404.85 AED applicable if cancelled after 30 Oct 2020 02:45 hrs.                                ',supplier_cancellation_policy='',applied_multiplier='3.67346',applied_markup='10.21',agent_markup='10.21',consultant_id='tfg',basecurrency_multiplier='0.27222',basecurrency_multiplier_native='0.27222'_native,agent_currency_multiplier='0.27222',service_type_detail='THE HERITAGE',current_status='vouchered',status_date='2020-10-30 12:53:00',service_date='2020-10-30',check_out_date='2020-10-31',display_room_rate= '404.85',display_discount='0.000',modified_datetime='2020-10-30 12:53:00',modified_by ='tfg',native_room_rate='100',native_discount='0.000',additional_charge='0.000',applicable_service_tax='',leader_title='Mrs',leader_first_name='Snehal',leader_last_name='TravelAgent',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-10-30 00:00:00',source_type='localsystem',leader_phone='',admin_note='',comment_contract='' WHERE id='3052';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-10-30 12:53:00',`log_type`= 'Accounts Data Added',`sql_query`= '',`log_description`= 'Accounts Only : Data Added by \&#039;tfg\&#039; From IP \&#039;60.254.5.70\&#039; for booking \&#039;3052\&#039;',`ip`= '60.254.5.70';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update bookings set  parent_agent_id='25', sub_agent_rate='', agent_rate='404.85', agent_markup='10.21', supplier_rate='100', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='' where id='3052';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update bookings_details set total_nights='1' , supplier_id= 'S000000243' , total_rooms= '1', arrival_date='2020/10/30', departure_date='2020/10/31', rate_code='~', hotel_address1='Colombo', hotel_name='THE HERITAGE', hotel_phone='123456789', reservation_pushed='2' where booking_id ='3052';
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
        ('','','3052','vouchered','2020-10-30 12:53:00','Booking Modified by tfg','tfg','60.254.5.70','tfg','','');
[10/30/2020 12:53:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='3.67346' where booking_id='3052' and from_currency='AED' and to_currency='USD';
