[10/24/2020 12:03:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3044', agent_id ='25', itenirary_id ='3044', sequence = '', confirmation_number ='', payment_confirmation_no ='', voucher_id ='', voucher_hashcode ='', email_id ='', leader_title ='', leader_first_name ='', leader_last_name ='', city_id ='mumbai', country_id ='106', display_room_rate ='27.220', 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.<Br><Br><B><U>Detailed Cancellation Policy:</U></B> <br/> Cancellation Charges of 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2020-10-23 09:36:02', create_date ='2020-10-23 09:36:02', source_type ='localsystem', expiration_date ='2020-10-27 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='27.220', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='100.000', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='nitinalpha', admin_booked ='0', emailed_status ='0', applied_multiplier ='0.27222', applied_markup ='0', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='0', 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-10-24 12:03:05', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-10-24 12:03:05', 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.11.53';
[10/24/2020 12:03:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1182', old_reff_id ='529', booking_id ='3044', supplier_id ='S000000241', total_nights ='1', arrival_date ='2020/10/29', departure_date ='2020/10/30', 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 ='';
[10/24/2020 12:03:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/24/2020 12:03:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1768', old_reff_id = '529', booking_id = '3044', booking_detail_id = '1182', room_type_code = '2~~~132~~~1039~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', room_type_description = 'Standard  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:1:{i:0;a:3:{s:18:"displayNightlyRate";d:27.22;s:16:"promotionDisplay";s:0:"";s:25:"displayNightlyRateDisplay";s:152:"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 100 AED, Currency Multiplier (AED-USD) - 0.27222 Supplier Commission-0 #localsystem";}}' ,native_nightly_rates = 'a:1:{i:0;a:4:{s:19:"O_nativeNightlyRate";i:100;s:17:"nativeNightlyRate";i:100;s:9:"free_sale";s:2:"no";s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '100' ,display_room_rate_total = '27.22' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[10/24/2020 12:03:05], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[10/24/2020 12:03:06], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/24/2020 12:03:06], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3044', booking_detail_id = '1182', room_type_code = '2~~~132~~~1039~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', meal_basis = '', room_type_description = 'Standard -Bed & Breakfast : 2 Pax -D', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"32.67";s:13:"whNightlyRate";s:5:"32.67";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"120";s:19:"O_nativeNightlyRate";i:100;s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '120' ,display_room_rate_total = '32.67' ,number_of_rooms = '1';
[10/24/2020 12:03:06], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3044', booking_detail_id = '1182', salutations = 'Mrs', room = '', rid = '1774', first_name = 'TBA', last_name = 'TBA' ,age = '';
[10/24/2020 12:03:06], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3044', booking_detail_id = '1182', salutations = 'Mr', room = '', rid = '1774', first_name = 'TBA', last_name = 'TBA' ,age = '';
[10/24/2020 12:03:06], [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 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.                                ',supplier_cancellation_policy='',applied_multiplier='0.27222',applied_markup='0',agent_markup='0',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-10-24 12:03:06',service_date='2020-10-30',check_out_date='2020-10-31',display_room_rate= '32.67',display_discount='0',modified_datetime='2020-10-24 12:03:06',modified_by ='tfg',native_room_rate='120',native_discount='0.000',additional_charge='0.000',applicable_service_tax='',leader_title='Mrs',leader_first_name='Snehal',leader_last_name='CaseTwo',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-10-27 00:00:00',source_type='localsystem',free_sale='yes',leader_phone='',admin_note='',comment_contract='' WHERE id='3044';
[10/24/2020 12:03:06], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-10-24 12:03:06',`log_type`= 'Accounts Data Added',`sql_query`= '',`log_description`= 'Accounts Only : Data Added by \&#039;tfg\&#039; From IP \&#039;60.254.11.53\&#039; for booking \&#039;3044\&#039;',`ip`= '60.254.11.53';
[10/24/2020 12:03:06], [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='32.67', agent_markup='0', supplier_rate='120', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='32.67' where id='3044';
[10/24/2020 12:03:06], [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/10/30', departure_date='2020/10/31', rate_code='~', hotel_address1='Mumbai', hotel_name='RATEGAINONE', hotel_phone='123456789' where booking_id ='3044';
[10/24/2020 12:03:06], [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
        ('','','3044','confirmed','2020-10-24 12:03:06','Booking Modified by tfg','tfg','60.254.11.53','tfg','','');
[10/24/2020 12:03:06], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='0.27222' where booking_id='3044' and from_currency='USD' and to_currency='AED';
[10/24/2020 12:23:42], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3044', agent_id ='25', itenirary_id ='3044', sequence = '', confirmation_number ='Test123', payment_confirmation_no ='', voucher_id ='', voucher_hashcode ='', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='CaseTwo', city_id ='mumbai', country_id ='106', display_room_rate ='32.670', native_room_rate ='120.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 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.                                ', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2020-10-24 12:03:06', create_date ='2020-10-23 09:36:02', source_type ='localsystem', expiration_date ='2020-10-27 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='RATEGAINONE', native_rate ='', display_rate ='', agent_rate ='32.670', wh_sub_agent_rate ='0.000', wh_agent_rate ='32.670', supplier_rate ='120.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 ='0', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='0', 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-10-24 12:23:42', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-10-24 12:23:42', 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.11.53';
[10/24/2020 12:23:42], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1182', old_reff_id ='530', booking_id ='3044', supplier_id ='S000000241', total_nights ='1', arrival_date ='2020/10/30', departure_date ='2020/10/31', 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 ='';
[10/24/2020 12:23:42], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6359', old_reff_id = '530', booking_id = '3044', booking_detail_id = '1182', salutations = 'Mrs', room = '0', rid = '1774', first_name = 'TBA', last_name = 'TBA' ,passenger_type = 'adult' ,age = '';
[10/24/2020 12:23:42], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6360', old_reff_id = '530', booking_id = '3044', booking_detail_id = '1182', salutations = 'Mr', room = '0', rid = '1774', first_name = 'TBA', last_name = 'TBA' ,passenger_type = 'adult' ,age = '';
[10/24/2020 12:23:42], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1774', old_reff_id = '530', booking_id = '3044', booking_detail_id = '1182', room_type_code = '2~~~132~~~1039~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', room_type_description = 'Standard -Bed & Breakfast : 2 Pax -D', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"32.67";s:13:"whNightlyRate";s:5:"32.67";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"120";s:19:"O_nativeNightlyRate";i:100;s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '120' ,display_room_rate_total = '32.67' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3044', booking_detail_id = '1182', room_type_code = '2~~~132~~~1039~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', meal_basis = '', room_type_description = 'Standard -Bed & Breakfast : 2 Pax -D', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"32.67";s:13:"whNightlyRate";s:5:"32.67";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"120";s:19:"O_nativeNightlyRate";i:100;s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '120' ,display_room_rate_total = '32.67' ,number_of_rooms = '1';
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3044', booking_detail_id = '1182', salutations = 'Mrs', room = '', rid = '1775', first_name = 'TBA', last_name = 'TBA' ,age = '';
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3044', booking_detail_id = '1182', salutations = 'Mr', room = '', rid = '1775', first_name = 'TBA', last_name = 'TBA' ,age = '';
[10/24/2020 12:23:43], [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 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.                                                                ',supplier_cancellation_policy='',applied_multiplier='0.27222',applied_markup='0',agent_markup='0',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-10-24 12:23:43',service_date='2020-10-30',check_out_date='2020-10-31',display_room_rate= '32.67',display_discount='0.000',modified_datetime='2020-10-24 12:23:43',modified_by ='tfg',native_room_rate='120',native_discount='0.000',additional_charge='0.000',applicable_service_tax='',leader_title='Mrs',leader_first_name='Snehal',leader_last_name='CaseTwo',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-10-27 00:00:00',source_type='localsystem',free_sale='yes',leader_phone='',admin_note='',comment_contract='' WHERE id='3044';
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-10-24 12:23:43',`log_type`= 'Accounts Data Added',`sql_query`= '',`log_description`= 'Accounts Only : Data Added by \&#039;tfg\&#039; From IP \&#039;45.120.147.56\&#039; for booking \&#039;3044\&#039;',`ip`= '45.120.147.56';
[10/24/2020 12:23:43], [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='32.67', agent_markup='0', supplier_rate='120', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='32.67' where id='3044';
[10/24/2020 12:23:43], [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/10/30', departure_date='2020/10/31', rate_code='~', hotel_address1='Mumbai', hotel_name='RATEGAINONE', hotel_phone='123456789' where booking_id ='3044';
[10/24/2020 12:23:43], [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
        ('','','3044','confirmed','2020-10-24 12:23:43','Booking Modified by tfg','tfg','45.120.147.56','tfg','','');
[10/24/2020 12:23:43], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='0.27222' where booking_id='3044' and from_currency='USD' and to_currency='AED';
[10/24/2020 12:30:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings set history_booking_id ='3044', agent_id ='25', itenirary_id ='3044', sequence = '', confirmation_number ='Test123', payment_confirmation_no ='', voucher_id ='', voucher_hashcode ='', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='CaseTwo', city_id ='mumbai', country_id ='106', display_room_rate ='32.670', native_room_rate ='120.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 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.                                                                ', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2020-10-24 12:23:43', create_date ='2020-10-23 09:36:02', source_type ='localsystem', expiration_date ='2020-10-27 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='RATEGAINONE', native_rate ='', display_rate ='', agent_rate ='32.670', wh_sub_agent_rate ='0.000', wh_agent_rate ='32.670', supplier_rate ='120.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 ='0', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='0', 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-10-24 12:30:11', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-10-24 12:30:11', 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.11.53';
[10/24/2020 12:30:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_bookings_details  set  history_booking_detail_id ='1182', old_reff_id ='531', booking_id ='3044', supplier_id ='S000000241', total_nights ='1', arrival_date ='2020/10/30', departure_date ='2020/10/31', 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 ='';
[10/24/2020 12:30:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6361', old_reff_id = '531', booking_id = '3044', booking_detail_id = '1182', salutations = 'Mrs', room = '0', rid = '1775', first_name = 'TBA', last_name = 'TBA' ,passenger_type = 'adult' ,age = '';
[10/24/2020 12:30:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_passangers set history_passenger_id = '6362', old_reff_id = '531', booking_id = '3044', booking_detail_id = '1182', salutations = 'Mr', room = '0', rid = '1775', first_name = 'TBA', last_name = 'TBA' ,passenger_type = 'adult' ,age = '';
[10/24/2020 12:30:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO history_booking_room_detail set rid = '1775', old_reff_id = '531', booking_id = '3044', booking_detail_id = '1182', room_type_code = '2~~~132~~~1039~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', room_type_description = 'Standard -Bed & Breakfast : 2 Pax -D', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"32.67";s:13:"whNightlyRate";s:5:"32.67";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"120";s:19:"O_nativeNightlyRate";i:100;s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '120' ,display_room_rate_total = '32.67' ,wh_room_rate_total = '' ,number_of_rooms = '1';
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from booking_room_detail WHERE booking_id=?;
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],delete from passangers WHERE booking_id=?;
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO booking_room_detail set booking_id = '3044', booking_detail_id = '1182', room_type_code = '2~~~132~~~1039~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', meal_basis = 'All Inclusive', room_type_description = 'Standard -Bed & Breakfast : 2 Pax -D - All Inclusive', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";s:5:"38.11";s:13:"whNightlyRate";s:5:"38.11";}}' ,native_nightly_rates = 'a:1:{i:0;a:3:{s:17:"nativeNightlyRate";s:3:"140";s:19:"O_nativeNightlyRate";i:100;s:14:"Discount/Offer";a:7:{s:4:"code";s:0:"";s:4:"Name";s:0:"";s:7:"S_Value";s:0:"";s:5:"Value";i:0;s:12:"Display_Name";s:0:"";s:10:"Offer_Note";N;s:10:"Offer_Type";N;}}}' ,native_room_rate_total = '140' ,display_room_rate_total = '38.11' ,number_of_rooms = '1';
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3044', booking_detail_id = '1182', salutations = 'Mrs', room = '', rid = '1776', first_name = 'TBA', last_name = 'TBA' ,age = '';
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],INSERT INTO passangers set booking_id = '3044', booking_detail_id = '1182', salutations = 'Mr', room = '', rid = '1776', first_name = 'TBA', last_name = 'TBA' ,age = '';
[10/24/2020 12:30:12], [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 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.                                                                                                ',supplier_cancellation_policy='',applied_multiplier='0.27222',applied_markup='0',agent_markup='0',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-10-24 12:30:12',service_date='2020-10-30',check_out_date='2020-10-31',display_room_rate= '38.11',display_discount='0',modified_datetime='2020-10-24 12:30:12',modified_by ='tfg',native_room_rate='140',native_discount='0.000',additional_charge='0.000',applicable_service_tax='',leader_title='Mrs',leader_first_name='Snehal',leader_last_name='CaseTwo',nationality ='Indian',accounts_processed ='0',booking_type ='online',agent_ref_no ='',supplier_profile_id ='1',expiration_date= '2020-10-27 00:00:00',source_type='localsystem',free_sale='yes',leader_phone='',admin_note='',comment_contract='' WHERE id='3044';
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-10-24 12:30:12',`log_type`= 'Accounts Data Added',`sql_query`= '',`log_description`= 'Accounts Only : Data Added by \&#039;tfg\&#039; From IP \&#039;45.120.147.56\&#039; for booking \&#039;3044\&#039;',`ip`= '45.120.147.56';
[10/24/2020 12:30:12], [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='38.11', agent_markup='0', supplier_rate='140', wh_sub_agent_rate='', discount_to_sub='', wh_agent_rate='38.11' where id='3044';
[10/24/2020 12:30:12], [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/10/30', departure_date='2020/10/31', rate_code='~', hotel_address1='Mumbai', hotel_name='RATEGAINONE', hotel_phone='123456789', reservation_pushed='2' where booking_id ='3044';
[10/24/2020 12:30:12], [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
        ('','','3044','confirmed','2020-10-24 12:30:12','Booking Modified by tfg','tfg','45.120.147.56','tfg','','');
[10/24/2020 12:30:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/bookings_modification.php],update booking_currency_multiplier set multiplier='0.27222' where booking_id='3044' and from_currency='USD' and to_currency='AED';
[10/24/2020 12:30:34], [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 = '3044';
[10/24/2020 12:31:10], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO history_bookings set history_booking_id ='3044', agent_id ='25', itenirary_id ='3044', confirmation_number ='Test123', payment_confirmation_no ='', voucher_id ='', voucher_hashcode ='', email_id ='', leader_title ='Mrs', leader_first_name ='Snehal', leader_last_name ='CaseTwo', city_id ='mumbai', country_id ='106', display_room_rate ='38.110', native_room_rate ='140.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 27.22 USD applicable if cancelled after 26-Oct-2020 14:00 hrs.                                                                                                ', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2020-10-24 12:30:12', create_date ='2020-10-23 09:36:02', source_type ='localsystem', expiration_date ='2020-10-27 00:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='RATEGAINONE', native_rate ='', display_rate ='', agent_rate ='38.110', wh_sub_agent_rate ='0.000', wh_agent_rate ='38.110', supplier_rate ='140.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 ='0', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='0', 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-10-24 12:31:10', modified_by ='tfg', display_currency_code ='USD', created_datetime ='2020-10-24 12:31:10', 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 ='45.120.147.56', is_cancel_history ='1';
[10/24/2020 12:31:10], [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
        ('','','3044','cancelled','2020-10-24 12:31:10','Cancellation Confirmation Number: Cancellation done on 2020-10-24 12:31:10  by tfg','tfg','45.120.147.56','tfg','','');
[10/24/2020 12:31:10], [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-10-24 12:31:10' , pending_cancellation = 'no'WHERE reservation_id = 'QTECH2020101838' AND id = '3044' AND (current_status = 'pending' OR  current_status = 'confirmed' OR  current_status = 'vouchered' OR  current_status = 'on_request' OR  current_status = 'inprocess_cancel') ;
[10/24/2020 12:31:10], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO loyalty_detail SET booking_id= '3044',type= 'earn',log= 'Loyalty Points Reverted due to Cancellation Of Booking Id :3044';
[10/24/2020 12:31:10], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into `user_logs` set `username`= 'tfg',`create_date`= '2020-10-24 12:31:10',`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;3044\&#039;',`ip`= '45.120.147.56';
[10/24/2020 12:31:10], [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 = '3044' AND (current_status = 'cancelled' ) ;
[10/24/2020 12:31:10], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],delete from cancellations where booking_id =? ;
[10/24/2020 12:31:10], [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','QTECH2020101838','3044','2020-10-24 12:31:10','Cancellation done on 2020-10-24 12:31:10 ','Confirmed charges. ','');
[10/24/2020 12:31:10], [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 = '3044';
[10/24/2020 12:31:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into email_logs SET `subject`= ' TFG103044 /  Booking Cancelled ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 19920 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-10-24 12:31:11';
[10/24/2020 12:31:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3044','snehal.valanju@qtechsoftware.com');
[10/24/2020 12:31:11], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3044','ankita.rao@qtechsoftware.com');
[10/24/2020 12:31:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into email_logs SET `subject`= ' TFG103044 /  Booking Cancelled ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27932 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/tms/view_booking.php',create_date= '2020-10-24 12:31:12';
[10/24/2020 12:31:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3044','snehal.valanju@qtechsoftware.com');
[10/24/2020 12:31:12], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3044','snehal.valanju@qtechsoftware.com');
[10/24/2020 12:31:46], [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 = '3044';
