[12/23/2020 05:28:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],update agents set last_login_date = '2020-12-23 05:28:25',login_attempt=0 where id = '21';
[12/23/2020 05:28:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],INSERT INTO psa_login_log  SET username = 'ankita', user_type = 'A', branch_id = '3', login_datetime = '2020-12-23 05:28:25', ip = '203.194.99.133', action = 'Login' ;
[12/23/2020 05:29:09], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '21' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '3' , ip = '203.194.99.133' , city = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2021/01/07' , departure_date = '2021/01/08' , nationality = '3' , nights = '1' , room_types = '2' , create_date = '2020-12-23 05:29:09' , site_id = '' , country_code = '106' , web_service = '' ;
[12/23/2020 05:29:14], [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-12-23 05:29:14', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '516');
[12/23/2020 05:29:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=1&local_hotel_code=53769&#039;,&#039;53771&#039;,&#039;53773&#039;,&#039;53775&#039;,&#039;53776&#039;,&#039;53742&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:29:13.176'
, 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.367'
, error_description = ''
, memory_used = '7908600'
WHERE id = '3369';
[12/23/2020 05:29:14], [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-12-23 05:29:14', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '516');
[12/23/2020 05:29:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=0&local_hotel_code=2&#039;,&#039;97&#039;,&#039;53716&#039;,&#039;53734&#039;,&#039;53735&#039;,&#039;53736&#039;,&#039;53737&#039;,&#039;53738&#039;,&#039;53739&#039;,&#039;53740&#039;,&#039;53741&#039;,&#039;53744&#039;,&#039;53745&#039;,&#039;53746&#039;,&#039;53747&#039;,&#039;53748&#039;,&#039;53749&#039;,&#039;53750&#039;,&#039;53751&#039;,&#039;53757&#039;,&#039;53758&#039;,&#039;53759&#039;,&#039;53766&#039;,&#039;53767&#039;,&#039;53768&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:29:13.178'
, 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.551'
, error_description = ''
, memory_used = '7910040'
WHERE id = '3370';
[12/23/2020 05:29:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=21&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e',
  duration = '2.073',
  merge_duration = '0.104',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.24',
  system_load_5_min = '0.52',
  system_load_15_min = '0.93',
  system_memory_usage = '90.35',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '516') + '8044600',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '516';
[12/23/2020 05:29:27], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608701367','203.194.99.133');
[12/23/2020 05:30:30], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608701430','203.194.99.133');
[12/23/2020 05:30:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1927', create_date = '2020-12-23 05:30:36', agent_id = '21', parent_agent_id = '21', agent_ref_no = '', nationality = 'Bahamian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '560', display_currency_code = 'INR', native_room_rate = '50', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2021/01/07', check_out_date = '2021/01/08', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'Sanket', leader_last_name = 'Booking', booking_branch_id = '3', expiration_date = '2021-01-02 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 560 INR applicable if cancelled after 02-Jan-2021 05:30 hrs.', supplier_cancellation_policy = '', status_date = '2020-12-23 05:30:36',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[12/23/2020 05:30:36], [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 ('3079','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[12/23/2020 05:30:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '3'
        WHERE
        id='3079'
        ;
[12/23/2020 05:30:36], [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('3079','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2021/01/07','2021/01/08','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[12/23/2020 05:30:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3079', booking_detail_id = '1217', room_type_code = '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241', 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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:50;s:17:\"nativeNightlyRate\";i:50;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 = '50', display_room_rate_total = '560', number_of_rooms = '1';
[12/23/2020 05:30:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3079', booking_detail_id = '1217', rid = '1822', room = '0', salutations = 'Mr', first_name = 'Sanket', last_name = 'Booking', passenger_type = 'adult', age = '';
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3079', booking_detail_id = '1217', rid = '1822', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set  special_remark = 'No Special Remark', itenirary_id = '', confirmation_number = '', display_discount = '0', current_status = 'confirmed', comment_contract = '', consultant_id = 'nitinalpha', sales_manager_id = '', admin_booked = '0', email_id = 'sanket.desai@qtechsoftware.com', leader_phone = '9975673747', agent_currency_multiplier = '1.00000', ip_addr = '203.194.99.133', backoffice_user = 'tfg', customer_id = '', applied_multiplier='10', free_sale='',  applied_markup='12',  agent_markup='12',  basecurrency_multiplier='0.01533',  basecurrency_multiplier_native='0.27222',  parent_agent_id='21',  sub_agent_rate='0', agent_rate='560',  applicable_service_tax='0',  supplier_rate='50',  original_source='',  uid='53a227ebc80776273209514f40d2b002'  where id='3079';
[12/23/2020 05:30:37], [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 ='3079';
[12/23/2020 05:30:37], [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 = '3079';
[12/23/2020 05:30:37], [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('3079','2021-01-02 05:30:00','2021-01-02 05:30:00','50','560','0','2020-12-23 05:30:37');
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3079','','');
[12/23/2020 05:30:37], [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 ('3079','confirmed','2020-12-23 05:30:37','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Ankita  Rao(CD0021)','21','203.194.99.133','0','21');
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3079, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fe2d5aa9c2c800d4711e8a3\";}s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:4:\"name\";s:11:\"RATEGAINONE\";s:14:\"local_hotel_id\";s:5:\"53773\";s:8:\"address1\";s:6:\"Mumbai\";s:8:\"latitude\";s:0:\"\";s:9:\"longitude\";s:0:\"\";s:4:\"city\";s:5:\"64440\";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:\"106\";s:16:\"rateCurrencyCode\";s:3:\"INR\";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:\"S000000241\";s:12:\"suppliername\";s:16:\"RateGainSupplier\";s:14:\"propertyRating\";s:3:\"5.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:50;s:17:\"nativeNightlyRate\";i:50;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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}}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:\"fc3008921a1bc8c4ea1a1959a4160e65\";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:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";i:560;s:20:\"sortingRoomTypeRates\";i:560;s:19:\"nativeRoomTypeRates\";i:50;s:12:\"offerApplied\";N;s:7:\"room_id\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:15:\"number_of_child\";i:0;s:13:\"NumberOfRooms\";i:1;s:10:\"supplierId\";s:10:\"S000000241\";s:12:\"supplierName\";s:16:\"RateGainSupplier\";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_53773_2764494\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";i:560;s:14:\"nativeRoomRate\";i:50;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_0_0_28306\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:12;s:18:\"applied_multiplier\";i:10;s:19:\"supplier_profile_id\";s:1:\"1\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}s:8:\"no_class\";i:0;}}}}s:13:\"total_charges\";i:560;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";i:560;s:16:\"hotel_name_ascii\";s:11:\"rategainone\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}}');
[12/23/2020 05:30:37], [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('3079','2021-01-02 05:30:00','2021-01-02 05:30:00','1970-01-01 00:00:00','1970-01-01 00:00:00','50','560','0','2020-12-23 05:30:37','');
[12/23/2020 05:30:37], [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 = '3079';
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3079',  room_id= '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '50',  native_rate= '50',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-12-23 05:30:37' ;
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3079' where  id ='3079';
[12/23/2020 05:30:37], [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 = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-01-07';
[12/23/2020 05:30:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[12/23/2020 05:30:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3079', config_key = 'BOOKING OTP', config_value = 'mzR8Blru';;
[12/23/2020 05:30:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103079 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 40896 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:30:38';
[12/23/2020 05:30:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3079','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:30:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3079','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:30:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3079',status='1' where reservation_id='1927' and booking_id ='0';
[12/23/2020 05:30:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3079' where agent_logs_id='516' and source_type='localsystem';
[12/23/2020 05:30:38], [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 ='3079',  create_date ='2020-12-23 05:30:38', supplier_tax='';
[12/23/2020 05:30:40], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103079 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27856 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:30:40';
[12/23/2020 05:30:40], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3079','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:30:40], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3079','nitin@qtechsoftware.com');
[12/23/2020 05:30:41], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= 'Special Remark / Request Added  For Booking ID-3079 - The Fabulous Getaway',from_email_id= 'sanket.desai@qtechsoftware.com',body= 'RGVhciBUZWFtICwgPGJyPjxici8+U3BlY2lhbCBSZW1hcmsgLyBSZXF1ZXN0IEFkZGVkICBGb3IgQm9va2luZyBJRC0gPGI+MzA3OSA8L2I+PGJyLz4gQmVsb3cgYXJlIHRoZSBEZXRhaWxzIDxicj48YnIvPk90aGVyIFJlbWFyayA6Tm8gU3BlY2lhbCBSZW1hcms8YnI+PGJyLz4=',to_email_id= '',cc= '',bcc= '',status= 'You must provide at least one recipient email address.',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:30:41';
[12/23/2020 05:30:41], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO mails_error_log set mailfrom='sanket.desai@qtechsoftware.com',mailsubject='Special Remark / Request Added  For Booking ID-3079 - The Fabulous Getaway',mailbody='Dear Team , &lt;br&gt;&lt;br/&gt;Special Remark / Request Added  For Booking ID- &lt;b&gt;3079 &lt;/b&gt;&lt;br/&gt; Below are the Details &lt;br&gt;&lt;br/&gt;Other Remark :No Special Remark&lt;br&gt;&lt;br/&gt;',mailto='',mailcc='',mailbcc='',mailattachment='',reason='You must provide at least one recipient email address.',date_time='2020-12-23 05:30:41';
[12/23/2020 05:30:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3079';
[12/23/2020 05:49:08], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '21' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '3' , ip = '203.194.99.133' , city = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2021/01/07' , departure_date = '2021/01/08' , nationality = '3' , nights = '1' , room_types = '2' , create_date = '2020-12-23 05:49:08' , site_id = '' , country_code = '106' , web_service = '' ;
[12/23/2020 05:49:12], [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-12-23 05:49:12', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '517');
[12/23/2020 05:49:12], [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-12-23 05:49:12', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '517');
[12/23/2020 05:49:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=1&local_hotel_code=53769&#039;,&#039;53771&#039;,&#039;53773&#039;,&#039;53775&#039;,&#039;53776&#039;,&#039;53742&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:49:11.221'
, 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 = '0.902'
, error_description = ''
, memory_used = '7908976'
WHERE id = '3371';
[12/23/2020 05:49:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=0&local_hotel_code=2&#039;,&#039;97&#039;,&#039;53716&#039;,&#039;53734&#039;,&#039;53735&#039;,&#039;53736&#039;,&#039;53737&#039;,&#039;53738&#039;,&#039;53739&#039;,&#039;53740&#039;,&#039;53741&#039;,&#039;53744&#039;,&#039;53745&#039;,&#039;53746&#039;,&#039;53747&#039;,&#039;53748&#039;,&#039;53749&#039;,&#039;53750&#039;,&#039;53751&#039;,&#039;53757&#039;,&#039;53758&#039;,&#039;53759&#039;,&#039;53766&#039;,&#039;53767&#039;,&#039;53768&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:49:11.252'
, 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 = '0.937'
, error_description = ''
, memory_used = '7910416'
WHERE id = '3372';
[12/23/2020 05:49:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=21&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e',
  duration = '1.454',
  merge_duration = '0.067',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.27',
  system_load_5_min = '1.02',
  system_load_15_min = '1.06',
  system_memory_usage = '89.48',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '517') + '8045016',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '517';
[12/23/2020 05:49:24], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608702564','203.194.99.133');
[12/23/2020 05:49:44], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608702584','203.194.99.133');
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1929', create_date = '2020-12-23 05:49:55', agent_id = '21', parent_agent_id = '21', agent_ref_no = '', nationality = 'Bahamian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '560', display_currency_code = 'INR', native_room_rate = '50', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2021/01/07', check_out_date = '2021/01/08', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'Sanket', leader_last_name = 'Booking', booking_branch_id = '3', expiration_date = '2021-01-02 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 560 INR applicable if cancelled after 02-Jan-2021 05:30 hrs.', supplier_cancellation_policy = '', status_date = '2020-12-23 05:49:55',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[12/23/2020 05:49:55], [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 ('3080','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '3'
        WHERE
        id='3080'
        ;
[12/23/2020 05:49:55], [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('3080','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2021/01/07','2021/01/08','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3080', booking_detail_id = '1218', room_type_code = '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241', 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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:50;s:17:\"nativeNightlyRate\";i:50;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 = '50', display_room_rate_total = '560', number_of_rooms = '1';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3080', booking_detail_id = '1218', rid = '1823', room = '0', salutations = 'Mr', first_name = 'Sanket', last_name = 'Booking', passenger_type = 'adult', age = '';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3080', booking_detail_id = '1218', rid = '1823', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set  special_remark = 'Special Remarks', itenirary_id = '', confirmation_number = '', display_discount = '0', current_status = 'confirmed', comment_contract = '', consultant_id = 'nitinalpha', sales_manager_id = '', admin_booked = '0', email_id = '', leader_phone = '', agent_currency_multiplier = '1.00000', ip_addr = '203.194.99.133', backoffice_user = 'tfg', customer_id = '', applied_multiplier='10', free_sale='',  applied_markup='12',  agent_markup='12',  basecurrency_multiplier='0.01533',  basecurrency_multiplier_native='0.27222',  parent_agent_id='21',  sub_agent_rate='0', agent_rate='560',  applicable_service_tax='0',  supplier_rate='50',  original_source='',  uid='e264012f28d7b45809b8aa07f71d7d82'  where id='3080';
[12/23/2020 05:49:55], [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 ='3080';
[12/23/2020 05:49:55], [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 = '3080';
[12/23/2020 05:49:55], [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('3080','2021-01-02 05:30:00','2021-01-02 05:30:00','50','560','0','2020-12-23 05:49:55');
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3080','','');
[12/23/2020 05:49:55], [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 ('3080','confirmed','2020-12-23 05:49:55','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Ankita  Rao(CD0021)','21','203.194.99.133','0','21');
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3080, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fe2da58cafcad578d0ebb03\";}s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:4:\"name\";s:11:\"RATEGAINONE\";s:14:\"local_hotel_id\";s:5:\"53773\";s:8:\"address1\";s:6:\"Mumbai\";s:8:\"latitude\";s:0:\"\";s:9:\"longitude\";s:0:\"\";s:4:\"city\";s:5:\"64440\";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:\"106\";s:16:\"rateCurrencyCode\";s:3:\"INR\";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:\"S000000241\";s:12:\"suppliername\";s:16:\"RateGainSupplier\";s:14:\"propertyRating\";s:3:\"5.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:50;s:17:\"nativeNightlyRate\";i:50;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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}}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:\"fc3008921a1bc8c4ea1a1959a4160e65\";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:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";i:560;s:20:\"sortingRoomTypeRates\";i:560;s:19:\"nativeRoomTypeRates\";i:50;s:12:\"offerApplied\";N;s:7:\"room_id\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:15:\"number_of_child\";i:0;s:13:\"NumberOfRooms\";i:1;s:10:\"supplierId\";s:10:\"S000000241\";s:12:\"supplierName\";s:16:\"RateGainSupplier\";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_53773_6627338\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";i:560;s:14:\"nativeRoomRate\";i:50;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_0_0_88556\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:12;s:18:\"applied_multiplier\";i:10;s:19:\"supplier_profile_id\";s:1:\"1\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}s:8:\"no_class\";i:0;}}}}s:13:\"total_charges\";i:560;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";i:560;s:16:\"hotel_name_ascii\";s:11:\"rategainone\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}}');
[12/23/2020 05:49:55], [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('3080','2021-01-02 05:30:00','2021-01-02 05:30:00','1970-01-01 00:00:00','1970-01-01 00:00:00','50','560','0','2020-12-23 05:49:55','');
[12/23/2020 05:49:55], [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 = '3080';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3080',  room_id= '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '50',  native_rate= '50',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-12-23 05:49:55' ;
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3080' where  id ='3080';
[12/23/2020 05:49:55], [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 = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-01-07';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3080', config_key = 'BOOKING OTP', config_value = 'oh6iethI';;
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103080 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 40892 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:49:55';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3080','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3080','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3080',status='1' where reservation_id='1929' and booking_id ='0';
[12/23/2020 05:49:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3080' where agent_logs_id='517' and source_type='localsystem';
[12/23/2020 05:49:55], [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 ='3080',  create_date ='2020-12-23 05:49:55', supplier_tax='';
[12/23/2020 05:49:56], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103080 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27852 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:49:56';
[12/23/2020 05:49:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3080','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:49:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3080','nitin@qtechsoftware.com');
[12/23/2020 05:49:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= 'Special Remark / Request Added  For Booking ID-3080 - The Fabulous Getaway',from_email_id= 'sanket.desai@qtechsoftware.com',body= 'RGVhciBUZWFtICwgPGJyPjxici8+U3BlY2lhbCBSZW1hcmsgLyBSZXF1ZXN0IEFkZGVkICBGb3IgQm9va2luZyBJRC0gPGI+MzA4MCA8L2I+PGJyLz4gQmVsb3cgYXJlIHRoZSBEZXRhaWxzIDxicj48YnIvPk90aGVyIFJlbWFyayA6U3BlY2lhbCBSZW1hcmtzPGJyPjxici8+',to_email_id= '',cc= '',bcc= '',status= 'You must provide at least one recipient email address.',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:49:57';
[12/23/2020 05:49:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO mails_error_log set mailfrom='sanket.desai@qtechsoftware.com',mailsubject='Special Remark / Request Added  For Booking ID-3080 - The Fabulous Getaway',mailbody='Dear Team , &lt;br&gt;&lt;br/&gt;Special Remark / Request Added  For Booking ID- &lt;b&gt;3080 &lt;/b&gt;&lt;br/&gt; Below are the Details &lt;br&gt;&lt;br/&gt;Other Remark :Special Remarks&lt;br&gt;&lt;br/&gt;',mailto='',mailcc='',mailbcc='',mailattachment='',reason='You must provide at least one recipient email address.',date_time='2020-12-23 05:49:57';
[12/23/2020 05:49:59], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3080';
[12/23/2020 05:54:41], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '21' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '3' , ip = '203.194.99.133' , city = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2021/01/07' , departure_date = '2021/01/08' , nationality = '3' , nights = '1' , room_types = '2' , create_date = '2020-12-23 05:54:41' , site_id = '' , country_code = '106' , web_service = '' ;
[12/23/2020 05:54:45], [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-12-23 05:54:45', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '518');
[12/23/2020 05:54:45], [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-12-23 05:54:45', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '518');
[12/23/2020 05:54:45], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=1&local_hotel_code=53769&#039;,&#039;53771&#039;,&#039;53773&#039;,&#039;53775&#039;,&#039;53776&#039;,&#039;53742&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:54:44.243'
, 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 = '0.827'
, error_description = ''
, memory_used = '7908976'
WHERE id = '3373';
[12/23/2020 05:54:45], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=0&local_hotel_code=2&#039;,&#039;97&#039;,&#039;53716&#039;,&#039;53734&#039;,&#039;53735&#039;,&#039;53736&#039;,&#039;53737&#039;,&#039;53738&#039;,&#039;53739&#039;,&#039;53740&#039;,&#039;53741&#039;,&#039;53744&#039;,&#039;53745&#039;,&#039;53746&#039;,&#039;53747&#039;,&#039;53748&#039;,&#039;53749&#039;,&#039;53750&#039;,&#039;53751&#039;,&#039;53757&#039;,&#039;53758&#039;,&#039;53759&#039;,&#039;53766&#039;,&#039;53767&#039;,&#039;53768&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:54:44.175'
, 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 = '0.931'
, error_description = ''
, memory_used = '7910416'
WHERE id = '3374';
[12/23/2020 05:54:45], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=21&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e',
  duration = '1.413',
  merge_duration = '0.103',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.10',
  system_load_5_min = '0.52',
  system_load_15_min = '0.83',
  system_memory_usage = '89.51',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '518') + '8045016',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '518';
[12/23/2020 05:55:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608702903','203.194.99.133');
[12/23/2020 05:55:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608702920','203.194.99.133');
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1931', create_date = '2020-12-23 05:55:25', agent_id = '21', parent_agent_id = '21', agent_ref_no = '', nationality = 'Bahamian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '560', display_currency_code = 'INR', native_room_rate = '50', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2021/01/07', check_out_date = '2021/01/08', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'Sanket', leader_last_name = 'Booking', booking_branch_id = '3', expiration_date = '2021-01-02 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 560 INR applicable if cancelled after 02-Jan-2021 05:30 hrs.', supplier_cancellation_policy = '', status_date = '2020-12-23 05:55:25',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[12/23/2020 05:55:25], [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 ('3081','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '3'
        WHERE
        id='3081'
        ;
[12/23/2020 05:55:25], [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('3081','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2021/01/07','2021/01/08','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3081', booking_detail_id = '1219', room_type_code = '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241', 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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:50;s:17:\"nativeNightlyRate\";i:50;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 = '50', display_room_rate_total = '560', number_of_rooms = '1';
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3081', booking_detail_id = '1219', rid = '1824', room = '0', salutations = 'Mr', first_name = 'Sanket', last_name = 'Booking', passenger_type = 'adult', age = '';
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3081', booking_detail_id = '1219', rid = '1824', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[12/23/2020 05:55:25], [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 = '', admin_booked = '0', email_id = '', leader_phone = '', agent_currency_multiplier = '1.00000', ip_addr = '203.194.99.133', backoffice_user = 'tfg', customer_id = '', applied_multiplier='10', free_sale='',  applied_markup='12',  agent_markup='12',  basecurrency_multiplier='0.01533',  basecurrency_multiplier_native='0.27222',  parent_agent_id='21',  sub_agent_rate='0', agent_rate='560',  applicable_service_tax='0',  supplier_rate='50',  original_source='',  uid='4603837fff1ee177ea4087c5cbee5441'  where id='3081';
[12/23/2020 05:55:25], [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 ='3081';
[12/23/2020 05:55:25], [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 = '3081';
[12/23/2020 05:55:25], [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('3081','2021-01-02 05:30:00','2021-01-02 05:30:00','50','560','0','2020-12-23 05:55:25');
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3081','','');
[12/23/2020 05:55:25], [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 ('3081','confirmed','2020-12-23 05:55:25','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Ankita  Rao(CD0021)','21','203.194.99.133','0','21');
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3081, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fe2dba5454f0e1b0640e3b3\";}s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:4:\"name\";s:11:\"RATEGAINONE\";s:14:\"local_hotel_id\";s:5:\"53773\";s:8:\"address1\";s:6:\"Mumbai\";s:8:\"latitude\";s:0:\"\";s:9:\"longitude\";s:0:\"\";s:4:\"city\";s:5:\"64440\";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:\"106\";s:16:\"rateCurrencyCode\";s:3:\"INR\";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:\"S000000241\";s:12:\"suppliername\";s:16:\"RateGainSupplier\";s:14:\"propertyRating\";s:3:\"5.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:50;s:17:\"nativeNightlyRate\";i:50;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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}}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:\"fc3008921a1bc8c4ea1a1959a4160e65\";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:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";i:560;s:20:\"sortingRoomTypeRates\";i:560;s:19:\"nativeRoomTypeRates\";i:50;s:12:\"offerApplied\";N;s:7:\"room_id\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:15:\"number_of_child\";i:0;s:13:\"NumberOfRooms\";i:1;s:10:\"supplierId\";s:10:\"S000000241\";s:12:\"supplierName\";s:16:\"RateGainSupplier\";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_53773_6630067\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";i:560;s:14:\"nativeRoomRate\";i:50;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_0_0_98732\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:12;s:18:\"applied_multiplier\";i:10;s:19:\"supplier_profile_id\";s:1:\"1\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}s:8:\"no_class\";i:0;}}}}s:13:\"total_charges\";i:560;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";i:560;s:16:\"hotel_name_ascii\";s:11:\"rategainone\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}}');
[12/23/2020 05:55:25], [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('3081','2021-01-02 05:30:00','2021-01-02 05:30:00','1970-01-01 00:00:00','1970-01-01 00:00:00','50','560','0','2020-12-23 05:55:25','');
[12/23/2020 05:55:25], [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 = '3081';
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3081',  room_id= '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '50',  native_rate= '50',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-12-23 05:55:25' ;
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3081' where  id ='3081';
[12/23/2020 05:55:25], [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 = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-01-07';
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[12/23/2020 05:55:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3081', config_key = 'BOOKING OTP', config_value = 'HvAEI0vt';;
[12/23/2020 05:55:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103081 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 40832 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:55:26';
[12/23/2020 05:55:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3081','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:55:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3081','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:55:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3081',status='1' where reservation_id='1931' and booking_id ='0';
[12/23/2020 05:55:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3081' where agent_logs_id='518' and source_type='localsystem';
[12/23/2020 05:55:26], [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 ='3081',  create_date ='2020-12-23 05:55:26', supplier_tax='';
[12/23/2020 05:55:27], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103081 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27096 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:55:27';
[12/23/2020 05:55:27], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3081','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:55:27], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3081','nitin@qtechsoftware.com');
[12/23/2020 05:59:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '21' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '3' , ip = '203.194.99.133' , city = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2021/01/07' , departure_date = '2021/01/08' , nationality = '3' , nights = '1' , room_types = '2' , create_date = '2020-12-23 05:59:02' , site_id = '' , country_code = '106' , web_service = '' ;
[12/23/2020 05:59:05], [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-12-23 05:59:05', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '519');
[12/23/2020 05:59:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=0&local_hotel_code=2&#039;,&#039;97&#039;,&#039;53716&#039;,&#039;53734&#039;,&#039;53735&#039;,&#039;53736&#039;,&#039;53737&#039;,&#039;53738&#039;,&#039;53739&#039;,&#039;53740&#039;,&#039;53741&#039;,&#039;53744&#039;,&#039;53745&#039;,&#039;53746&#039;,&#039;53747&#039;,&#039;53748&#039;,&#039;53749&#039;,&#039;53750&#039;,&#039;53751&#039;,&#039;53757&#039;,&#039;53758&#039;,&#039;53759&#039;,&#039;53766&#039;,&#039;53767&#039;,&#039;53768&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:59:04.217'
, 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.422'
, error_description = ''
, memory_used = '7910416'
WHERE id = '3375';
[12/23/2020 05:59:05], [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-12-23 05:59:05', '', 'e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e', '519');
[12/23/2020 05:59:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e&xml_user_id=21&request_no=1&local_hotel_code=53769&#039;,&#039;53771&#039;,&#039;53773&#039;,&#039;53775&#039;,&#039;53776&#039;,&#039;53742&web_service=no&site_id='
, http_hit_time = '2020-12-23 05:59:04.220'
, 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.506'
, error_description = ''
, memory_used = '7908976'
WHERE id = '3376';
[12/23/2020 05:59:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=21&sessionid=e211f40cc34b6d91e572d01943e6477aee9e9a1918fbf7722dfaa2d7cad1589e',
  duration = '2.079',
  merge_duration = '0.073',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.30',
  system_load_5_min = '0.45',
  system_load_15_min = '0.73',
  system_memory_usage = '89.53',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '519') + '8045016',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '519';
[12/23/2020 05:59:16], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608703156','203.194.99.133');
[12/23/2020 05:59:41], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1608703181','203.194.99.133');
[12/23/2020 05:59:46], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1933', create_date = '2020-12-23 05:59:46', agent_id = '21', parent_agent_id = '21', agent_ref_no = '', nationality = 'Bahamian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '560', display_currency_code = 'INR', native_room_rate = '50', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2021/01/07', check_out_date = '2021/01/08', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'Sanket', leader_last_name = 'Booking', booking_branch_id = '3', expiration_date = '2021-01-02 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 560 INR applicable if cancelled after 02-Jan-2021 05:30 hrs.', supplier_cancellation_policy = '', status_date = '2020-12-23 05:59:46',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[12/23/2020 05:59:46], [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 ('3082','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '3'
        WHERE
        id='3082'
        ;
[12/23/2020 05:59:47], [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('3082','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2021/01/07','2021/01/08','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3082', booking_detail_id = '1220', room_type_code = '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241', 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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:50;s:17:\"nativeNightlyRate\";i:50;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 = '50', display_room_rate_total = '560', number_of_rooms = '1';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3082', booking_detail_id = '1220', rid = '1825', room = '0', salutations = 'Mr', first_name = 'Sanket', last_name = 'Booking', passenger_type = 'adult', age = '';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3082', booking_detail_id = '1220', rid = '1825', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set  special_remark = 'Special Remark', itenirary_id = '', confirmation_number = '', display_discount = '0', current_status = 'confirmed', comment_contract = '', consultant_id = 'nitinalpha', sales_manager_id = '', admin_booked = '0', email_id = 'sanket.desai@qtechsoftware.com', leader_phone = '99756737547', agent_currency_multiplier = '1.00000', ip_addr = '203.194.99.133', backoffice_user = 'tfg', customer_id = '', applied_multiplier='10', free_sale='',  applied_markup='12',  agent_markup='12',  basecurrency_multiplier='0.01533',  basecurrency_multiplier_native='0.27222',  parent_agent_id='21',  sub_agent_rate='0', agent_rate='560',  applicable_service_tax='0',  supplier_rate='50',  original_source='',  uid='9c06a59037263c183099ebc0bde1cc2f'  where id='3082';
[12/23/2020 05:59:47], [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 ='3082';
[12/23/2020 05:59:47], [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 = '3082';
[12/23/2020 05:59:47], [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('3082','2021-01-02 05:30:00','2021-01-02 05:30:00','50','560','0','2020-12-23 05:59:47');
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3082','','');
[12/23/2020 05:59:47], [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 ('3082','confirmed','2020-12-23 05:59:47','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Ankita  Rao(CD0021)','21','203.194.99.133','0','21');
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3082, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fe2dca94759b77c5c289ba3\";}s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:4:\"name\";s:11:\"RATEGAINONE\";s:14:\"local_hotel_id\";s:5:\"53773\";s:8:\"address1\";s:6:\"Mumbai\";s:8:\"latitude\";s:0:\"\";s:9:\"longitude\";s:0:\"\";s:4:\"city\";s:5:\"64440\";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:\"106\";s:16:\"rateCurrencyCode\";s:3:\"INR\";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:\"S000000241\";s:12:\"suppliername\";s:16:\"RateGainSupplier\";s:14:\"propertyRating\";s:3:\"5.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:50;s:17:\"nativeNightlyRate\";i:50;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\";i:560;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:182:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 50 AED, Currency Multiplier (AED-INR) - 10 Supplier Commission-0 #localsystem Agent Hotel Category Markup=12.00 %\";}}}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:\"fc3008921a1bc8c4ea1a1959a4160e65\";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:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";i:560;s:20:\"sortingRoomTypeRates\";i:560;s:19:\"nativeRoomTypeRates\";i:50;s:12:\"offerApplied\";N;s:7:\"room_id\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:49:\"2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241\";s:15:\"number_of_child\";i:0;s:13:\"NumberOfRooms\";i:1;s:10:\"supplierId\";s:10:\"S000000241\";s:12:\"supplierName\";s:16:\"RateGainSupplier\";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_53773_8956296\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";i:560;s:14:\"nativeRoomRate\";i:50;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_0_0_46720\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"INR\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:12;s:18:\"applied_multiplier\";i:10;s:19:\"supplier_profile_id\";s:1:\"1\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}s:8:\"no_class\";i:0;}}}}s:13:\"total_charges\";i:560;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";i:560;s:16:\"hotel_name_ascii\";s:11:\"rategainone\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}}');
[12/23/2020 05:59:47], [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('3082','2021-01-02 05:30:00','2021-01-02 05:30:00','1970-01-01 00:00:00','1970-01-01 00:00:00','50','560','0','2020-12-23 05:59:47','');
[12/23/2020 05:59:47], [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 = '3082';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3082',  room_id= '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '50',  native_rate= '50',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-12-23 05:59:47' ;
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3082' where  id ='3082';
[12/23/2020 05:59:47], [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 = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-01-07';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3082', config_key = 'BOOKING OTP', config_value = 'oQWtOTkh';;
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103082 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 40892 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:59:47';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3082','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3082','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3082',status='1' where reservation_id='1933' and booking_id ='0';
[12/23/2020 05:59:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3082' where agent_logs_id='519' and source_type='localsystem';
[12/23/2020 05:59:47], [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 ='3082',  create_date ='2020-12-23 05:59:47', supplier_tax='';
[12/23/2020 05:59:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103082 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27852 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:59:48';
[12/23/2020 05:59:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3082','snehal.valanju@qtechsoftware.com');
[12/23/2020 05:59:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3082','nitin@qtechsoftware.com');
[12/23/2020 05:59:49], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= 'Special Remark / Request Added  For Booking ID-3082 - The Fabulous Getaway',from_email_id= 'sanket.desai@qtechsoftware.com',body= 'RGVhciBUZWFtICwgPGJyPjxici8+U3BlY2lhbCBSZW1hcmsgLyBSZXF1ZXN0IEFkZGVkICBGb3IgQm9va2luZyBJRC0gPGI+MzA4MiA8L2I+PGJyLz4gQmVsb3cgYXJlIHRoZSBEZXRhaWxzIDxicj48YnIvPk90aGVyIFJlbWFyayA6U3BlY2lhbCBSZW1hcms8YnI+PGJyLz4=',to_email_id= '',cc= '',bcc= '',status= 'You must provide at least one recipient email address.',page_url= '/confirm_booking.php',create_date= '2020-12-23 05:59:49';
[12/23/2020 05:59:49], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO mails_error_log set mailfrom='sanket.desai@qtechsoftware.com',mailsubject='Special Remark / Request Added  For Booking ID-3082 - The Fabulous Getaway',mailbody='Dear Team , &lt;br&gt;&lt;br/&gt;Special Remark / Request Added  For Booking ID- &lt;b&gt;3082 &lt;/b&gt;&lt;br/&gt; Below are the Details &lt;br&gt;&lt;br/&gt;Other Remark :Special Remark&lt;br&gt;&lt;br/&gt;',mailto='',mailcc='',mailbcc='',mailattachment='',reason='You must provide at least one recipient email address.',date_time='2020-12-23 05:59:49';
[12/23/2020 05:59:50], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3082';
