[01/24/2024 03:00:05], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update bookings set admin_booked='1' where id='362';
[01/24/2024 03:00:24], [file name :-/home/otrams/public_html/beta/agent_login.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:00:24' WHERE id= '309';
[01/24/2024 03:00:24], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2024-01-24 03:00:24',login_attempt=0 where id = '7851';
[01/24/2024 03:00:24], [file name :-/home/otrams/public_html/beta/agent_login.php],INSERT INTO psa_login_log  SET username = 'Viator_test', user_type = 'A', branch_id = '27', login_datetime = '2024-01-24 15:00:24', ip = '43.239.53.130', action = 'Login' ;
[01/24/2024 03:00:24], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:00:24' WHERE id= '309';
[01/24/2024 03:01:37], [file name :-/home/otrams/public_html/beta/agent_login.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:01:37' WHERE id= '309';
[01/24/2024 03:01:37], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2024-01-24 03:01:37',login_attempt=0 where id = '7851';
[01/24/2024 03:01:37], [file name :-/home/otrams/public_html/beta/agent_login.php],INSERT INTO psa_login_log  SET username = 'Viator_test', user_type = 'A', branch_id = '27', login_datetime = '2024-01-24 15:01:37', ip = '43.239.53.130', action = 'Login' ;
[01/24/2024 03:01:38], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:01:38' WHERE id= '309';
[01/24/2024 03:01:41], [file name :-/home/otrams/public_html/beta/sight_search.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:01:41' WHERE id= '309';
[01/24/2024 03:01:45], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:01:45' WHERE id= '309';
[01/24/2024 03:01:52], [file name :-/home/otrams/public_html/beta/sight_search_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:01:52' WHERE id= '309';
[01/24/2024 03:01:52], [file name :-/home/otrams/public_html/beta/sight_search_list.php],INSERT INTO agent_logs SET  agent_id = '7851' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '27' , ip = '43.239.53.130' , city = 'dubai' , arrival_date='2024/02/20',  departure_date='2024/02/20',  nights='1',  create_date='2024-01-24 :15:01:52',  nationality='',  additional_markup='',  selected_currency='USD',  service_type='sightseeing',  total_adult='',  total_children='',  site_id = '' ;
[01/24/2024 03:02:10], [file name :-/home/otrams/public_html/beta/sight_search_list.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', 'v1/24_01_2024/request_availability_Viator_test_15_01_52_1706108512.json', 'v1/24_01_2024/response_availability_Viator_test_15_01_52_1706108512.json', 'v1/24_01_2024/response_header_availability_Viator_test_15_01_52_1706108512.json', 'viator', '2024-01-24 03:02:10', '', '', '1131');
[01/24/2024 03:02:11], [file name :-/home/otrams/public_html/beta/sight_search_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:11' WHERE id= '309';
[01/24/2024 03:02:11], [file name :-/home/otrams/public_html/beta/ajax/ajax_categories.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:11' WHERE id= '309';
[01/24/2024 03:02:14], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:14' WHERE id= '309';
[01/24/2024 03:02:14], [file name :-/home/otrams/public_html/beta/user_sight_details.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'sight_details', 'v1/24_01_2024/request_sight_details_Viator_test_15_02_14_1706108534.json', 'v1/24_01_2024/response_sight_details_Viator_test_15_02_14_1706108534.json', 'v1/24_01_2024/response_header_sight_details_Viator_test_15_02_14_1706108534.json', 'viator', '2024-01-24 03:02:14', '', '', '1131');
[01/24/2024 03:02:18], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:18' WHERE id= '309';
[01/24/2024 03:02:18], [file name :-/home/otrams/public_html/beta/user_sight_details.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'sight_details', 'v1/24_01_2024/request_sight_details_Viator_test_15_02_18_1706108538.json', 'v1/24_01_2024/response_sight_details_Viator_test_15_02_18_1706108538.json', 'v1/24_01_2024/response_header_sight_details_Viator_test_15_02_18_1706108538.json', 'viator', '2024-01-24 03:02:18', '', '', '1131');
[01/24/2024 03:02:21], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:21' WHERE id= '309';
[01/24/2024 03:02:22], [file name :-/home/otrams/public_html/beta/user_sight_details.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'sight_details', 'v1/24_01_2024/request_sight_details_Viator_test_15_02_21_1706108541.json', 'v1/24_01_2024/response_sight_details_Viator_test_15_02_21_1706108541.json', 'v1/24_01_2024/response_header_sight_details_Viator_test_15_02_21_1706108541.json', 'viator', '2024-01-24 03:02:22', '', '', '1131');
[01/24/2024 03:02:27], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:27' WHERE id= '309';
[01/24/2024 03:02:28], [file name :-/home/otrams/public_html/beta/user_sight_details.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'check_availability', 'v1/24_01_2024/request_check_availability_Viator_test_15_02_27_1706108547.json', 'v1/24_01_2024/response_check_availability_Viator_test_15_02_27_1706108547.json', 'v1/24_01_2024/response_header_check_availability_Viator_test_15_02_27_1706108547.json', 'viator', '2024-01-24 03:02:28', '', '', '1131');
[01/24/2024 03:02:29], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:29' WHERE id= '309';
[01/24/2024 03:02:29], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1706108549','43.239.53.130');
[01/24/2024 03:02:38], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:38' WHERE id= '309';
[01/24/2024 03:02:42], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:42' WHERE id= '309';
[01/24/2024 03:02:44], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:44' WHERE id= '309';
[01/24/2024 03:02:46], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:46' WHERE id= '309';
[01/24/2024 03:02:49], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:49' WHERE id= '309';
[01/24/2024 03:02:52], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:02:52' WHERE id= '309';
[01/24/2024 03:03:15], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:03:15' WHERE id= '309';
[01/24/2024 03:03:15], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1706108595','43.239.53.130');
[01/24/2024 03:03:15], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:03:15' WHERE id= '309';
[01/24/2024 03:03:15], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO bookings set reservation_id='2307',agent_id='7851',leader_title='Mr',leader_first_name='shiv',leader_last_name='prakash',city_id='dubai',country_id='138',nationality='Emirati',display_room_rate='89.18',display_currency_code='USD',native_room_rate='89.18',consultant_id='SUJAY_QTECH',native_currency_code='USD',cancellation_policy='Cancellation Charges will be applicable if cancelled after 12 Dec 2023 12:00 hrs.<BR>Late amendment charge may apply.<Br><Br><B><U>Detailed Cancellation Policy:</U></B><Br>89.18 USDCharges - 100% applicable from time of Booking (Full Cancellation Charges applicable immediately)',current_status='inprocess-booking',booking_status='1',sales_manager_id='0',create_date='2024-01-24 15:03:15',source_type='viator',expiration_date= '2023-12-12 09:00:00',applied_multiplier='1.00000',applied_markup='0',agent_markup='0',basecurrency_multiplier='1.00000',basecurrency_multiplier_native='1.00000',admin_booked='0',service_date='2024-02-20',sub_user_id='',check_out_date='2024-02-20',supplier_profile_id='',agent_currency_multiplier='3.7507', booking_branch_id = '27',site_url = 'https://beta.astrabookings.com/',ip_addr='43.239.53.130',leader_phone=' 9823860012',email_id='shiv.chauhan@qtechsoftware.com',service_type='sightseeing';
[01/24/2024 03:03:15], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO sight_bookings set booking_id='363',native_nightly_rates='a:2:{s:4:\"size\";i:1;s:17:\"nativeNightlyRate\";d:89.180000000000007;}',rate_description='',display_nightly_rates='a:4:{s:4:\"size\";i:1;s:18:\"displayNightlyRate\";d:89.180000000000007;s:25:\"displayNightlyRateDisplay\";s:133:\"Rate - 89.18 USD, Currency Multiplier (USD-USD) - 1.00000, Markup  in % - %, Markup Amount - , Markup Amount in  - ,Other Markup - 0%\";s:23:\"displayNightlyRateStore\";s:134:\"Rate - 89.18 USD, Currency Multiplier (USD-USD) - 1.00000, Markup  in % - %, Markup Amount - , Markup Amount in  -  ,Other Markup - 0%\";}',display_currency_code='USD',native_currency_code='USD',sight_id='333273P2',sight_name='DUBAI LONG SELF-DRIVE QUADBIKE WITH CAMEL AND FALCON- V2',tour_time='',tour_details='',tour_inclusive='<br/>',tour_exclusive=',<br/>',meeting_point='',tour_dep_point=' ',tour_language='en/SERVICE_GUIDE',tour_supplier_phone='',additional_tour_dep_point='',tour_duration='4 hours 0 minutes<br> Start Time: 07:00',arrival_date='2024-02-20',total_adults='2',total_children='',total_infants='',gta_city_code='828',supplier_id='',pick_up_point='',drop_off_point='',from_slot='',to_slot='',total_adult_rate='',total_child_rate='',adult_rate='',child_rate='',display_total_adult_rate='',display_total_child_rate='',display_adult_rate='',display_child_rate='0',additional_service_rate='0',booking_remark='',emergency_cont_no='',terms_n_condition='';
[01/24/2024 03:03:15], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO posted_bookings(id,source_type,reservation_id,create_date,status) values ('','viator','2307','2024-01-24 15:03:15',0);
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'reservation_sight', 'v1/24_01_2024/request_reservation_sight_Viator_test_15_03_15_1706108595.json', 'v1/24_01_2024/response_reservation_sight_Viator_test_15_03_15_1706108595.json', 'v1/24_01_2024/response_header_reservation_sight_Viator_test_15_03_15_1706108595.json', 'viator', '2024-01-24 03:03:18', '', '', '1131');
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE posted_bookings set status=1 where id= '200';
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update bookings set  parent_agent_id='7851', applicable_service_tax='0', sub_agent_rate='0', agent_rate='89.18', supplier_rate='89.18', uid='', itenirary_id='2307687', confirmation_number='BR-595268053', comment_contract='', current_status='confirmed', original_source='' where id='363';
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update sight_bookings set gtaToken='',gta_item_confirm_ref='',tour_supplier='',textaddition_activities='N;' where booking_id='363';
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','363','confirmed','2024-01-24 15:03:18','Sightseeing Booking confirmed by Agent..7851','7851','43.239.53.130','','','');
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],insert into sight_passangers(booking_id,salutations,tour,first_name,last_name,passenger_type,age)values('363','Mr','1','shiv','prakash','adult','0');
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],insert into sight_passangers(booking_id,salutations,tour,first_name,last_name,passenger_type,age)values('363','Mr','1','jai','praksh','adult','0');
[01/24/2024 03:03:18], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update xmllogs set reservation_id='363' where agent_logs_id='1131' and source_type='viator';
[01/24/2024 03:03:22], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update bookings set invoice_number= 'INV24012400005', voucher_id='2401150322',status_date='2024-01-24 15:03:22',current_status='vouchered',voucher_hashcode='3582496fd9ede2f73d3d1e0859ac674016263363',vouchered_by ='' where id='363';
[01/24/2024 03:03:22], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update bookings set is_invoiced='yes',invoice_number= 'INV24012400005' where id='363' and is_invoiced!='yes';
[01/24/2024 03:03:22], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE agents SET credit_usage=credit_usage+('334.487426'),   credit_value= credit_value-('334.487426') ,  cd_credit_usage=cd_credit_usage+('334.487426') , cd_credit_value=cd_credit_value-('334.487426')  WHERE id = '7851';
[01/24/2024 03:03:22], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],insert into  agent_credit_log SET agent_id= '7851',credit_value= '3203.315',credit_usage= '6796.685',credit_limit= '10000.000',receipt_id= '',amount= '334.487426',booking_id='363',booking_cost= '',receipt_allocation= '',balance= '',ip='43.239.53.130',user_type='User',admin_id='Agent - Viator  Viator(CD7851)',temp_credit_limit='',log_type='Add Invoice',note='Add Invoice',create_date='2024-01-24 15:01:22';
[01/24/2024 03:03:22], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php], insert into booking_rate_info set  booking_id = '363', booking_log = 'Booking Vouchered', create_date = '2024-01-24 15:03:22', supplier_currency ='USD', type = 'Sale', agent_price = '89.18', sub_agent_price ='', supplier_price = '89.180', supplier_id = 'viator', supplier_type = 'online';
[01/24/2024 03:03:25], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','363','vouchered-invoiced','2024-01-24 15:03:25','Booking invoiced by Back Office v3alpha on behalf of Agent - Viator  Viator(CD7851)','7851','43.239.53.130','','','');
[01/24/2024 03:03:25], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO agent_commission SET booking_id ='363',booking_detail_id ='363',agent_id ='7851',is_sub_agent ='N',parent_id ='',display_commission ='0',display_currency ='USD',paid ='N',type ='sightseeing',description ='Agent Mark Up Percentage is 0 %',create_date ='2024-01-24 15:03:25';
[01/24/2024 03:03:25], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','363','vouchered','2024-01-24 15:03:25','Voucherd by Back Office v3alpha on behalf of Agent - Viator  Viator(CD7851)','7851','43.239.53.130','','','');
[01/24/2024 03:04:10], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:10' WHERE id= '309';
[01/24/2024 03:04:17], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:17' WHERE id= '309';
[01/24/2024 03:04:22], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:22' WHERE id= '309';
[01/24/2024 03:04:32], [file name :-/home/otrams/public_html/beta/get_cancellation_fee_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:32' WHERE id= '309';
[01/24/2024 03:04:32], [file name :-/home/otrams/public_html/beta/get_cancellation_fee_sight.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header)
                    VALUE('363', 'sight_cancellation_fee', 'v1/24_01_2024/request_sight_cancellation_fee_Viator_test_363_15_04_32_1706108672.json', 'v1/24_01_2024/response_sight_cancellation_fee_Viator_test_363_15_04_32_1706108672.json', 'v1/24_01_2024/response_header_sight_cancellation_fee_Viator_test_363_15_04_32_1706108672.json', 'viator', '2024-01-24 03:04:32', '');
[01/24/2024 03:04:32], [file name :-/home/otrams/public_html/beta/get_cancellation_fee_sight.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header)
                    VALUE('363', 'sight_cancellation_reason', 'v1/24_01_2024/request_sight_cancellation_reason_Viator_test_363_15_04_32_1706108672.json', 'v1/24_01_2024/response_sight_cancellation_reason_Viator_test_363_15_04_32_1706108672.json', 'v1/24_01_2024/response_header_sight_cancellation_reason_Viator_test_363_15_04_32_1706108672.json', 'viator', '2024-01-24 03:04:32', '');
[01/24/2024 03:04:40], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:40' WHERE id= '309';
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header)
                    VALUE('363', 'sight_cancellation', 'v1/24_01_2024/request_sight_cancellation_Viator_test_363_15_04_40_1706108680.json', 'v1/24_01_2024/response_sight_cancellation_Viator_test_363_15_04_40_1706108680.json', 'v1/24_01_2024/response_header_sight_cancellation_Viator_test_363_15_04_40_1706108680.json', 'viator', '2024-01-24 03:04:45', '');
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],INSERT INTO history_bookings set history_booking_id ='363', agent_id ='7851', itenirary_id ='2307687', confirmation_number ='BR-595268053', payment_confirmation_no ='', voucher_id ='2401150322', voucher_hashcode ='3582496fd9ede2f73d3d1e0859ac674016263363', email_id ='shiv.chauhan@qtechsoftware.com', leader_title ='Mr', leader_first_name ='shiv', leader_last_name ='prakash', city_id ='dubai', country_id ='138', display_room_rate ='89.180', native_room_rate ='89.180', native_currency_code ='USD', additional_charge ='0.000', cancellation_policy ='Cancellation Charges will be applicable if cancelled after 12 Dec 2023 12:00 hrs.<BR>Late amendment charge may apply.<Br><Br><B><U>Detailed Cancellation Policy:</U></B><Br>89.18 USDCharges - 100% applicable from time of Booking (Full Cancellation Charges applicable immediately)', supplier_cancellation_policy ='', current_status ='confirmed', booking_status ='1', status_date ='2024-01-24 15:03:22', create_date ='2024-01-24 15:03:15', source_type ='viator', expiration_date ='2023-12-12 09:00:00', comment_contract ='', admin_note ='', is_payment_gateway ='0', service_type ='sightseeing', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='89.180', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='89.180', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='SUJAY_QTECH', admin_booked ='0', 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 ='1.00000', wh_basecurrency_multiplier ='1', basecurrency_multiplier_native ='1.00000', wh_basecurrency_multiplier_native ='1', agent_currency_multiplier ='3.7507', wh_agent_currency_multiplier ='1.000', modified_datetime ='2024-01-24 15:04:45', modified_by ='', display_currency_code ='USD', created_datetime ='2024-01-24 15:04:45', sub_agent_rate ='0.000', created_by ='Viator_test', site_id ='0', applicable_service_tax ='0.000', wh_parent_agent_id ='0', wh_agent_id ='0', nationality ='Emirati', ip_addr ='43.239.53.130', is_cancel_history ='1';
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','363','cancelled','2024-01-24 15:04:45','','7851','43.239.53.130','','','');
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE bookings SET current_status='cancelled',status_date='2024-01-24 15:04:45' , pending_cancellation = 'no' WHERE reservation_id = '2307' AND id = '363' AND (current_status = 'pending' OR  current_status = 'confirmed' OR  current_status = 'vouchered' OR  current_status = 'on_request' OR  current_status = 'inprocess_cancel') ;
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],update booking_commission set status='D'  where booking_id ='363';
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE bookings SET  agent_rate='0' , sub_agent_rate='0' , supplier_rate='0' , applicable_service_tax='0' WHERE id = '363' AND (current_status = 'cancelled' ) ;
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],delete from cancellations where booking_id =? ;
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],INSERT INTO cancellations (native_charge,display_charge,native_currency_code,display_currency_code,reservation_id,booking_id,cancellation_date,confirmation_no,note) values ('','0','USD','USD','2307','363','2024-01-24 15:04:45','','Confirmed charges. ');
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE agents SET credit_usage=credit_usage+('-334.487426'),   credit_value= credit_value-('-334.487426') ,  cd_credit_usage=cd_credit_usage+('-334.487426') , cd_credit_value=cd_credit_value-('-334.487426')  WHERE id = '7851';
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],insert into  agent_credit_log SET agent_id= '7851',credit_value= '3537.802',credit_usage= '6462.198',credit_limit= '10000.000',receipt_id= '',amount= '-334.487426',booking_id='363',booking_cost= '',receipt_allocation= '',balance= '',ip='43.239.53.130',user_type='User',admin_id='Agent - Viator  Viator(CD7851)',temp_credit_limit='',log_type='Booking Cancelled',note='Booking Cancelled',create_date='2024-01-24 15:01:45';
[01/24/2024 03:04:45], [file name :-/home/otrams/public_html/beta/booking_list_sight.php], insert into booking_rate_info set  booking_id = '363', booking_log = 'Booking Cancelled', create_date = '2024-01-24 15:04:45', supplier_currency ='USD', type = 'Cancelled', agent_price = '-89.18', sub_agent_price ='', supplier_price = '-89.18', supplier_id = 'viator', supplier_type = 'online';
[01/24/2024 03:04:52], [file name :-/home/otrams/public_html/beta/index.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:52' WHERE id= '309';
[01/24/2024 03:04:52], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:52' WHERE id= '309';
[01/24/2024 03:04:53], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:04:53' WHERE id= '309';
[01/24/2024 03:05:18], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:05:18' WHERE id= '309';
[01/24/2024 03:06:22], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:06:22' WHERE id= '309';
[01/24/2024 03:06:28], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-24 03:06:28' WHERE id= '309';
