[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],DELETE FROM agent_supplier_settings WHERE 1  and agent_id= ? ;
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],INSERT INTO agent_supplier_settings SET agent_id = '25',supplier_id = '1' ,status = '1' ,priority = '0.00' ,branch_id = '',percentage = '0.00',visible_supplier_on_voucher = '0',lead_time = '0';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],INSERT INTO agent_supplier_settings SET agent_id = '25',supplier_id = '6' ,status = '' ,priority = '0.00' ,branch_id = '',percentage = '0.00',visible_supplier_on_voucher = '0',lead_time = '0';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],INSERT INTO agent_supplier_settings SET agent_id = '25',supplier_id = '3' ,status = '1' ,priority = '0.00' ,branch_id = '',percentage = '0.00',visible_supplier_on_voucher = '0',lead_time = '0';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],INSERT INTO agent_supplier_settings SET agent_id = '25',supplier_id = '2' ,status = '1' ,priority = '0.00' ,branch_id = '',percentage = '0.00',visible_supplier_on_voucher = '0',lead_time = '0';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],INSERT INTO agent_supplier_settings SET agent_id = '25',supplier_id = '4' ,status = '' ,priority = '0.00' ,branch_id = '',percentage = '0.00',visible_supplier_on_voucher = '0',lead_time = '0';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],INSERT INTO agent_supplier_settings SET agent_id = '25',supplier_id = '5' ,status = '1' ,priority = '0.00' ,branch_id = '',percentage = '0.00',visible_supplier_on_voucher = '0',lead_time = '0';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:08:19',`log_type`= 'Agent Supplier settings',`sql_query`= '======INSERT INTO agent_supplier_settings SET agent_id = \&#039;25\&#039;,supplier_id = 1 ,status = \&#039;1\&#039; ,priority = \&#039;0.00\&#039; ,branch_id = \&#039;\&#039;,percentage = \&#039;0.00\&#039;,visible_supplier_on_voucher = \&#039;0\&#039;,lead_time = \&#039;0\&#039;======INSERT INTO agent_supplier_settings SET agent_id = \&#039;25\&#039;,supplier_id = 6 ,status = \&#039;\&#039; ,priority = \&#039;0.00\&#039; ,branch_id = \&#039;\&#039;,percentage = \&#039;0.00\&#039;,visible_supplier_on_voucher = \&#039;0\&#039;,lead_time = \&#039;0\&#039;======INSERT INTO agent_supplier_settings SET agent_id = \&#039;25\&#039;,supplier_id = 3 ,status = \&#039;1\&#039; ,priority = \&#039;0.00\&#039; ,branch_id = \&#039;\&#039;,percentage = \&#039;0.00\&#039;,visible_supplier_on_voucher = \&#039;0\&#039;,lead_time = \&#039;0\&#039;======INSERT INTO agent_supplier_settings SET agent_id = \&#039;25\&#039;,supplier_id = 2 ,status = \&#039;1\&#039; ,priority = \&#039;0.00\&#039; ,branch_id = \&#039;\&#039;,percentage = \&#039;0.00\&#039;,visible_supplier_on_voucher = \&#039;0\&#039;,lead_time = \&#039;0\&#039;======INSERT INTO agent_supplier_settings SET agent_id = \&#039;25\&#039;,supplier_id = 4 ,status = \&#039;\&#039; ,priority = \&#039;0.00\&#039; ,branch_id = \&#039;\&#039;,percentage = \&#039;0.00\&#039;,visible_supplier_on_voucher = \&#039;0\&#039;,lead_time = \&#039;0\&#039;======INSERT INTO agent_supplier_settings SET agent_id = \&#039;25\&#039;,supplier_id = 5 ,status = \&#039;1\&#039; ,priority = \&#039;0.00\&#039; ,branch_id = \&#039;\&#039;,percentage = \&#039;0.00\&#039;,visible_supplier_on_voucher = \&#039;0\&#039;,lead_time = \&#039;0\&#039;',`log_description`= 'Supplier setting updated  Previous data-- agent_id-25 ## supplier_id- 1 ## company_name - Contracted Hotels ## supplier_code-localsystem  ## percentage - 0.00 ## lead_time - 0 ==&lt;br&gt;== agent_id-25 ## supplier_id- 2 ## company_name - Contracted Sightseeing ## supplier_code-localsightseeing  ## percentage - 0.00 ## lead_time - 0 ==&lt;br&gt;== agent_id-25 ## supplier_id- 3 ## company_name - Contracted Transfer ## supplier_code-localtransfer  ## percentage - 0.00 ## lead_time - 0 ==&lt;br&gt;== agent_id-25 ## supplier_id- 5 ## company_name - Misc Services ## supplier_code-misc  ## percentage - 0.00 ## lead_time - 0 ',`ip`= '60.254.5.70';
[11/09/2020 10:08:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/agent.php],insert into user_log_link Set `user_logs_id`='3890', `entity`='Agents', `value`='25' ;
[11/09/2020 10:08:46], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],update agents set last_login_date = '2020-11-09 10:08:46',login_attempt=0 where id = '25';
[11/09/2020 10:08:46], [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-11-09 10:08:46', ip = '60.254.5.70', action = 'Login' ;
[11/09/2020 10:09:11], [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 = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2020/11/09' , departure_date = '2020/11/10' , nationality = '106' , nights = '1' , room_types = '2' , create_date = '2020-11-09 10:09:11' , site_id = '' , country_code = '106' , web_service = '' ;
[11/09/2020 10:09:16], [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-11-09 10:09:16', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '473');
[11/09/2020 10:09:16], [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-11-09 10:09:16', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '473');
[11/09/2020 10:09:16], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:09:15.619'
, 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.020'
, error_description = ''
, memory_used = '7908600'
WHERE id = '3256';
[11/09/2020 10:09:16], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:09:15.625'
, 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.093'
, error_description = ''
, memory_used = '7910040'
WHERE id = '3257';
[11/09/2020 10:09:16], [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=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f',
  duration = '1.703',
  merge_duration = '0.062',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.59',
  system_load_5_min = '1.87',
  system_load_15_min = '2.30',
  system_memory_usage = '85.25',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '473') + '8043040',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '473';
[11/09/2020 10:09:27], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604916567','60.254.5.70');
[11/09/2020 10:09:51], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604916591','60.254.5.70');
[11/09/2020 10:09:56], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1874', create_date = '2020-11-09 10:09:56', agent_id = '25', parent_agent_id = '25', agent_ref_no = '', nationality = 'Indian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '56.08', display_currency_code = 'USD', native_room_rate = '200', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2020/11/09', check_out_date = '2020/11/10', sub_user_id = '', booking_status = '1', leader_title = 'Mrs', leader_first_name = 'Snehal', leader_last_name = 'TestOne', booking_branch_id = '1', expiration_date = '2020-11-07 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 56.08 USD applicable if cancelled after 06-Nov-2020 14:00 hrs.', supplier_cancellation_policy = '', status_date = '2020-11-09 10:09:56',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[11/09/2020 10:09:56], [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 ('3057','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[11/09/2020 10:09:56], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '1'
        WHERE
        id='3057'
        ;
[11/09/2020 10:09:56], [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('3057','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2020/11/09','2020/11/10','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[11/09/2020 10:09:56], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3057', booking_detail_id = '1195', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', room_type_description = 'Superior Room  -Bed & Breakfast : 2 Pax ', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:\"displayNightlyRate\";d:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:200;s:17:\"nativeNightlyRate\";i:200;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 = '200', display_room_rate_total = '56.08', number_of_rooms = '1';
[11/09/2020 10:09:56], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3057', booking_detail_id = '1195', rid = '1789', room = '0', salutations = 'Mrs', first_name = 'Snehal', last_name = 'TestOne', passenger_type = 'adult', age = '';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3057', booking_detail_id = '1195', rid = '1789', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[11/09/2020 10:09:57], [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 = '1.00000', ip_addr = '60.254.5.70', backoffice_user = 'tfg', customer_id = '', applied_multiplier='0.27222', free_sale='',  applied_markup='3',  agent_markup='3',  basecurrency_multiplier='1.00000',  basecurrency_multiplier_native='0.27222',  parent_agent_id='25',  sub_agent_rate='0', agent_rate='56.08',  applicable_service_tax='0',  supplier_rate='200',  original_source='',  uid='7741abaa98c29c63799fd39fd7ccf074'  where id='3057';
[11/09/2020 10:09:57], [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 ='3057';
[11/09/2020 10:09:57], [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('3057','2020-11-06 14:00:00','2020-11-06 14:00:00','200','56.08','0','2020-11-09 10:09:57');
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3057','','');
[11/09/2020 10:09:57], [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 ('3057','confirmed','2020-11-09 10:09:57','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','0','25');
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3057, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fa9154ce7de2525ba54fd87\";}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:\"USD\";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:2:{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:150;s:17:\"nativeNightlyRate\";i:150;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:42.06;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 150 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"037e7bd5fb1b575e7f3fcbfc00768643\";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:0;s:9:\"free_sale\";N;s:7:\"minStay\";s:1:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:42.06;s:20:\"sortingRoomTypeRates\";i:420600;s:19:\"nativeRoomTypeRates\";i:150;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:35:\"Standard  -Bed & Breakfast : 2 Pax \";s:14:\"non_refundable\";s:1:\"0\";s:15:\"class_unique_id\";s:17:\"0_0_53773_1715883\";}}s:9:\"available\";i:0;s:15:\"displayRoomRate\";d:42.06;s:14:\"nativeRoomRate\";i:150;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_0_17467\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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;}}i:1;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:200;s:17:\"nativeNightlyRate\";i:200;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:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"eda31a57da406d5dfabcf7713023ac7d\";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:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:56.08;s:20:\"sortingRoomTypeRates\";d:56.08;s:19:\"nativeRoomTypeRates\";i:200;s:12:\"offerApplied\";N;s:7:\"room_id\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~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:18:\"Superior Room Room\";s:9:\"room_type\";s:40:\"Superior Room  -Bed & Breakfast : 2 Pax \";s:14:\"non_refundable\";s:1:\"0\";s:15:\"class_unique_id\";s:17:\"1_1_53773_8574320\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";d:56.08;s:14:\"nativeRoomRate\";i:200;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_1_29837\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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\";d:56.08;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";d:56.08;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\";}}');
[11/09/2020 10:09:57], [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('3057','2020-11-06 14:00:00','2020-11-06 14:00:00','1970-01-01 00:00:00','1970-01-01 00:00:00','200','56.08','0','2020-11-09 10:09:57','');
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3057',  room_id= '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '200',  native_rate= '200',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-11-09 10:09:57' ;
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3057' where  id ='3057';
[11/09/2020 10:09:57], [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 = '20' and supplier_id = 'S000000241' and date_from = '2020-11-09';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3057', config_key = 'BOOKING OTP', config_value = 'O1o5zVlr';;
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103057 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 39780 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:09:57';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3057','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3057','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3057',status='1' where reservation_id='1874' and booking_id ='0';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3057' where agent_logs_id='473' and source_type='localsystem';
[11/09/2020 10:09:57], [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 ='3057',  create_date ='2020-11-09 10:09:57', supplier_tax='';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set voucher_id='Test123',status_date='2020-11-09 10:09:57',current_status='vouchered',voucher_hashcode='8ed8458c926ae0261e469f2fe24b56d8181923057',vouchered_by ='' where id='3057';
[11/09/2020 10:09:57], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],Insert into booking_configuration set booking_id='3057',config_key='VOUCHER_DATE', config_value='2020-11-09 10:09:57',create_date='2020-11-09 10:09:57';
[11/09/2020 10:09:57], [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
        ('','','3057','vouchered','2020-11-09 10:09:57','Voucherd by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','','','');
[11/09/2020 10:09:58], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103057 /  Booking Vouchered ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27500 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:09:58';
[11/09/2020 10:09:58], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3057','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:09:58], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3057','nitin@qtechsoftware.com');
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],UPDATE hotel_supplier_mapping SET channel_manager = 'rategain',ip_addr='60.254.5.70' WHERE SupplierId = 'S000000241' AND hotel_id = '53773' AND status = 'A';
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:11:28',`log_type`= 'Channel Manager updated',`sql_query`= 'UPDATE hotel_supplier_mapping SET channel_manager = \&#039;rategain\&#039;,ip_addr=\&#039;60.254.5.70\&#039; WHERE SupplierId = \&#039;S000000241\&#039; AND hotel_id = \&#039;53773\&#039; AND status = \&#039;A\&#039;',`log_description`= 'Channel Manager updated by User tfg',`ip`= '60.254.5.70';
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:11:28',`log_type`= 'Channel Manager updated',`sql_query`= 'UPDATE hotel_supplier_mapping SET channel_manager = \&#039;rategain\&#039;,ip_addr=\&#039;60.254.5.70\&#039; WHERE SupplierId = \&#039;S000000241\&#039; AND hotel_id = \&#039;53773\&#039; AND status = \&#039;A\&#039;',`log_description`= 'Channel Manager updated by User tfg',`ip`= '60.254.5.70';
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into user_log_link Set `user_logs_id`='3892', `entity`='Hotels', `value`='53773' ;
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into user_log_link Set `user_logs_id`='3892', `entity`='Suppliers', `value`='S000000241' ;
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],UPDATE hotels SET weekend='6,7',infant_lower_limit=NULL,infant_upper_limit=NULL,tiny_child_lower_limit=NULL,tiny_child_upper_limit=NULL,child_lower_limit=NULL,child_upper_limit=NULL,teen_child_lower_limit=NULL,teen_child_upper_limit=NULL,booking_closing_time='',timezone='5.5' where id= '53773';
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:11:28',`log_type`= 'Hotel Details updated',`sql_query`= 'UPDATE hotels SET weekend=\&#039;6,7\&#039;,infant_lower_limit=NULL,infant_upper_limit=NULL,tiny_child_lower_limit=NULL,tiny_child_upper_limit=NULL,child_lower_limit=NULL,child_upper_limit=NULL,teen_child_lower_limit=NULL,teen_child_upper_limit=NULL,booking_closing_time=\&#039;\&#039;,timezone=\&#039;5.5\&#039; where id= \&#039;53773\&#039;',`log_description`= 'Hotel Details updated by User tfg',`ip`= '60.254.5.70';
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:11:28',`log_type`= 'Hotel Details updated',`sql_query`= 'UPDATE hotels SET weekend=\&#039;6,7\&#039;,infant_lower_limit=NULL,infant_upper_limit=NULL,tiny_child_lower_limit=NULL,tiny_child_upper_limit=NULL,child_lower_limit=NULL,child_upper_limit=NULL,teen_child_lower_limit=NULL,teen_child_upper_limit=NULL,booking_closing_time=\&#039;\&#039;,timezone=\&#039;5.5\&#039; where id= \&#039;53773\&#039;',`log_description`= 'Hotel Details updated by User tfg',`ip`= '60.254.5.70';
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into user_log_link Set `user_logs_id`='3894', `entity`='Hotels', `value`='53773' ;
[11/09/2020 10:11:28], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/hotels.php],insert into user_log_link Set `user_logs_id`='3894', `entity`='Suppliers', `value`='S000000241' ;
[11/09/2020 10:12: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 = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2020/11/10' , departure_date = '2020/11/11' , nationality = '106' , nights = '1' , room_types = '2' , create_date = '2020-11-09 10:12:00' , site_id = '' , country_code = '106' , web_service = '' ;
[11/09/2020 10:12:04], [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-11-09 10:12:04', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '474');
[11/09/2020 10:12:04], [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-11-09 10:12:04', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '474');
[11/09/2020 10:12:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:12:03.885'
, 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.084'
, error_description = ''
, memory_used = '7908976'
WHERE id = '3258';
[11/09/2020 10:12:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:12:03.886'
, 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.216'
, error_description = ''
, memory_used = '7910416'
WHERE id = '3259';
[11/09/2020 10:12: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=25&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f',
  duration = '2.305',
  merge_duration = '0.057',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '2.41',
  system_load_5_min = '2.65',
  system_load_15_min = '2.56',
  system_memory_usage = '85.43',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '474') + '8043456',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '474';
[11/09/2020 10:12:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604916740','60.254.5.70');
[11/09/2020 10:12:55], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604916775','60.254.5.70');
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1876', create_date = '2020-11-09 10:13:00', agent_id = '25', parent_agent_id = '25', agent_ref_no = '', nationality = 'Indian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '56.08', display_currency_code = 'USD', native_room_rate = '200', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2020/11/10', check_out_date = '2020/11/11', sub_user_id = '', booking_status = '1', leader_title = 'Mrs', leader_first_name = 'Snehal', leader_last_name = 'ReservationCaseOne', booking_branch_id = '1', expiration_date = '2020-11-08 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 56.08 USD applicable if cancelled after 07-Nov-2020 14:00 hrs.', supplier_cancellation_policy = '', status_date = '2020-11-09 10:13:00',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[11/09/2020 10:13:00], [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 ('3058','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '1'
        WHERE
        id='3058'
        ;
[11/09/2020 10:13:00], [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('3058','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2020/11/10','2020/11/11','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3058', booking_detail_id = '1196', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', room_type_description = 'Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:\"displayNightlyRate\";d:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:200;s:17:\"nativeNightlyRate\";i:200;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 = '200', display_room_rate_total = '56.08', number_of_rooms = '1';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3058', booking_detail_id = '1196', rid = '1790', room = '0', salutations = 'Mrs', first_name = 'Snehal', last_name = 'ReservationCaseOne', passenger_type = 'adult', age = '';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3058', booking_detail_id = '1196', rid = '1790', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[11/09/2020 10:13:00], [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 = '1.00000', ip_addr = '60.254.5.70', backoffice_user = 'tfg', customer_id = '', applied_multiplier='0.27222', free_sale='',  applied_markup='3',  agent_markup='3',  basecurrency_multiplier='1.00000',  basecurrency_multiplier_native='0.27222',  parent_agent_id='25',  sub_agent_rate='0', agent_rate='56.08',  applicable_service_tax='0',  supplier_rate='200',  original_source='',  uid='b2414517a34d534b253344ff7a488fff'  where id='3058';
[11/09/2020 10:13:00], [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 ='3058';
[11/09/2020 10:13:00], [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 = '3058';
[11/09/2020 10:13:00], [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('3058','2020-11-07 14:00:00','2020-11-07 14:00:00','200','56.08','0','2020-11-09 10:13:00');
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3058','','');
[11/09/2020 10:13:00], [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 ('3058','confirmed','2020-11-09 10:13:00','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','0','25');
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3058, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fa915f4fe9fc37cb51ce5cb\";}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:\"USD\";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:2:{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:150;s:17:\"nativeNightlyRate\";i:150;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:42.06;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 150 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"4d136a51cf2604a9f85787fe9673b60b\";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:0;s:9:\"free_sale\";N;s:7:\"minStay\";s:1:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:42.06;s:20:\"sortingRoomTypeRates\";i:420600;s:19:\"nativeRoomTypeRates\";i:150;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_9161697\";}}s:9:\"available\";i:0;s:15:\"displayRoomRate\";d:42.06;s:14:\"nativeRoomRate\";i:150;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_0_55621\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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;}}i:1;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:200;s:17:\"nativeNightlyRate\";i:200;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:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"a74fa35f087efe5bfe99794116c0dbb4\";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:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:56.08;s:20:\"sortingRoomTypeRates\";d:56.08;s:19:\"nativeRoomTypeRates\";i:200;s:12:\"offerApplied\";N;s:7:\"room_id\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~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:18:\"Superior Room Room\";s:9:\"room_type\";s:67:\"Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>\";s:14:\"non_refundable\";s:1:\"0\";s:15:\"class_unique_id\";s:16:\"1_1_53773_393445\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";d:56.08;s:14:\"nativeRoomRate\";i:200;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_1_54550\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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\";d:56.08;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";d:56.08;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\";}}');
[11/09/2020 10:13:00], [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('3058','2020-11-07 14:00:00','2020-11-07 14:00:00','1970-01-01 00:00:00','1970-01-01 00:00:00','200','56.08','0','2020-11-09 10:13:00','');
[11/09/2020 10:13:00], [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 = '3058';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3058',  room_id= '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '200',  native_rate= '200',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-11-09 10:13:00' ;
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3058' where  id ='3058';
[11/09/2020 10:13:00], [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 = '20' and supplier_id = 'S000000241' and date_from = '2020-11-10';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3058', config_key = 'BOOKING OTP', config_value = 'yKFB1U6Q';;
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103058 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 40188 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:13:00';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3058','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3058','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3058',status='1' where reservation_id='1876' and booking_id ='0';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3058' where agent_logs_id='474' and source_type='localsystem';
[11/09/2020 10:13:00], [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 ='3058',  create_date ='2020-11-09 10:13:00', supplier_tax='';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set voucher_id='Test123',status_date='2020-11-09 10:13:00',current_status='vouchered',voucher_hashcode='0604037688697c6cd4625701395502ea172363058',vouchered_by ='' where id='3058';
[11/09/2020 10:13:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],Insert into booking_configuration set booking_id='3058',config_key='VOUCHER_DATE', config_value='2020-11-09 10:13:00',create_date='2020-11-09 10:13:00';
[11/09/2020 10:13:01], [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
        ('','','3058','vouchered','2020-11-09 10:13:01','Voucherd by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','','','');
[11/09/2020 10:13:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103058 /  Booking Vouchered ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27864 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:13:02';
[11/09/2020 10:13:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3058','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:13:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3058','nitin@qtechsoftware.com');
[11/09/2020 10:13:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/crons/channel_manager_push_reservation.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3058';
[11/09/2020 10:16:57], [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-11-09 10:16:57', '', '', '');
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3058', agent_id ='25', itenirary_id ='3058', sequence = '', confirmation_number ='', payment_confirmation_no ='', voucher_id ='Test123', voucher_hashcode ='0604037688697c6cd4625701395502ea172363058', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='ReservationCaseOne', city_id ='mumbai', country_id ='106', display_room_rate ='56.080', native_room_rate ='200.000', native_currency_code ='AED', 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 56.08 USD applicable if cancelled after 07-Nov-2020 14:00 hrs.', supplier_cancellation_policy ='', current_status ='vouchered', booking_status ='1', status_date ='2020-11-09 10:13:00', create_date ='2020-11-09 10:13:00', source_type ='localsystem', expiration_date ='2020-11-08 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='56.080', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='200.000', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='nitinalpha', admin_booked ='1', emailed_status ='0', applied_multiplier ='0.27222', applied_markup ='3', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='3', wh_agent_markup ='0.000', basecurrency_multiplier ='1.00000', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='0.27222', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='1.00000', wh_agent_currency_multiplier ='1.000', modified_datetime ='2020-11-09 10:17:20', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-11-09 10:17:20', 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';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1196', old_reff_id ='539', booking_id ='3058', supplier_id ='S000000241', total_nights ='1', arrival_date ='2020/11/10', departure_date ='2020/11/11', hotel_id ='53773', hotel_name ='RATEGAINONE', hotel_address1 ='Mumbai', hotel_phone ='123456789', hotel_rating ='5.0', rate_code ='', touricoRoomResId ='', gta_item_confirm_ref ='', channel_manager ='rategain', reservation_pushed ='0', gtaToken ='';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6383', old_reff_id = '539', booking_id = '3058', booking_detail_id = '1196', salutations = 'Mrs', room = '0', rid = '1790', first_name = 'Snehal', last_name = 'ReservationCaseOne' ,passenger_type = 'adult' ,age = '';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6384', old_reff_id = '539', booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '0', rid = '1790', first_name = 'TBAA', last_name = 'TBAA' ,passenger_type = 'adult' ,age = '';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1790', old_reff_id = '539', booking_id = '3058', booking_detail_id = '1196', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', room_type_description = 'Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:"displayNightlyRate";d:56.08;s:16:"promotionDisplay";s:0:"";s:25:"displayNightlyRateDisplay";s:187:"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.00 %";}}' ,native_nightly_rates = 'a:1:{i:0;a:4:{s:19:"O_nativeNightlyRate";i:200;s:17:"nativeNightlyRate";i:200;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 = '200' ,display_room_rate_total = '56.08' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3058', booking_detail_id = '1196', room_type_code = '', room_name = 'doublepluschild', meal_basis = 'Bed & Breakfast', room_type_description = 'Double + 1 child - Bed & Breakfast', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"28.04";s:13:"whNightlyRate";s:5:"28.04";}}' ,native_nightly_rates = 'a:1:{i:0;a:1:{s:17:"nativeNightlyRate";s:3:"100";}}' ,native_room_rate_total = '100' ,display_room_rate_total = '28.04' ,number_of_rooms = '1';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '', rid = '1791', first_name = 'Adult', last_name = 'One' ,age = '';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '', rid = '1791', first_name = 'Adult', last_name = 'Two' ,age = '';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3058', booking_detail_id = '1196', salutations = 'child', room = '', rid = '1791', first_name = 'Baby', last_name = 'Three' ,passenger_type = 'child' ,age = '2';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],UPDATE bookings SET confirmation_number='',native_currency_code='AED',display_currency_code='USD',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 56.08 USD applicable if cancelled after 07-Nov-2020 14:00 hrs.                                ',supplier_cancellation_policy='',applied_multiplier='0.27222',applied_markup='3',agent_markup='3',consultant_id='tfg',basecurrency_multiplier='1.00000',basecurrency_multiplier_native='1.00000'_native,agent_currency_multiplier='1.00000',service_type_detail='RATEGAINONE',current_status='vouchered',status_date='2020-11-09 10:17:20',service_date='2020-11-12',check_out_date='2020-11-13',display_room_rate= '28.04',display_discount='0',modified_datetime='2020-11-09 10:17:20',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='ReservationCaseTwo',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-11-08 00:00:00',source_type='localsystem',leader_phone='',admin_note='',comment_contract='' WHERE id='3058';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:17:20',`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;3058\&#039;',`ip`= '60.254.5.70';
[11/09/2020 10:17:20], [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='28.04', agent_markup='3', supplier_rate='100', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='28.04' where id='3058';
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update bookings_details set total_nights='1' , supplier_id= 'S000000241' , total_rooms= '1', arrival_date='2020/11/12', departure_date='2020/11/13', rate_code='~', hotel_address1='Mumbai', hotel_name='RATEGAINONE', hotel_phone='123456789', reservation_pushed='2' where booking_id ='3058';
[11/09/2020 10:17:20], [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
        ('','','3058','vouchered','2020-11-09 10:17:20','Booking Modified by tfg','tfg','60.254.5.70','tfg','','');
[11/09/2020 10:17:20], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='0.27222' where booking_id='3058' and from_currency='USD' and to_currency='AED';
[11/09/2020 10:17:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/crons/channel_manager_push_reservation.php],update bookings_details set reservation_pushed = '4', channel_manager = 'rategain',room_type_description='' where booking_id = '3058';
[11/09/2020 10:18:15], [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-11-09 10:18:15', '', '', '');
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3058', agent_id ='25', itenirary_id ='3058', sequence = '', confirmation_number ='', payment_confirmation_no ='', voucher_id ='Test123', voucher_hashcode ='0604037688697c6cd4625701395502ea172363058', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='ReservationCaseTwo', city_id ='mumbai', country_id ='106', display_room_rate ='28.040', native_room_rate ='100.000', native_currency_code ='AED', 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.&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 56.08 USD applicable if cancelled after 07-Nov-2020 14:00 hrs.                                ', supplier_cancellation_policy ='', current_status ='vouchered', booking_status ='1', status_date ='2020-11-09 10:17:20', create_date ='2020-11-09 10:13:00', source_type ='localsystem', expiration_date ='2020-11-08 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='RATEGAINONE', native_rate ='', display_rate ='', agent_rate ='28.040', wh_sub_agent_rate ='0.000', wh_agent_rate ='28.040', supplier_rate ='100.000', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='tfg', admin_booked ='1', emailed_status ='0', applied_multiplier ='0.27222', applied_markup ='3', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='3', wh_agent_markup ='0.000', basecurrency_multiplier ='1.00000', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='0.27222', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='1.00000', wh_agent_currency_multiplier ='1.000', modified_datetime ='2020-11-09 10:18:33', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-11-09 10:18:33', sub_agent_rate ='0.000', discount_to_sub ='', 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';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1196', old_reff_id ='540', booking_id ='3058', supplier_id ='S000000241', total_nights ='1', arrival_date ='2020/11/12', departure_date ='2020/11/13', hotel_id ='53773', hotel_name ='RATEGAINONE', hotel_address1 ='Mumbai', hotel_phone ='123456789', hotel_rating ='5.0', rate_code ='~', touricoRoomResId ='', gta_item_confirm_ref ='', channel_manager ='rategain', reservation_pushed ='4', gtaToken ='';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6385', old_reff_id = '540', booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '0', rid = '1791', first_name = 'Adult', last_name = 'One' ,passenger_type = 'adult' ,age = '';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6386', old_reff_id = '540', booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '0', rid = '1791', first_name = 'Adult', last_name = 'Two' ,passenger_type = 'adult' ,age = '';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6387', old_reff_id = '540', booking_id = '3058', booking_detail_id = '1196', salutations = 'child', room = '0', rid = '1791', first_name = 'Baby', last_name = 'Three' ,passenger_type = 'child' ,age = '2';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1791', old_reff_id = '540', booking_id = '3058', booking_detail_id = '1196', room_type_code = '', room_name = 'doublepluschild', room_type_description = 'Double + 1 child - Bed & Breakfast', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"28.04";s:13:"whNightlyRate";s:5:"28.04";}}' ,native_nightly_rates = 'a:1:{i:0;a:1:{s:17:"nativeNightlyRate";s:3:"100";}}' ,native_room_rate_total = '100' ,display_room_rate_total = '28.04' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3058', booking_detail_id = '1196', room_type_code = '', room_name = 'double', meal_basis = 'Bed & Breakfast', room_type_description = 'Superior Room Room - Bed & Breakfast', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"56.08";s:13:"whNightlyRate";s:5:"56.08";}}' ,native_nightly_rates = 'a:1:{i:0;a:1:{s:17:"nativeNightlyRate";s:3:"200";}}' ,native_room_rate_total = '200' ,display_room_rate_total = '56.08' ,number_of_rooms = '1';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '', rid = '1792', first_name = 'TBA1', last_name = 'Test' ,age = '';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3058', booking_detail_id = '1196', salutations = 'Mr', room = '', rid = '1792', first_name = 'TBA2', last_name = 'Test' ,age = '';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],UPDATE bookings SET confirmation_number='',native_currency_code='AED',display_currency_code='USD',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 56.08 USD applicable if cancelled after 07-Nov-2020 14:00 hrs.                                                                ',supplier_cancellation_policy='',applied_multiplier='0.27222',applied_markup='3.0049224891632',agent_markup='3.0049224891632',consultant_id='tfg',basecurrency_multiplier='1.00000',basecurrency_multiplier_native='1.00000'_native,agent_currency_multiplier='1',service_type_detail='RATEGAINONE',current_status='vouchered',status_date='2020-11-09 10:18:33',service_date='2020-11-12',check_out_date='2020-11-13',display_room_rate= '56.08',display_discount='0',modified_datetime='2020-11-09 10:18:33',modified_by ='tfg',native_room_rate='200',native_discount='0.000',additional_charge='0.000',applicable_service_tax='',leader_title='Mrs',leader_first_name='Snehal',leader_last_name='ReservationCaseTwo',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-11-08 00:00:00',source_type='localsystem',leader_phone='',admin_note='',comment_contract='' WHERE id='3058';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:18:33',`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;3058\&#039;',`ip`= '60.254.5.70';
[11/09/2020 10:18:33], [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='56.08', agent_markup='3.0049224891632', supplier_rate='200', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='56.08' where id='3058';
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update bookings_details set total_nights='1' , supplier_id= 'S000000241' , total_rooms= '1', arrival_date='2020/11/12', departure_date='2020/11/13', rate_code='~', hotel_address1='Mumbai', hotel_name='RATEGAINONE', hotel_phone='123456789', reservation_pushed='2' where booking_id ='3058';
[11/09/2020 10:18:33], [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
        ('','','3058','vouchered','2020-11-09 10:18:33','Booking Modified by tfg','tfg','60.254.5.70','tfg','','');
[11/09/2020 10:18:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='0.27222' where booking_id='3058' and from_currency='USD' and to_currency='AED';
[11/09/2020 10:18:41], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/crons/channel_manager_push_reservation.php],update bookings_details set reservation_pushed = '4', channel_manager = 'rategain',room_type_description='' where booking_id = '3058';
[11/09/2020 10:28:50], [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 = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2020/11/20' , departure_date = '2020/11/21' , nationality = '106' , nights = '1' , room_types = '2' , create_date = '2020-11-09 10:28:50' , site_id = '' , country_code = '106' , web_service = '' ;
[11/09/2020 10:28:53], [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-11-09 10:28:53', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '475');
[11/09/2020 10:28:53], [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-11-09 10:28:53', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '475');
[11/09/2020 10:28:53], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:28:52.258'
, 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.396'
, error_description = ''
, memory_used = '7908976'
WHERE id = '3262';
[11/09/2020 10:28:53], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:28:52.212'
, 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.563'
, error_description = ''
, memory_used = '7910416'
WHERE id = '3263';
[11/09/2020 10:28:53], [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=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f',
  duration = '2.047',
  merge_duration = '0.074',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.53',
  system_load_5_min = '1.28',
  system_load_15_min = '2.04',
  system_memory_usage = '85.85',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '475') + '8043456',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '475';
[11/09/2020 10:29:19], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604917759','60.254.5.70');
[11/09/2020 10:29:32], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604917772','60.254.5.70');
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1878', create_date = '2020-11-09 10:29:36', agent_id = '25', parent_agent_id = '25', agent_ref_no = '', nationality = 'Indian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '56.08', display_currency_code = 'USD', native_room_rate = '200', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2020/11/20', check_out_date = '2020/11/21', sub_user_id = '', booking_status = '1', leader_title = 'Mrs', leader_first_name = 'Snehal', leader_last_name = 'ReservationCaseOne', booking_branch_id = '1', expiration_date = '2020-11-18 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 56.08 USD applicable if cancelled after 17-Nov-2020 14:00 hrs.', supplier_cancellation_policy = '', status_date = '2020-11-09 10:29:36',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[11/09/2020 10:29: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 ('3059','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '1'
        WHERE
        id='3059'
        ;
[11/09/2020 10:29: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('3059','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2020/11/20','2020/11/21','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3059', booking_detail_id = '1197', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', room_type_description = 'Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:\"displayNightlyRate\";d:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:200;s:17:\"nativeNightlyRate\";i:200;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 = '200', display_room_rate_total = '56.08', number_of_rooms = '1';
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3059', booking_detail_id = '1197', rid = '1793', room = '0', salutations = 'Mrs', first_name = 'Snehal', last_name = 'ReservationCaseOne', passenger_type = 'adult', age = '';
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3059', booking_detail_id = '1197', rid = '1793', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[11/09/2020 10:29:36], [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 = '0', email_id = '', leader_phone = '', agent_currency_multiplier = '1.00000', ip_addr = '60.254.5.70', backoffice_user = 'tfg', customer_id = '', applied_multiplier='0.27222', free_sale='',  applied_markup='3',  agent_markup='3',  basecurrency_multiplier='1.00000',  basecurrency_multiplier_native='0.27222',  parent_agent_id='25',  sub_agent_rate='0', agent_rate='56.08',  applicable_service_tax='0',  supplier_rate='200',  original_source='',  uid='85c43c9c07f5fce1707bc3f9190701c7'  where id='3059';
[11/09/2020 10:29:36], [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 ='3059';
[11/09/2020 10:29:36], [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 = '3059';
[11/09/2020 10:29:36], [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('3059','2020-11-17 14:00:00','2020-11-17 14:00:00','200','56.08','0','2020-11-09 10:29:36');
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3059','','');
[11/09/2020 10:29:36], [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 ('3059','confirmed','2020-11-09 10:29:36','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','0','25');
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3059, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fa919e54c2d7b2ae135921b\";}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:\"USD\";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:2:{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:150;s:17:\"nativeNightlyRate\";i:150;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:42.06;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 150 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"09d9ecc7fa7d215247ed260a33aaa063\";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:0;s:9:\"free_sale\";N;s:7:\"minStay\";s:1:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:42.06;s:20:\"sortingRoomTypeRates\";i:420600;s:19:\"nativeRoomTypeRates\";i:150;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_5415240\";}}s:9:\"available\";i:0;s:15:\"displayRoomRate\";d:42.06;s:14:\"nativeRoomRate\";i:150;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_0_62829\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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;}}i:1;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:200;s:17:\"nativeNightlyRate\";i:200;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:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"96e6795ea3a42ecb7ecb179f376c9047\";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:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:56.08;s:20:\"sortingRoomTypeRates\";d:56.08;s:19:\"nativeRoomTypeRates\";i:200;s:12:\"offerApplied\";N;s:7:\"room_id\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~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:18:\"Superior Room Room\";s:9:\"room_type\";s:67:\"Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>\";s:14:\"non_refundable\";s:1:\"0\";s:15:\"class_unique_id\";s:17:\"1_1_53773_1366253\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";d:56.08;s:14:\"nativeRoomRate\";i:200;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_1_87117\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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\";d:56.08;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";d:56.08;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\";}}');
[11/09/2020 10:29:36], [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('3059','2020-11-17 14:00:00','2020-11-17 14:00:00','1970-01-01 00:00:00','1970-01-01 00:00:00','200','56.08','0','2020-11-09 10:29:36','');
[11/09/2020 10:29:36], [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 = '3059';
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3059',  room_id= '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '200',  native_rate= '200',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-11-09 10:29:36' ;
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3059' where  id ='3059';
[11/09/2020 10:29:36], [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 = '20' and supplier_id = 'S000000241' and date_from = '2020-11-20';
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[11/09/2020 10:29:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3059', config_key = 'BOOKING OTP', config_value = 'W4dP1m6A';;
[11/09/2020 10:29:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103059 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 41204 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:29:37';
[11/09/2020 10:29:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3059','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:29:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3059','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:29:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3059',status='1' where reservation_id='1878' and booking_id ='0';
[11/09/2020 10:29:37], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3059' where agent_logs_id='475' and source_type='localsystem';
[11/09/2020 10:29:37], [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 ='3059',  create_date ='2020-11-09 10:29:37', supplier_tax='';
[11/09/2020 10:29:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103059 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27424 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:29:38';
[11/09/2020 10:29:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3059','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:29:38], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3059','nitin@qtechsoftware.com');
[11/09/2020 10:30:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/crons/channel_manager_push_reservation.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3059';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3059', agent_id ='25', itenirary_id ='3059', sequence = '', confirmation_number ='', payment_confirmation_no ='', voucher_id ='', voucher_hashcode ='', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='ReservationCaseOne', city_id ='mumbai', country_id ='106', display_room_rate ='56.080', native_room_rate ='200.000', native_currency_code ='AED', 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 56.08 USD applicable if cancelled after 17-Nov-2020 14:00 hrs.', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2020-11-09 10:29:36', create_date ='2020-11-09 10:29:36', source_type ='localsystem', expiration_date ='2020-11-18 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='56.080', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='200.000', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='nitinalpha', admin_booked ='0', emailed_status ='0', applied_multiplier ='0.27222', applied_markup ='3', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='3', wh_agent_markup ='0.000', basecurrency_multiplier ='1.00000', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='0.27222', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='1.00000', wh_agent_currency_multiplier ='1.000', modified_datetime ='2020-11-09 10:32:25', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-11-09 10:32:25', 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';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1197', old_reff_id ='541', booking_id ='3059', supplier_id ='S000000241', total_nights ='1', arrival_date ='2020/11/20', departure_date ='2020/11/21', hotel_id ='53773', hotel_name ='RATEGAINONE', hotel_address1 ='Mumbai', hotel_phone ='123456789', hotel_rating ='5.0', rate_code ='', touricoRoomResId ='', gta_item_confirm_ref ='', channel_manager ='rategain', reservation_pushed ='0', gtaToken ='';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6390', old_reff_id = '541', booking_id = '3059', booking_detail_id = '1197', salutations = 'Mrs', room = '0', rid = '1793', first_name = 'Snehal', last_name = 'ReservationCaseOne' ,passenger_type = 'adult' ,age = '';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6391', old_reff_id = '541', booking_id = '3059', booking_detail_id = '1197', salutations = 'Mr', room = '0', rid = '1793', first_name = 'TBAA', last_name = 'TBAA' ,passenger_type = 'adult' ,age = '';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1793', old_reff_id = '541', booking_id = '3059', booking_detail_id = '1197', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', room_type_description = 'Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:"displayNightlyRate";d:56.08;s:16:"promotionDisplay";s:0:"";s:25:"displayNightlyRateDisplay";s:187:"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.00 %";}}' ,native_nightly_rates = 'a:1:{i:0;a:4:{s:19:"O_nativeNightlyRate";i:200;s:17:"nativeNightlyRate";i:200;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 = '200' ,display_room_rate_total = '56.08' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3059', booking_detail_id = '1197', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', meal_basis = '', room_type_description = 'Superior Room -Bed & Breakfast : 2 Pax -D', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"56.08";s:13:"whNightlyRate";s:0:"";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"200";s:19:"O_nativeNightlyRate";i:200;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 = '200' ,display_room_rate_total = '56.08' ,number_of_rooms = '1';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3059', booking_detail_id = '1197', salutations = 'Mrs', room = '', rid = '1794', first_name = 'Snehal', last_name = 'ReservationCaseTwo' ,age = '';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3059', booking_detail_id = '1197', salutations = 'Mr', room = '', rid = '1794', first_name = 'TBAA', last_name = 'TBAA' ,age = '';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],UPDATE bookings SET confirmation_number='Test123',native_currency_code='AED',display_currency_code='USD',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 56.08 USD applicable if cancelled after 17-Nov-2020 14:00 hrs.                                ',supplier_cancellation_policy='',applied_multiplier='0.27222',applied_markup='3',agent_markup='3',consultant_id='tfg',basecurrency_multiplier='1.00000',basecurrency_multiplier_native='1.00000'_native,agent_currency_multiplier='1.00000',service_type_detail='RATEGAINONE',current_status='confirmed',status_date='2020-11-09 10:32:25',service_date='2020-11-22',check_out_date='2020-11-23',display_room_rate= '56.08',display_discount='0.000',modified_datetime='2020-11-09 10:32:25',modified_by ='tfg',native_room_rate='200',native_discount='0.000',additional_charge='0.000',applicable_service_tax='',leader_title='Mrs',leader_first_name='Snehal',leader_last_name='ReservationCaseTwo',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-11-18 00:00:00',source_type='localsystem',free_sale='yes',leader_phone='',admin_note='',comment_contract='' WHERE id='3059';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:32:25',`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;3059\&#039;',`ip`= '60.254.5.70';
[11/09/2020 10:32:25], [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='56.08', agent_markup='3', supplier_rate='200', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='' where id='3059';
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update bookings_details set total_nights='1' , supplier_id= 'S000000241' , total_rooms= '1', arrival_date='2020/11/22', departure_date='2020/11/23', rate_code='~', hotel_address1='Mumbai', hotel_name='RATEGAINONE', hotel_phone='123456789', reservation_pushed='2' where booking_id ='3059';
[11/09/2020 10:32:25], [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
        ('','','3059','confirmed','2020-11-09 10:32:25','Booking Modified by tfg','tfg','60.254.5.70','tfg','','');
[11/09/2020 10:32:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='0.27222' where booking_id='3059' and from_currency='USD' and to_currency='AED';
[11/09/2020 10:32:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/crons/channel_manager_push_reservation.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3059';
[11/09/2020 10:35:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO history_bookings set history_booking_id ='3059', agent_id ='25', itenirary_id ='3059', confirmation_number ='Test123', payment_confirmation_no ='', voucher_id ='', voucher_hashcode ='', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='ReservationCaseTwo', city_id ='mumbai', country_id ='106', display_room_rate ='56.080', native_room_rate ='200.000', native_currency_code ='AED', 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.&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 56.08 USD applicable if cancelled after 17-Nov-2020 14:00 hrs.                                ', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2020-11-09 10:32:25', create_date ='2020-11-09 10:29:36', source_type ='localsystem', expiration_date ='2020-11-18 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='RATEGAINONE', native_rate ='', display_rate ='', agent_rate ='56.080', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='200.000', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='tfg', admin_booked ='0', emailed_status ='0', applied_multiplier ='0.27222', applied_markup ='3', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='3', wh_agent_markup ='0.000', basecurrency_multiplier ='1.00000', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='0.27222', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='1.00000', wh_agent_currency_multiplier ='1.000', modified_datetime ='2020-11-09 10:35:14', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-11-09 10:35:14', sub_agent_rate ='0.000', 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', is_cancel_history ='1';
[11/09/2020 10:35:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_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
        ('','','3059','cancelled','2020-11-09 10:35:14','Cancellation Confirmation Number: Cancellation done on 2020-11-09 10:35:14  by tfg','tfg','60.254.5.70','tfg','','');
[11/09/2020 10:35:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],UPDATE bookings SET current_status='cancelled',accounts_processed ='0',status_date='2020-11-09 10:35:14' , pending_cancellation = 'no'WHERE reservation_id = 'QTECH2020111878' AND id = '3059' AND (current_status = 'pending' OR  current_status = 'confirmed' OR  current_status = 'vouchered' OR  current_status = 'on_request' OR  current_status = 'inprocess_cancel') ;
[11/09/2020 10:35:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO loyalty_detail SET booking_id= '3059',type= 'earn',log= 'Loyalty Points Reverted due to Cancellation Of Booking Id :3059';
[11/09/2020 10:35:14], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-11-09 10:35:14',`log_type`= 'Agent Loyalty Point Detail',`sql_query`= 'INSERT INTO loyalty_detail SET booking_id= :booking_id,type= :type,log= :log',`log_description`= 'Loyalty earn Points is &nbsp;&nbsp; of agent &nbsp;due to cancellation of booking id \&#039;3059\&#039;',`ip`= '60.254.5.70';
[11/09/2020 10:35:15], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],UPDATE bookings SET  agent_rate='0' , sub_agent_rate='0' , supplier_rate='0' , applicable_service_tax='0' WHERE id = '3059' AND (current_status = 'cancelled' ) ;
[11/09/2020 10:35:15], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],delete from cancellations where booking_id =? ;
[11/09/2020 10:35:15], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO cancellations (native_charge,display_charge,native_currency_code,display_currency_code,reservation_id,booking_id,cancellation_date,confirmation_no,note,cancellation_reason) values ('0','0','AED','USD','QTECH2020111878','3059','2020-11-09 10:35:15','Cancellation done on 2020-11-09 10:35:14 ','Confirmed charges. ','');
[11/09/2020 10:35:15], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],update bookings_details set reservation_pushed = '3', channel_manager = 'rategain',room_type_description='' where booking_id = '3059';
[11/09/2020 10:35:16], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into email_logs SET `subject`= ' TFG103059 /  Booking Cancelled ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 19860 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,ankita.rao@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/tms/view_booking.php',create_date= '2020-11-09 10:35:16';
[11/09/2020 10:35:16], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3059','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:35:16], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3059','ankita.rao@qtechsoftware.com');
[11/09/2020 10:35:17], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into email_logs SET `subject`= ' TFG103059 /  Booking Cancelled ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27972 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/tms/view_booking.php',create_date= '2020-11-09 10:35:17';
[11/09/2020 10:35:17], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3059','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:35:17], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3059','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:35:39], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/crons/channel_manager_push_reservation.php],update bookings_details set reservation_pushed = '0', channel_manager = 'rategain',room_type_description='' where booking_id = '3059';
[11/09/2020 10:37:50], [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 = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2020/11/20' , departure_date = '2020/11/21' , nationality = '106' , nights = '1' , room_types = '2, 2' , create_date = '2020-11-09 10:37:50' , site_id = '' , country_code = '106' , web_service = '' ;
[11/09/2020 10:37:53], [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-11-09 10:37:53', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '476');
[11/09/2020 10:37:53], [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-11-09 10:37:53', '', 'fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f', '476');
[11/09/2020 10:37:53], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:37:52.507'
, 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.016'
, error_description = ''
, memory_used = '7909456'
WHERE id = '3264';
[11/09/2020 10:37:53], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f&xml_user_id=25&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-11-09 10:37:52.506'
, 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.090'
, error_description = ''
, memory_used = '7910896'
WHERE id = '3265';
[11/09/2020 10:37:53], [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=fa88bb490a9b36ef113ddd1714a0a35709cb713315c59a2c059bc6f25a877d2f',
  duration = '1.661',
  merge_duration = '0.089',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.48',
  system_load_5_min = '1.91',
  system_load_15_min = '2.40',
  system_memory_usage = '86.02',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '476') + '8043936',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '476';
[11/09/2020 10:38:24], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604918304','60.254.5.70');
[11/09/2020 10:41:00], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1604918460','60.254.5.70');
[11/09/2020 10:41:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1880', create_date = '2020-11-09 10:41:03', agent_id = '25', parent_agent_id = '25', agent_ref_no = '', nationality = 'Indian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '112.16', display_currency_code = 'USD', native_room_rate = '400', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2020/11/20', check_out_date = '2020/11/21', sub_user_id = '', booking_status = '1', leader_title = 'Mrs', leader_first_name = 'Snehal', leader_last_name = 'ReservationCFour', booking_branch_id = '1', expiration_date = '2020-11-18 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 112.16 USD applicable if cancelled after 17-Nov-2020 14:00 hrs.', supplier_cancellation_policy = '', status_date = '2020-11-09 10:41:03',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[11/09/2020 10:41: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 ('3060','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[11/09/2020 10:41:03], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '1'
        WHERE
        id='3060'
        ;
[11/09/2020 10:41:04], [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('3060','S000000241','2','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','1','2020/11/20','2020/11/21','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3060', booking_detail_id = '1198', room_type_code = '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241', room_name = 'double', room_type_description = 'Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:\"displayNightlyRate\";d:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.00 %\";}}', native_nightly_rates = 'a:1:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:200;s:17:\"nativeNightlyRate\";i:200;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 = '400', display_room_rate_total = '112.16', number_of_rooms = '2';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3060', booking_detail_id = '1198', rid = '1795', room = '0', salutations = 'Mrs', first_name = 'Snehal', last_name = 'ReservationCFour', passenger_type = 'adult', age = '';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3060', booking_detail_id = '1198', rid = '1795', room = '0', salutations = 'Mr', first_name = 'T', last_name = 'A', passenger_type = 'adult', age = '';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3060', booking_detail_id = '1198', rid = '1795', room = '1', salutations = 'Mr', first_name = 'T', last_name = 'B', passenger_type = 'adult', age = '';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3060', booking_detail_id = '1198', rid = '1795', room = '1', salutations = 'Mr', first_name = 'T', last_name = 'C', passenger_type = 'adult', age = '';
[11/09/2020 10:41:04], [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 = '0', email_id = '', leader_phone = '', agent_currency_multiplier = '1.00000', ip_addr = '60.254.5.70', backoffice_user = 'tfg', customer_id = '', applied_multiplier='0.27222', free_sale='',  applied_markup='3',  agent_markup='3',  basecurrency_multiplier='1.00000',  basecurrency_multiplier_native='0.27222',  parent_agent_id='25',  sub_agent_rate='0', agent_rate='112.16',  applicable_service_tax='0',  supplier_rate='400',  original_source='',  uid='5670808afc9a3678b4a606d4dacdc89d'  where id='3060';
[11/09/2020 10:41:04], [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 ='3060';
[11/09/2020 10:41: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 = '3060';
[11/09/2020 10:41:04], [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('3060','2020-11-17 14:00:00','2020-11-17 14:00:00','400','112.16','0','2020-11-09 10:41:04');
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3060','','');
[11/09/2020 10:41:04], [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 ('3060','confirmed','2020-11-09 10:41:04','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0025)','25','60.254.5.70','0','25');
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3060, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fa91c01dea07211b14d371b\";}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:\"USD\";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:2:{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:150;s:17:\"nativeNightlyRate\";i:150;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:42.06;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 150 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"09d9ecc7fa7d215247ed260a33aaa063\";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:0;s:9:\"free_sale\";N;s:7:\"minStay\";s:1:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:84.12;s:20:\"sortingRoomTypeRates\";i:841200;s:19:\"nativeRoomTypeRates\";i:300;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:2;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_7944114\";}}s:9:\"available\";i:0;s:15:\"displayRoomRate\";d:84.12;s:14:\"nativeRoomRate\";i:300;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_1_0_62687\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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;}}i:1;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:200;s:17:\"nativeNightlyRate\";i:200;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:56.08;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:187:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 200 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem Agent Hotel Category Markup=3.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:\"96e6795ea3a42ecb7ecb179f376c9047\";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:\"0\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";d:112.16;s:20:\"sortingRoomTypeRates\";d:112.16;s:19:\"nativeRoomTypeRates\";i:400;s:12:\"offerApplied\";N;s:7:\"room_id\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241\";s:14:\"room_type_code\";s:1:\"2\";s:14:\"boardtype_code\";s:1:\"1\";s:16:\"valuation_number\";s:48:\"2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241\";s:15:\"number_of_child\";i:0;s:13:\"NumberOfRooms\";i:2;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:18:\"Superior Room Room\";s:9:\"room_type\";s:67:\"Superior Room  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>\";s:14:\"non_refundable\";s:1:\"0\";s:15:\"class_unique_id\";s:17:\"1_1_53773_1490366\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";d:112.16;s:14:\"nativeRoomRate\";i:400;s:9:\"unique_id\";s:36:\"1_53773----------S000000241_1_1_9512\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"USD\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:3;s:18:\"applied_multiplier\";d:0.27222;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\";d:112.16;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";d:112.16;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\";}}');
[11/09/2020 10:41:04], [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('3060','2020-11-17 14:00:00','2020-11-17 14:00:00','1970-01-01 00:00:00','1970-01-01 00:00:00','400','112.16','0','2020-11-09 10:41:04','');
[11/09/2020 10:41: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 = '3060';
[11/09/2020 10:41: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= '3060',  room_id= '2~~~20~~~1045~~~1~~~~~~~~~64440~~~1~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '200',  native_rate= '200',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-11-09 10:41:04' ;
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3060' where  id ='3060';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE room_rates SET availability = availability-2,consumed_inventory = consumed_inventory+2 WHERE hotel_id = '53773' and inventory_class_id = '20' and supplier_id = 'S000000241' and date_from = '2020-11-20';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3060', config_key = 'BOOKING OTP', config_value = 'VocDUnZU';;
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103060 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 42028 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:41:04';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3060','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3060','snehal.valanju@qtechsoftware.com');
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3060',status='1' where reservation_id='1880' and booking_id ='0';
[11/09/2020 10:41:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3060' where agent_logs_id='476' and source_type='localsystem';
[11/09/2020 10:41: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 ='3060',  create_date ='2020-11-09 10:41:04', supplier_tax='';
[11/09/2020 10:41:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103060 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 28104 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,nitin@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-11-09 10:41:05';
