[12/03/2020 09:11:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],update agents set last_login_date = '2020-12-03 09:11:26',login_attempt=0 where id = '24';
[12/03/2020 09:11:26], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/agent_login.php],INSERT INTO psa_login_log  SET username = 'snehal', user_type = 'A', branch_id = '1', login_datetime = '2020-12-03 09:11:26', ip = '60.254.11.202', action = 'Login' ;
[12/03/2020 09:19:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],UPDATE room_rates SET availability = availability+1,consumed_inventory = consumed_inventory-1 WHERE hotel_id = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-06-03';
[12/03/2020 09:19:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[12/03/2020 09:19:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO history_bookings set history_booking_id ='3072', agent_id ='24', itenirary_id ='3072', confirmation_number ='', payment_confirmation_no ='', voucher_id ='Test123', voucher_hashcode ='5f8d3e5fcc7d4307823e56fed4e4a8ba682843072', email_id ='deep.mishra@rategain.com', leader_title ='Mr', leader_first_name ='DeepModify', leader_last_name ='MishraModify', city_id ='mumbai', country_id ='106', display_room_rate ='120.450', native_room_rate ='120.450', 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 440 AED applicable if cancelled after 03 Dec 2020 12:14 hrs.                                                                ', supplier_cancellation_policy ='', current_status ='vouchered', booking_status ='1', status_date ='2020-12-03 07:00:29', create_date ='2020-12-03 06:45:15', source_type ='localsystem', expiration_date ='2020-12-03 06:45:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='RATEGAINONE', native_rate ='', display_rate ='', agent_rate ='120.450', wh_sub_agent_rate ='0.000', wh_agent_rate ='120.450', supplier_rate ='120.450', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='tfg', admin_booked ='1', emailed_status ='0', applied_multiplier ='1.00000', applied_markup ='0', wh_applied_markup ='0.000', original_voucher ='', subagent_markup ='', agent_markup ='0', wh_agent_markup ='0.000', basecurrency_multiplier ='0.27222', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='0.27222', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='0.27222', wh_agent_currency_multiplier ='1.000', modified_datetime ='2020-12-03 09:19:01', modified_by ='tfg', display_currency_code ='AED', created_datetime ='2020-12-03 09:19:01', 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.11.202', is_cancel_history ='1';
[12/03/2020 09:19:01], [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
        ('','','3072','cancelled','2020-12-03 09:19:01','Cancellation Confirmation Number: Cancellation done on 2020-12-03 09:19:01  by tfg','tfg','60.254.11.202','tfg','','');
[12/03/2020 09:19:01], [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-12-03 09:19:01' , pending_cancellation = 'no'WHERE reservation_id = 'QTECH2020121908' AND id = '3072' AND (current_status = 'pending' OR  current_status = 'confirmed' OR  current_status = 'vouchered' OR  current_status = 'on_request' OR  current_status = 'inprocess_cancel') ;
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],UPDATE bookings SET  agent_rate='440' , sub_agent_rate='0' , supplier_rate='440' , applicable_service_tax='' WHERE id = '3072' AND (current_status = 'cancelled' ) ;
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],delete from cancellations where booking_id =? ;
[12/03/2020 09:19:02], [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 ('440','440','AED','AED','QTECH2020121908','3072','2020-12-03 09:19:02','Cancellation done on 2020-12-03 09:19:01 ','Confirmed charges. ','');
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],UPDATE agents SET credit_usage=credit_usage+('86.987901'),   credit_value= credit_value-('86.987901') ,  cd_credit_usage=cd_credit_usage+('86.987901') , cd_credit_value=cd_credit_value-('86.987901')  WHERE id = '24';
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into  agent_credit_log SET agent_id= '24',credit_value= '8825.575',credit_usage= '1174.425',credit_limit= '10000',receipt_id= '',amount= '86.987901',booking_id='3072',booking_cost= '',receipt_allocation= '',balance= '',ip='60.254.11.202',user_type='admin',admin_id='tfg',temp_credit_limit='',log_type='Booking Cancelled',note='Booking Cancelled',create_date='2020-12-03 09:12:02';
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],update booking_rate_info set  supplier_price = supplier_price+('319.55'), acc_export='0', accounting_multiplier='0.27222' where booking_id='3072' and acc_type='purchase' order by bid asc limit 1;
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],update booking_rate_info set  agent_price = agent_price+('319.55'), sub_agent_price =sub_agent_price+('440'), acc_export='0', accounting_multiplier='0.27222' where booking_id='3072' and acc_type='sale' order by bid asc limit 1;
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],DELETE FROM accounts_invoice_transaction WHERE bid = 1520;
[12/03/2020 09:19:02], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],INSERT INTO accounts_invoice_transaction SET bid= '1520',booking_id= '3072',invoice_number= '2020/399',service_type= 'hotel',booking_type= 'online',service_name= 'RATEGAINONE',type= 'sale',from_date= '2021-06-03',to_date= '2021-06-04',price= '440.000',total_price= '440.000';
[12/03/2020 09:19:02], [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 = '3072';
[12/03/2020 09:19:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into email_logs SET `subject`= ' TFG103072 /  Booking Cancelled ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 19584 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-12-03 09:19:04';
[12/03/2020 09:19:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3072','snehal.valanju@qtechsoftware.com');
[12/03/2020 09:19:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3072','ankita.rao@qtechsoftware.com');
[12/03/2020 09:19:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into email_logs SET `subject`= ' TFG103072 /  Booking Cancelled ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 27744 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/tms/view_booking.php',create_date= '2020-12-03 09:19:04';
[12/03/2020 09:19:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3072','snehal.valanju@qtechsoftware.com');
[12/03/2020 09:19:04], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/tms/view_booking.php],insert into temp(booking_id,mail_send_to)values('3072','snehal.valanju@qtechsoftware.com');
[12/03/2020 09:19:17], [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 = '3072';
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],UPDATE child_extrabed_rates SET from_date='2021-06-03',to_date='2021-06-03',supplier_id='S000000241',hotel_id='53773',room_basis_id='1',room_class_id='1044',child_no='',infant_wtc_rate= '10',infant_wtc_weekend_rate= '10',infant_display= 'yes',tiny_child_wtb_rate= '20',tiny_child_wtb_weekend_rate= '20',tiny_display= 'yes',child_wtb_rate= '30',child_wtb_weekend_rate= '30',child_display= 'yes',teen_child_wtb_rate= '40',teen_child_wtb_weekend_rate= '40',teen_display= 'yes',adult_wb_rate= '50',adult_wb_weekend_rate= '50',adult_display= 'yes' WHERE cbeid IN (98907);
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],UPDATE child_extrabed_rates SET from_date='2021-06-04',to_date='2021-06-04',supplier_id='S000000241',hotel_id='53773',room_basis_id='1',room_class_id='1044',child_no='',infant_wtc_rate= '10',infant_wtc_weekend_rate= '10',infant_display= 'yes',tiny_child_wtb_rate= '20',tiny_child_wtb_weekend_rate= '20',tiny_display= 'yes',child_wtb_rate= '30',child_wtb_weekend_rate= '30',child_display= 'yes',teen_child_wtb_rate= '40',teen_child_wtb_weekend_rate= '40',teen_display= 'yes',adult_wb_rate= '50',adult_wb_weekend_rate= '50',adult_display= 'yes' WHERE cbeid IN (98908);
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],UPDATE child_extrabed_rates SET from_date='2021-06-05',to_date='2021-06-05',supplier_id='S000000241',hotel_id='53773',room_basis_id='1',room_class_id='1044',child_no='',infant_wtc_rate= '10',infant_wtc_weekend_rate= '10',infant_display= 'yes',tiny_child_wtb_rate= '20',tiny_child_wtb_weekend_rate= '20',tiny_display= 'yes',child_wtb_rate= '30',child_wtb_weekend_rate= '30',child_display= 'yes',teen_child_wtb_rate= '40',teen_child_wtb_weekend_rate= '40',teen_display= 'yes',adult_wb_rate= '50',adult_wb_weekend_rate= '50',adult_display= 'yes' WHERE cbeid IN (98909);
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into `user_logs` set  `create_date`= '2020-12-03 09:24:34',`log_type`= 'ExtraBed Rates',`sql_query`= '',`log_description`= 'Extrabed Rates For RateGainOne added successfully. Room Category :- Standard - Double, Extrabed - 1(Bed & Breakfast) From :- 03-06-2021 To :- 05-06-2021',`ip`= '60.254.11.202',`username`= 'tfg',`user_id`= 'S000000241';
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4043', `entity`='Hotels', `value`='53773' ;
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4043', `entity`='Suppliers', `value`='S000000241' ;
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4043', `entity`='Inventory', `value`='132' ;
[12/03/2020 09:24:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4043', `entity`='Room', `value`='1044' ;
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],INSERT INTO room_rates (room_rate_code,rate_group,hotel_id,supplier_id,date_from,date_to,room_class,room_basis,ip_addr,room_type,view_basis,edit_time_stamp,weekend,rate_profile,entered_by,inventory_class_id,status,weekday_rate,weekend_rate,currency,minstay,availability,time_limit,checkin_block_for,exclude_countries,exclude_residence,stop_sale,time_stamp,created_datetime,create_date,created_by,changed_by,modify_date,modified_datetime,modified_by,consumed_inventory,stay_note) values ('53773@S000000241@2021-06-03@2021-06-03@@1044@1@1@@@0','03-06-2021~03-06-2021','53773','S000000241','2021-06-03','2021-06-03','1044','1','60.254.11.202','0','0','ed452b6b18ddd31d0631c2dc8a1a73b3','Sa,Su','1','Supplier','132','A','220','220','AED','1','10','0','0','','','0','4410f974d39a5ea5577afd851eb563c3','2020-12-01 10:37:32','2020-12-01','Supplier','Supplier','2020-12-03','2020-12-03 09:24:35','Supplier','5','');
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],DELETE  FROM room_rates WHERE id IN ('1933561');
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into `user_logs` set  `create_date`= '2020-12-03 09:24:35',`log_type`= 'Rates',`sql_query`= '',`log_description`= 'Inserted Rates For RateGainOne Rate:- 220 Room Category :- Standard - Double, Extrabed - 1 (Bed & Breakfast) Market :- All Market From:- 03-06-2021 To:- 05-06-2021',`ip`= '60.254.11.202',`username`= 'tfg',`user_id`= 'S000000241';
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4044', `entity`='Hotels', `value`='53773' ;
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4044', `entity`='Suppliers', `value`='S000000241' ;
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4044', `entity`='Inventory', `value`='132' ;
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4044', `entity`='Room', `value`='1044' ;
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],insert into user_log_link Set `user_logs_id`='4044', `entity`='Market', `value`='1' ;
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],INSERT INTO room_rates (room_rate_code,rate_group,hotel_id,supplier_id,date_from,date_to,room_class,room_basis,ip_addr,room_type,view_basis,edit_time_stamp,weekend,rate_profile,entered_by,inventory_class_id,status,weekday_rate,weekend_rate,currency,minstay,availability,time_limit,checkin_block_for,exclude_countries,exclude_residence,stop_sale,time_stamp,created_datetime,create_date,created_by,changed_by,modify_date,modified_datetime,modified_by,consumed_inventory,stay_note) values ('53773@S000000241@2021-06-04@2021-06-04@@1044@1@1@@@0','04-06-2021~04-06-2021','53773','S000000241','2021-06-04','2021-06-04','1044','1','60.254.11.202','0','0','20beab37b1bc6b5b8421df4c8d212137','Sa,Su','1','Supplier','132','A','220','220','AED','1','10','0','0','','','0','7de722219cea811528b12d1d50202e56','2020-12-01 10:37:32','2020-12-01','Supplier','Supplier','2020-12-03','2020-12-03 09:24:35','Supplier','0',''),('53773@S000000241@2021-06-05@2021-06-05@@1044@1@1@@@0','05-06-2021~05-06-2021','53773','S000000241','2021-06-05','2021-06-05','1044','1','60.254.11.202','0','0','34b03594f58bec8b29cc04f2d30375cc','Sa,Su','1','Supplier','132','A','220','220','AED','1','10','0','0','','','0','32684a2f900a0e0f86127b7e450d9a9a','2020-12-01 10:37:32','2020-12-01','Supplier','Supplier','2020-12-03','2020-12-03 09:24:35','Supplier','0','');
[12/03/2020 09:24:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/extranet-app/controllers/controller.php],DELETE  FROM room_rates WHERE id IN ('1933562','1933563');
[12/03/2020 09:24:58], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '24' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '1' , ip = '60.254.11.202' , city = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2021/06/03' , departure_date = '2021/06/04' , nationality = '106' , nights = '1' , room_types = '2' , create_date = '2020-12-03 09:24:58' , site_id = '' , country_code = '106' , web_service = '' ;
[12/03/2020 09:25:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-12-03 09:25:01', '', '022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a', '506');
[12/03/2020 09:25:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a&xml_user_id=24&request_no=1&local_hotel_code=53769&#039;,&#039;53771&#039;,&#039;53773&#039;,&#039;53775&#039;,&#039;53776&#039;,&#039;53742&web_service=no&site_id='
, http_hit_time = '2020-12-03 09:25:00.48'
, 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.127'
, error_description = ''
, memory_used = '7908600'
WHERE id = '3349';
[12/03/2020 09:25:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-12-03 09:25:01', '', '022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a', '506');
[12/03/2020 09:25:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a&xml_user_id=24&request_no=0&local_hotel_code=2&#039;,&#039;97&#039;,&#039;53716&#039;,&#039;53734&#039;,&#039;53735&#039;,&#039;53736&#039;,&#039;53737&#039;,&#039;53738&#039;,&#039;53739&#039;,&#039;53740&#039;,&#039;53741&#039;,&#039;53744&#039;,&#039;53745&#039;,&#039;53746&#039;,&#039;53747&#039;,&#039;53748&#039;,&#039;53749&#039;,&#039;53750&#039;,&#039;53751&#039;,&#039;53757&#039;,&#039;53758&#039;,&#039;53759&#039;,&#039;53766&#039;,&#039;53767&#039;,&#039;53768&web_service=no&site_id='
, http_hit_time = '2020-12-03 09:25:00.93'
, 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.582'
, error_description = ''
, memory_used = '7910040'
WHERE id = '3350';
[12/03/2020 09:25:01], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=24&sessionid=022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a',
  duration = '2.099',
  merge_duration = '0.055',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.49',
  system_load_5_min = '0.91',
  system_load_15_min = '1.27',
  system_memory_usage = '87.70',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '506') + '8042472',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '506';
[12/03/2020 09:25:24], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1606987524','60.254.11.202');
[12/03/2020 09:25:45], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '24' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '1' , ip = '60.254.11.202' , city = 'mumbai' , service_name = '' , service_type = 'hotel' , arrival_date = '2021/06/03' , departure_date = '2021/06/05' , nationality = '106' , nights = '2' , room_types = '2' , create_date = '2020-12-03 09:25:45' , site_id = '' , country_code = '106' , web_service = '' ;
[12/03/2020 09:25:47], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-12-03 09:25:47', '', '022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a', '507');
[12/03/2020 09:25:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
VALUE ('', 'AVAILABILITY', '/request_placeholder.xml', '/response_placeholder.xml', '/response_header_placeholder.xml', 'localsystem', '2020-12-03 09:25:48', '', '022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a', '507');
[12/03/2020 09:25:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a&xml_user_id=24&request_no=1&local_hotel_code=53769&#039;,&#039;53771&#039;,&#039;53773&#039;,&#039;53775&#039;,&#039;53776&#039;,&#039;53742&web_service=no&site_id='
, http_hit_time = '2020-12-03 09:25:46.977'
, 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.101'
, error_description = ''
, memory_used = '7908976'
WHERE id = '3351';
[12/03/2020 09:25:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/call.php],UPDATE xmllogs SET
hotel_count = ''
, request_url = '/call.php?s=localsystem&sessionid=022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a&xml_user_id=24&request_no=0&local_hotel_code=2&#039;,&#039;97&#039;,&#039;53716&#039;,&#039;53734&#039;,&#039;53735&#039;,&#039;53736&#039;,&#039;53737&#039;,&#039;53738&#039;,&#039;53739&#039;,&#039;53740&#039;,&#039;53741&#039;,&#039;53744&#039;,&#039;53745&#039;,&#039;53746&#039;,&#039;53747&#039;,&#039;53748&#039;,&#039;53749&#039;,&#039;53750&#039;,&#039;53751&#039;,&#039;53757&#039;,&#039;53758&#039;,&#039;53759&#039;,&#039;53766&#039;,&#039;53767&#039;,&#039;53768&web_service=no&site_id='
, http_hit_time = '2020-12-03 09:25:47.8'
, 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.332'
, error_description = ''
, memory_used = '7910416'
WHERE id = '3352';
[12/03/2020 09:25:48], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/xml_all.php],UPDATE agent_logs SET
  hotel_count = '',
  request_path = '/xml_all.php?userid=24&sessionid=022444689e1e001d36d47f0cd789d2f59ca775a70c5309964b275efaf16b5f6a',
  duration = '1.775',
  merge_duration = '0.081',
  assigned_supplier_count = '1',
  searched_supplier_count = '1',
  system_load_1_min = '0.87',
  system_load_5_min = '0.95',
  system_load_15_min = '1.26',
  system_memory_usage = '87.71',
  memory_usage = (SELECT COALESCE(SUM(memory_used),0) FROM xmllogs WHERE agent_logs_id = '507') + '8043080',
  parallel_search_count = '',
  mongo_archive_collection = '',
  error_description = '',
  is_cached = 'no'
WHERE id = '507';
[12/03/2020 09:26:15], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1606987575','60.254.11.202');
[12/03/2020 09:27:25], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1606987645','60.254.11.202');
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings SET  source_type = 'localsystem', reservation_id = '1911', create_date = '2020-12-03 09:27:33', agent_id = '24', parent_agent_id = '24', agent_ref_no = '', nationality = 'Indian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '440', display_currency_code = 'AED', native_room_rate = '440', native_currency_code = 'AED', supplier_profile_id = '1', service_type = 'hotel', service_date = '2021/06/03', check_out_date = '2021/06/05', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'Deep', leader_last_name = 'Mishra', booking_branch_id = '1', expiration_date = '2020-12-03 09:27: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 440 AED applicable if cancelled after 03 Dec 2020 14:56 hrs.', supplier_cancellation_policy = '', status_date = '2020-12-03 09:27:33',  site_url = 'https://alpha.otrams.thefabulousgetaway.com/';
[12/03/2020 09:27:33], [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 ('3073','RATEGAINONE','RATEGAINONE','53773','53773','mumbai','LOCAL_SUPPLIER',NOW());
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE
        bookings
        SET
        booking_branch_id= '1'
        WHERE
        id='3073'
        ;
[12/03/2020 09:27:33], [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('3073','S000000241','1','2','0','-','','','53773','53773','RATEGAINONE','Mumbai','123456789','5.0','2','2021/06/03','2021/06/05','','https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg');
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_room_detail set  booking_id = '3073', booking_detail_id = '1211', room_type_code = '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241', room_name = 'double', room_type_description = 'Standard  -Bed & Breakfast : 2 Pax <font color=\'red\'>-D</font>', display_nightly_rates = 'a:2:{i:0;a:3:{s:18:\"displayNightlyRate\";i:220;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:152:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 220 AED, Currency Multiplier (AED-AED) - 1.00000 Supplier Commission-0 #localsystem\";}i:1;a:3:{s:18:\"displayNightlyRate\";i:220;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:152:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 220 AED, Currency Multiplier (AED-AED) - 1.00000 Supplier Commission-0 #localsystem\";}}', native_nightly_rates = 'a:2:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:220;s:17:\"nativeNightlyRate\";i:220;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;}}i:1;a:4:{s:19:\"O_nativeNightlyRate\";i:220;s:17:\"nativeNightlyRate\";i:220;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 = '440', display_room_rate_total = '440', number_of_rooms = '1';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3073', booking_detail_id = '1211', rid = '1811', room = '0', salutations = 'Mr', first_name = 'Deep', last_name = 'Mishra', passenger_type = 'adult', age = '';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into passangers set  booking_id = '3073', booking_detail_id = '1211', rid = '1811', room = '0', salutations = 'Mr', first_name = 'Anand', last_name = 'Sri', passenger_type = 'adult', age = '';
[12/03/2020 09:27:33], [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 = 'SalesConsultant', sales_manager_id = '', admin_booked = '1', email_id = 'sistemas@juantoselli.com', leader_phone = '+543514149600', agent_currency_multiplier = '0.27222', ip_addr = '60.254.11.202', backoffice_user = 'tfg', customer_id = '', applied_multiplier='1.00000', free_sale='',  applied_markup='0',  agent_markup='0',  basecurrency_multiplier='0.27222',  basecurrency_multiplier_native='0.27222',  parent_agent_id='24',  sub_agent_rate='0', agent_rate='440',  applicable_service_tax='0',  supplier_rate='440',  original_source='',  uid='429978cc77550587f103015834103a89'  where id='3073';
[12/03/2020 09:27:33], [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 ='3073';
[12/03/2020 09:27:33], [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 = '3073';
[12/03/2020 09:27:33], [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('3073','2020-12-03 09:26:00','2020-12-03 09:26:00','440','440','0','2020-12-03 09:27:33');
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('3073','','');
[12/03/2020 09:27:33], [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 ('3073','confirmed','2020-12-03 09:27:33','Booking confirmed . Booked by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0024)','24','60.254.11.202','0','24');
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO booking_search_log(booking_id, details)
        VALUES(3073, 'a:30:{s:3:\"_id\";a:1:{s:4:\"$oid\";s:24:\"5fc8af1ce40ce6668f788203\";}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:\"AED\";s:5:\"phone\";s:9:\"123456789\";s:16:\"shortDescription\";s:24:\"No Description Available\";s:11:\"website_url\";s:0:\"\";s:12:\"thumbNailUrl\";s:99:\"https://alpha.otrams.thefabulousgetaway.com/project_folder/tfg_project/images/imagenotavailable.jpg\";s:10:\"sourceType\";s:11:\"localsystem\";s:10:\"supplierid\";s:10:\"S000000241\";s:12:\"suppliername\";s:16:\"RateGainSupplier\";s:14:\"propertyRating\";s:3:\"5.0\";s:15:\"specialCategory\";a:1:{i:0;s:1:\"1\";}s:13:\"HotelProperty\";a:1:{s:11:\"localsystem\";a:1:{i:0;a:1:{s:8:\"RateInfo\";a:13:{s:10:\"room_rates\";a:1:{i:0;a:33:{s:11:\"ratebreakup\";a:4:{s:6:\"markup\";i:0;s:10:\"commission\";i:0;s:18:\"NativeNightlyRates\";a:2:{i:0;a:4:{s:19:\"O_nativeNightlyRate\";i:220;s:17:\"nativeNightlyRate\";i:220;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;}}i:1;a:4:{s:19:\"O_nativeNightlyRate\";i:220;s:17:\"nativeNightlyRate\";i:220;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:2:{i:0;a:3:{s:18:\"displayNightlyRate\";i:220;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:152:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 220 AED, Currency Multiplier (AED-AED) - 1.00000 Supplier Commission-0 #localsystem\";}i:1;a:3:{s:18:\"displayNightlyRate\";i:220;s:16:\"promotionDisplay\";s:0:\"\";s:25:\"displayNightlyRateDisplay\";s:152:\"Supplier Name - localsupplier(RateGainSupplier - S000000241), Rate - 220 AED, Currency Multiplier (AED-AED) - 1.00000 Supplier Commission-0 #localsystem\";}}}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:\"ed452b6b18ddd31d0631c2dc8a1a73b3\";s:16:\"number_of_adults\";s:1:\"2\";s:10:\"view_basis\";s:0:\"\";s:13:\"view_basis_id\";s:1:\"0\";s:9:\"available\";i:1;s:9:\"free_sale\";N;s:7:\"minStay\";s:1:\"1\";s:19:\"displayCurrencyCode\";s:3:\"AED\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:20:\"displayRoomTypeRates\";i:440;s:20:\"sortingRoomTypeRates\";i:440;s:19:\"nativeRoomTypeRates\";i:440;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_7235783\";}}s:9:\"available\";i:1;s:15:\"displayRoomRate\";i:440;s:14:\"nativeRoomRate\";i:440;s:9:\"unique_id\";s:37:\"1_53773----------S000000241_0_0_87679\";s:10:\"supplierId\";s:10:\"S000000241\";s:19:\"displayCurrencyCode\";s:3:\"AED\";s:18:\"nativeCurrencyCode\";s:3:\"AED\";s:18:\"applied_markup_per\";i:0;s:18:\"applied_multiplier\";s:7:\"1.00000\";s:19:\"supplier_profile_id\";s:1:\"1\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}s:8:\"no_class\";i:0;}}}}s:13:\"total_charges\";i:440;s:17:\"propertyAvailable\";i:1;s:8:\"no_class\";i:0;s:18:\"sort_total_charges\";i:440;s:16:\"hotel_name_ascii\";s:11:\"rategainone\";s:13:\"supplier_data\";a:5:{s:7:\"hotelId\";s:25:\"53773----------S000000241\";s:10:\"sourceType\";s:11:\"localsystem\";s:15:\"supp_hotel_name\";s:11:\"RATEGAINONE\";s:18:\"supp_hotel_address\";s:6:\"Mumbai\";s:10:\"supplierId\";s:10:\"S000000241\";}}');
[12/03/2020 09:27:33], [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('3073','2020-12-03 09:26:00','2020-12-03 09:26:00','1970-01-01 00:00:00','1970-01-01 00:00:00','440','440','0','2020-12-03 09:27:33','');
[12/03/2020 09:27:33], [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 = '3073';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO bookings_applicable_offer set  oid= '',  offer_type_code= '',  booking_id= '3073',  room_id= '2~~~132~~~1044~~~1~~~~~~~~~64440~~~0~~~S000000241',  room_name= 'double',  supplier_id= 'S000000241',  agent_id= '',  applied_native_discount= '0',  original_native_rate= '440',  native_rate= '440',  promotion_text= '',  offer_disc_type= '',  offer_disc_value= '',  offer_disc_currency= '',  create_date= '2020-12-03 09:27:33' ;
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set confirmation_number='',itenirary_id='3073' where  id ='3073';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE room_rates SET availability = availability-1,consumed_inventory = consumed_inventory+1 WHERE hotel_id = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-06-03';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE room_rates SET availability = availability-1,consumed_inventory = consumed_inventory+1 WHERE hotel_id = '53773' and inventory_class_id = '132' and supplier_id = 'S000000241' and date_from = '2021-06-04';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update supplement_rate set inventory = '0' where supplement_rate_id = '1';
[12/03/2020 09:27:33], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into booking_configuration set  booking_id = '3073', config_key = 'BOOKING OTP', config_value = '0k1IrlB9';;
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103073 /  Booking Confirmed ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 42372 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-03 09:27:34';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3073','snehal.valanju@qtechsoftware.com');
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3073','snehal.valanju@qtechsoftware.com');
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update posted_bookings set booking_id='3073',status='1' where reservation_id='1911' and booking_id ='0';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update xmllogs set reservation_id='3073' where agent_logs_id='507' and source_type='localsystem';
[12/03/2020 09:27:34], [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 ='3073',  create_date ='2020-12-03 09:27:34', supplier_tax='';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set voucher_id='Test123',status_date='2020-12-03 09:27:34',current_status='vouchered',voucher_hashcode='6303385436c534bef0ea81f727e268c5680003073',vouchered_by ='' where id='3073';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],Insert into booking_configuration set booking_id='3073',config_key='VOUCHER_DATE', config_value='2020-12-03 09:27:34',create_date='2020-12-03 09:27:34';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO autogenerator_invoice_number (id, number) VALUES ('','1606987654');
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],update bookings set is_invoiced='yes',invoice_number= '2020/400' where id='3073' and is_invoiced!='yes';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],UPDATE agents SET credit_usage=credit_usage+('119.7768'),   credit_value= credit_value-('119.7768') ,  cd_credit_usage=cd_credit_usage+('119.7768') , cd_credit_value=cd_credit_value-('119.7768')  WHERE id = '24';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into  agent_credit_log SET agent_id= '24',credit_value= '8705.798',credit_usage= '1294.202',credit_limit= '10000',receipt_id= '',amount= '119.7768',booking_id='3073',booking_cost= '440',receipt_allocation= '',balance= '440',ip='60.254.11.202',user_type='User',admin_id='Agent - Snehal  Valanju(CD0024)',temp_credit_limit='',log_type='Add Invoice',note='Add Invoice',create_date='2020-12-03 09:12:34';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_rate_info set agent_price='0',sub_agent_price='0',supplier_currency='AED',supplier_price='440',supplier_type='offline',supplier_id='S000000241',acc_type='purchase',accounting_multiplier='0.27222',booking_id='3073',booking_log='Booking Vouchered',type='Sale',create_date='2020-12-03 09:27:34',account_invoice='2020/400',particulars='';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into booking_rate_info set agent_price='440',sub_agent_price='0',supplier_price='0',acc_type='sale',accounting_multiplier='0.27222',booking_id='3073',booking_log='Booking Vouchered',type='Sale',create_date='2020-12-03 09:27:34',account_invoice='2020/400',particulars='';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],DELETE FROM accounts_invoice_transaction WHERE bid = 1522;
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO accounts_invoice_transaction SET bid= '1522',booking_id= '3073',invoice_number= '2020/400',service_type= 'hotel',booking_type= 'online',service_name= 'RATEGAINONE',type= 'sale',room_type= 'double',quantity_room= '1',from_date= '2021/06/03',to_date= '2021/06/05',quantity= '2',price= '220',total_price= '440';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= 'The Fabulous Getaway Tax Dispute(TaxInvoice)',from_email_id= 'sanket.desai@qtechsoftware.com',body= 'Rm9yIEZvbGxvd2luZyBib29raW5nIFRheCBpcyBub3QgaW5zZXJ0ZWQ8YnI+Qm9va2luZ0lkOi0zMDczPGJyPkludm9pY2Ugbm86LTIwMjAvNDAwPGJyPmJyYW5jaF9pZDotMTxicj5UeXBlOi1hZ2VudDxicj5BY2NvdW50IHR5cGU6LXNhbGU8YnI+',to_email_id= 'sanket.desai@qtechsoftware.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-03 09:27:34';
[12/03/2020 09:27:34], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php], insert into email_trigger set  subject ='The Fabulous Getaway Tax Dispute',  message='For Following booking Tax is not inserted<br>BookingId:-3073<br>Invoice no:-2020/400<br>branch_id:-1<br>Type:-agent<br>Account type:-sale<br>',  email_sent ='yes', create_date ='2020-12-03 09:27:34', email_sent_to ='sanket.desai@qtechsoftware.com,TESTER_EMAIL_ID', email_type ='TaxInvoice';
[12/03/2020 09:27:35], [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
        ('','','3073','vouchered-invoiced','2020-12-03 09:27:35','Booking invoiced by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0024)','24','60.254.11.202','','','');
[12/03/2020 09:27:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],INSERT INTO agent_commission SET booking_id ='3073',booking_detail_id ='3073',agent_id ='24',is_sub_agent ='N',parent_id ='',display_commission ='0',display_currency ='AED',paid ='N',type ='hotel',description ='Agent Mark Up Percentage is 0 %',create_date ='2020-12-03 09:27:35';
[12/03/2020 09:27:35], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into accounting_status set booking_id ='3073',acc_sales_export='0',acc_purchase_export='0',acc_status='A';
[12/03/2020 09:27:35], [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
        ('','','3073','vouchered','2020-12-03 09:27:35','Voucherd by Back Office tfg on behalf of Agent - Snehal  Valanju(CD0024)','24','60.254.11.202','','','');
[12/03/2020 09:27:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into email_logs SET `subject`= ' TFG103073 /  Booking Vouchered ',from_email_id= 'sanket.desai@qtechsoftware.com',body= '[encoded data, 29072 characters]',to_email_id= 'snehal.valanju@qtechsoftware.com,SalesConsultant@gmail.com',cc= '',bcc= '',status= 'Success',page_url= '/confirm_booking.php',create_date= '2020-12-03 09:27:36';
[12/03/2020 09:27:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3073','snehal.valanju@qtechsoftware.com');
[12/03/2020 09:27:36], [file name :-/home/otrams/public_html/otramsphp7/uat/v3otrams/confirm_booking.php],insert into temp(booking_id,mail_send_to)values('3073','SalesConsultant@gmail.com');
[12/03/2020 09:27:54], [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 = '3073';
