[07/24/2023 09:05:53], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2023-07-24 09:05:53',login_attempt=0 where id = '7857';
[07/24/2023 09:05:53], [file name :-/home/otrams/public_html/beta/agent_login.php],INSERT INTO psa_login_log  SET username = 'Deepak_T', user_type = 'A', branch_id = '28', login_datetime = '2023-07-24 09:05:53', ip = '43.239.53.130', action = 'Login' ;
[07/24/2023 09:05:54], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:05:54' WHERE id= '49';
[07/24/2023 09:06:08], [file name :-/home/otrams/public_html/beta/agent_login.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:06:08' WHERE id= '49';
[07/24/2023 09:06:08], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2023-07-24 09:06:08',login_attempt=0 where id = '7857';
[07/24/2023 09:06:08], [file name :-/home/otrams/public_html/beta/agent_login.php],INSERT INTO psa_login_log  SET username = 'Deepak_T', user_type = 'A', branch_id = '28', login_datetime = '2023-07-24 09:06:08', ip = '43.239.53.130', action = 'Login' ;
[07/24/2023 09:06:08], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:06:08' WHERE id= '49';
[07/24/2023 09:06:27], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:06:27' WHERE id= '49';
[07/24/2023 09:06:30], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:06:30' WHERE id= '49';
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],INSERT INTO receipts(agent_id,payment_date,particulars,balance_before,amount_received,unadjusted_amount,payment_mode,bank_name,instrument_no,instrument_date,create_date,status,received_by,site_id,currency_code,receipt_type) VALUES ('7857', '2023-07-24 00:00:00', 'credit note', '', '150', '', '', '', '', '', '2023-07-24 09:07:07', 'A', '', '', '', 'credit_note');
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],update receipts set docNo= 'CN00000001' ,ledger_multiplier = '1.00000' ,currency_code = 'USD' where id = '1';
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],update agents set ledger_balance = '15'7857'' where id =  ?;
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],INSERT INTO receipts_bookings set booking_id= '6' ,agent_id= '7857' ,receipt_id= '1' ,amount_received= '150' ,create_date= '2023-07-24 09:07:07' ,booking_rate_id= '1' ,site_id = '';
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE agents SET credit_usage=credit_usage+('-150'),   credit_value= credit_value-('-150') ,  cd_credit_usage=cd_credit_usage+('-150') , cd_credit_value=cd_credit_value-('-150')  WHERE id = '7857';
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],insert into  agent_credit_log SET agent_id= '7857',credit_value= '996.660',credit_usage= '3.340',credit_limit= '1000.000',receipt_id= '',amount= '-150',booking_id='6',booking_cost= '153.34',receipt_allocation= '150.00',balance= '3.34',ip='43.239.53.130',user_type='admin',admin_id='v3alpha',temp_credit_limit='',log_type='Credit Note Added To Booking',note='Credit Note Added To Booking',create_date='2023-07-24 09:07:07';
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],update agents set ledger_balance = ''7857'' where id = ?;
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE receipts set unadjusted_amount=unadjusted_amount- ? Where id= ?;
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE booking_rate_info set  receipt_amount = receipt_amount+150 Where bid= '1';
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],INSERT INTO bank_account_operation 
			(account_id, amount, currency_code, amount_type, enter_date, 'agent', '1', 'creditnotecreate', 'CSH', '1.00000', '1.00000', '', '')
			VALUES ('7857', '150', 'USD', '150'_type, '2023-07-24 09:07:07', :'agent', :'1', :'creditnotecreate', '150'_mode, :'1.00000', :'1.00000', :'', :'');
[07/24/2023 09:07:07], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE bank_account_operation 
		set ledger_balance = ( + 150) where id = '1' and account_id = '7857' and account_type='agent' and site_id = '';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE agents SET credit_usage=credit_usage+('150'),   credit_value= credit_value-('150') ,  cd_credit_usage=cd_credit_usage+('150') , cd_credit_value=cd_credit_value-('150')  WHERE id = '7857';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],insert into  agent_credit_log SET agent_id= '7857',credit_value= '846.660',credit_usage= '153.340',credit_limit= '1000.000',receipt_id= '',amount= '150',booking_id='6',booking_cost= '153.34',receipt_allocation= '150.00',balance= '3.34',ip='43.239.53.130',user_type='admin',admin_id='v3alpha',temp_credit_limit='',log_type='Receipt Deleted',note='Receipt Deleted',create_date='2023-07-24 09:07:35';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],update agents set ledger_balance =ledger_balance + '150'  where id = '7857';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],delete from receipts_bookings where receipt_id = ? and booking_id = '6';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE booking_rate_info set  receipt_amount = receipt_amount-150.00 Where bid= '1';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],update agents set ledger_balance = ledger_balance- '150' where id = '7857';
[07/24/2023 09:07:35], [file name :-/home/otrams/public_html/beta/tms/controller.php],delete from receipts WHERE id= ?;
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],INSERT INTO receipts(agent_id,payment_date,particulars,balance_before,amount_received,unadjusted_amount,payment_mode,bank_name,instrument_no,instrument_date,create_date,status,received_by,site_id,currency_code,receipt_type) VALUES ('7857', '2023-07-24 00:00:00', 'partialy credit', '', '100', '', '', '', '', '', '2023-07-24 09:08:41', 'A', '', '', '', 'credit_note');
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],update receipts set docNo= 'CN00000001' ,ledger_multiplier = '1.00000' ,currency_code = 'USD' where id = '2';
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],update agents set ledger_balance = '1'7857''7857'' where id =  ?;
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],INSERT INTO receipts_bookings set booking_id= '6' ,agent_id= '7857' ,receipt_id= '2' ,amount_received= '100' ,create_date= '2023-07-24 09:08:41' ,booking_rate_id= '1' ,site_id = '';
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE agents SET credit_usage=credit_usage+('-100'),   credit_value= credit_value-('-100') ,  cd_credit_usage=cd_credit_usage+('-100') , cd_credit_value=cd_credit_value-('-100')  WHERE id = '7857';
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],insert into  agent_credit_log SET agent_id= '7857',credit_value= '946.660',credit_usage= '53.340',credit_limit= '1000.000',receipt_id= '',amount= '-100',booking_id='6',booking_cost= '153.34',receipt_allocation= '100.00',balance= '53.34',ip='43.239.53.130',user_type='admin',admin_id='v3alpha',temp_credit_limit='',log_type='Credit Note Added To Booking',note='Credit Note Added To Booking',create_date='2023-07-24 09:07:41';
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],update agents set ledger_balance = ''7857'' where id = ?;
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE receipts set unadjusted_amount=unadjusted_amount- ? Where id= ?;
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE booking_rate_info set  receipt_amount = receipt_amount+100 Where bid= '1';
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],INSERT INTO bank_account_operation 
			(account_id, amount, currency_code, amount_type, enter_date, 'agent', '2', 'creditnotecreate', 'CSH', '1.00000', '1.00000', '', '')
			VALUES ('7857', '100', 'USD', '100'_type, '2023-07-24 09:08:41', :'agent', :'2', :'creditnotecreate', '100'_mode, :'1.00000', :'1.00000', :'', :'');
[07/24/2023 09:08:41], [file name :-/home/otrams/public_html/beta/tms/controller.php],UPDATE bank_account_operation 
		set ledger_balance = (150.00 + 100) where id = '2' and account_id = '7857' and account_type='agent' and site_id = '';
[07/24/2023 09:08:57], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:08:57' WHERE id= '49';
[07/24/2023 09:09:20], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:20' WHERE id= '49';
[07/24/2023 09:09:20], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:20' WHERE id= '49';
[07/24/2023 09:09:22], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:22' WHERE id= '49';
[07/24/2023 09:09:22], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:22' WHERE id= '49';
[07/24/2023 09:09:24], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:24' WHERE id= '49';
[07/24/2023 09:09:32], [file name :-/home/otrams/public_html/beta/hotel_search_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:32' WHERE id= '49';
[07/24/2023 09:09:32], [file name :-/home/otrams/public_html/beta/hotel_search_list.php],INSERT INTO agent_logs SET  agent_id = '7857' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '28' , ip = '43.239.53.130' , city = 'london' , service_name = '' , country_of_residence = '106' , service_type = 'hotel' , arrival_date = '2023/10/25' , departure_date = '2023/10/26' , nights = '1' , nationality = '106' , room_types = '2' , room_type='[{"numberOfAdults":2}]' , available='0' , create_date = '2023-07-24 09:09:32' , site_id = '' , country_code = '95' , city_code = '63265' , ratings = '3.0,4.0,5.0,SC' , selected_currency = 'USD' , currency_code = 'USD' , web_service = '' ;
[07/24/2023 09:09:33], [file name :-/home/otrams/public_html/beta/xml_all.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:33' WHERE id= '49';
[07/24/2023 09:09:34], [file name :-/home/otrams/public_html/beta/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', 'e1/24_07_2023/request_availability_Deepak_T_09_09_34_1690189774_68.json', 'e1/24_07_2023/response_availability_Deepak_T_09_09_34_1690189774_68.json', 'e1/24_07_2023/response_header_availability_Deepak_T_09_09_34_1690189774_68.json', 'expedia', '2023-07-24 09:09:34', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:09:34], [file name :-/home/otrams/public_html/beta/call.php],UPDATE xmllogs SET
            hotel_count = ''
            , request_url = '/call.php?s=expedia&sessionid=25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414&xml_user_id=7857&db_caching=1&erequest=4&total_request=5&web_service=no&ip=43.239.53.130&browser=MozillaFirefox%2F110.0%28linux%29&hotels_ids=&expediaRapidApi=&agent_country=106'
            , http_hit_time = '2023-07-24 09:09:33.891'
            , request_start_time = '0.000'
            , parsing_start_time = '0.000'
            , mapping_complete_time = '0.000'
            , mongo_start_time = '0.000'
            , search_end_time = '0.000'
            , total_duration = '0.384'
            , error_description = ''
            , memory_used = '2987640'
            WHERE id = '720';
[07/24/2023 09:09:35], [file name :-/home/otrams/public_html/beta/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', 'e1/24_07_2023/request_availability_Deepak_T_09_09_34_1690189774_34.json', 'e1/24_07_2023/response_availability_Deepak_T_09_09_34_1690189774_34.json', 'e1/24_07_2023/response_header_availability_Deepak_T_09_09_34_1690189774_34.json', 'expedia', '2023-07-24 09:09:35', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:09:35], [file name :-/home/otrams/public_html/beta/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', 'e1/24_07_2023/request_availability_Deepak_T_09_09_33_1690189773_23.json', 'e1/24_07_2023/response_availability_Deepak_T_09_09_33_1690189773_23.json', 'e1/24_07_2023/response_header_availability_Deepak_T_09_09_33_1690189773_23.json', 'expedia', '2023-07-24 09:09:35', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:09:35], [file name :-/home/otrams/public_html/beta/call.php],UPDATE xmllogs SET
            hotel_count = ''
            , request_url = '/call.php?s=expedia&sessionid=25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414&xml_user_id=7857&db_caching=1&erequest=3&total_request=5&web_service=no&ip=43.239.53.130&browser=MozillaFirefox%2F110.0%28linux%29&hotels_ids=&expediaRapidApi=&agent_country=106'
            , http_hit_time = '2023-07-24 09:09:33.891'
            , 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.802'
            , error_description = ''
            , memory_used = '68319736'
            WHERE id = '721';
[07/24/2023 09:09:35], [file name :-/home/otrams/public_html/beta/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', 'e1/24_07_2023/request_availability_Deepak_T_09_09_33_1690189773_48.json', 'e1/24_07_2023/response_availability_Deepak_T_09_09_33_1690189773_48.json', 'e1/24_07_2023/response_header_availability_Deepak_T_09_09_33_1690189773_48.json', 'expedia', '2023-07-24 09:09:35', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:09:35], [file name :-/home/otrams/public_html/beta/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', 'e1/24_07_2023/request_availability_Deepak_T_09_09_33_1690189773_87.json', 'e1/24_07_2023/response_availability_Deepak_T_09_09_33_1690189773_87.json', 'e1/24_07_2023/response_header_availability_Deepak_T_09_09_33_1690189773_87.json', 'expedia', '2023-07-24 09:09:35', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:09:36], [file name :-/home/otrams/public_html/beta/call.php],UPDATE xmllogs SET
            hotel_count = ''
            , request_url = '/call.php?s=expedia&sessionid=25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414&xml_user_id=7857&db_caching=1&erequest=0&total_request=5&web_service=no&ip=43.239.53.130&browser=MozillaFirefox%2F110.0%28linux%29&hotels_ids=&expediaRapidApi=&agent_country=106'
            , http_hit_time = '2023-07-24 09:09:33.891'
            , 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 = '2.569'
            , error_description = ''
            , memory_used = '102050184'
            WHERE id = '722';
[07/24/2023 09:09:36], [file name :-/home/otrams/public_html/beta/call.php],UPDATE xmllogs SET
            hotel_count = ''
            , request_url = '/call.php?s=expedia&sessionid=25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414&xml_user_id=7857&db_caching=1&erequest=2&total_request=5&web_service=no&ip=43.239.53.130&browser=MozillaFirefox%2F110.0%28linux%29&hotels_ids=&expediaRapidApi=&agent_country=106'
            , http_hit_time = '2023-07-24 09:09:33.891'
            , 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 = '2.746'
            , error_description = ''
            , memory_used = '112094016'
            WHERE id = '723';
[07/24/2023 09:09:36], [file name :-/home/otrams/public_html/beta/call.php],UPDATE xmllogs SET
            hotel_count = ''
            , request_url = '/call.php?s=expedia&sessionid=25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414&xml_user_id=7857&db_caching=1&erequest=1&total_request=5&web_service=no&ip=43.239.53.130&browser=MozillaFirefox%2F110.0%28linux%29&hotels_ids=&expediaRapidApi=&agent_country=106'
            , http_hit_time = '2023-07-24 09:09:33.891'
            , 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 = '2.810'
            , error_description = ''
            , memory_used = '111287992'
            WHERE id = '724';
[07/24/2023 09:09:37], [file name :-/home/otrams/public_html/beta/m1_hotel_search_listing.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:37' WHERE id= '49';
[07/24/2023 09:09:38], [file name :-/home/otrams/public_html/beta/ajax/list_hotel.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:09:38' WHERE id= '49';
[07/24/2023 09:10:22], [file name :-/home/otrams/public_html/beta/m1_write_cache.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:22' WHERE id= '49';
[07/24/2023 09:10:22], [file name :-/home/otrams/public_html/beta/book_now.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:22' WHERE id= '49';
[07/24/2023 09:10:22], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1690189822','43.239.53.130');
[07/24/2023 09:10:23], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'valuation', 'e1/24_07_2023/request_valuation_Deepak_T_09_10_23_1690189823_4.json', 'e1/24_07_2023/response_valuation_Deepak_T_09_10_23_1690189823_4.json', 'e1/24_07_2023/response_header_valuation_Deepak_T_09_10_23_1690189823_4.json', 'expedia', '2023-07-24 09:10:23', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:10:23], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO hotel_logs (hotelname, city_name, country_code, agent_id, wh_agent_id, branch_id, site_id, type, create_date,web_service)
			VALUES ('Brown&#039;s Hotel, A Rocco Forte Hotel', 'london', '95', '7857', '', '28', '', 'hotelcancellationpolicy', '2023-07-24 :09:10:23','');
[07/24/2023 09:10:25], [file name :-/home/otrams/public_html/beta/m1_write_cache.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:25' WHERE id= '49';
[07/24/2023 09:10:25], [file name :-/home/otrams/public_html/beta/book_now.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:25' WHERE id= '49';
[07/24/2023 09:10:25], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1690189825','43.239.53.130');
[07/24/2023 09:10:26], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header, session_id, agent_logs_id)
                VALUE ('', 'valuation', 'e1/24_07_2023/request_valuation_Deepak_T_09_10_25_1690189825_59.json', 'e1/24_07_2023/response_valuation_Deepak_T_09_10_25_1690189825_59.json', 'e1/24_07_2023/response_header_valuation_Deepak_T_09_10_25_1690189825_59.json', 'expedia', '2023-07-24 09:10:26', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:10:31], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:31' WHERE id= '49';
[07/24/2023 09:10:33], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:33' WHERE id= '49';
[07/24/2023 09:10:35], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:35' WHERE id= '49';
[07/24/2023 09:10:47], [file name :-/home/otrams/public_html/beta/book_now.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:47' WHERE id= '49';
[07/24/2023 09:10:47], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1690189847','43.239.53.130');
[07/24/2023 09:10:47], [file name :-/home/otrams/public_html/beta/confirm_booking.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:10:47' WHERE id= '49';
[07/24/2023 09:10:48], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into bookings set  source_type = 'expedia', reservation_id = '155', create_date = '2023-07-24 09:10:48', agent_id = '7857', parent_agent_id = '7857', agent_ref_no = '', nationality = 'Indian', city_id = 'london', country_id = '95', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '1092.54', display_currency_code = 'USD', native_room_rate = '1092.54', native_currency_code = 'USD', supplier_profile_id = '42', service_type = 'hotel', service_date = '2023/10/25', check_out_date = '2023/10/26', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'deepak', leader_last_name = 'testing', status_date = '2023-07-24 09:10:48';
[07/24/2023 09:10:48], [file name :-/home/otrams/public_html/beta/confirm_booking.php],UPDATE
		bookings
		SET
		booking_branch_id= '28'
		WHERE
		id='7'
		;
[07/24/2023 09:10:48], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into bookings_details(booking_id,reservation_id,supplier_id,total_rooms,total_adults,total_children,total_infants,rate_description ,rate_code,
				hotel_id,hotel_name,hotel_address1,hotel_phone,hotel_rating,total_nights,arrival_date,departure_date,room_rate_code,hotel_img)values('7','155','','1','2','0','-','','','438636','Brown\\\'s Hotel, a Rocco Forte Hotel','33 Albemarle Street Mayfair','44-207-493 6020','5.0','1','2023/10/25','2023/10/26','','https://beta.astrabookings.com//cpfv3/images/?image=aHR0cHM6Ly9pLnRyYXZlbGFwaS5jb20vaG90ZWxzLzEwMDAwMDAvNDQwMDAwLzQzODcwMC80Mzg2MzYvY2VmYTNlMGNfYi5qcGc=');
[07/24/2023 09:10:48], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into booking_room_detail set  booking_id = '7', booking_detail_id = '1', room_type_code = '', room_name = 'double', room_type_description = 'KingBed Executive Room(Room Only)<br>(1 King Bed)', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";d:1092.54;s:25:"displayNightlyRateDisplay";s:153:"Rate - 1092.54,Currency Multiplier(USD-USD) - 1.00000, Markup - 0% , Supplier Commission - 104.06 USD, Marketing Fee - 104.06  USD Discount - 0  #expedia";}}', native_nightly_rates = 'a:1:{i:0;a:1:{s:17:"nativeNightlyRate";d:1092.54;}}', native_room_rate_total = '1092.54', display_room_rate_total = '1092.54', number_of_rooms = '1', room_category = 'KingBed Executive Room(Room Only)<br>(1 King Bed)', meal_basis = 'Room Only';
[07/24/2023 09:10:48], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into passangers set  booking_id = '7', booking_detail_id = '1', rid = '7', room = '0', salutations = 'Mr', first_name = 'deepak', last_name = 'testing', passenger_type = 'adult', age = '';
[07/24/2023 09:10:48], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into passangers set  booking_id = '7', booking_detail_id = '1', rid = '7', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.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', 'e1/24_07_2023/request_reservation_Deepak_T_09_10_48_1690189848_4.json', 'e1/24_07_2023/response_reservation_Deepak_T_09_10_48_1690189848_4.json', 'e1/24_07_2023/response_header_reservation_Deepak_T_09_10_48_1690189848_4.json', 'expedia', '2023-07-24 09:10:49', '', '25b86fe8a88dd2fd5eae4d9fb668ca7fc2a5a3281e62179911a3439306ffd414', '0');
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update bookings set  special_remark = '', itenirary_id = '7935463486914', confirmation_number = '7935463486914', display_discount = '0', cancellation_policy = 'Free cancellation up to  14:59:59 on  2023-10-22<br>If you cancel between 2023-10-22 15:00:00 and 2023-10-25 00:00:00 , you will be charged 1092.54 USD<br>No show is subject to a 100 % cancellation charge<br><br/><b>Amendment Policy</b><br/>
		Please note that most hotels treat changes in pax details, room category and dates as a cancellation of the booking, and charges will apply according to the cancellation policy.
		Late amendment charges may apply if requested after 15:00 on 22nd of October 2023.
		Confirmation of amendments is subject to availability and rates at the time of making the amendment.', supplier_cancellation_policy = '', current_status = 'confirmed', expiration_date = '2023-10-22 12:00:00', comment_contract = ' Bed Type Selection is not guaranteed.<br/><span style=\'color: red;\'><strong>Note</strong>: Nightly rates might be calculated based on the average of Total Rate</span><br><br><b>Amenities:</b>Free WiFi<br/><b style=\'color:#2748a3;\'>Booking price includes Taxes and fees 182.09 USD</b><br/><br/><br/><b>Checkin Start Time :</b> , <br/><b>Checkin End Time :</b> , <br/><b>Min Checkin Age :</b> , <br/><b>Checkout Time :</b> ,<br/><b>Instructions :</b> ,<br/><b>Special Instructions :</b> ,<br/><b>Taxes and Fees:</b><br/>This charge includes estimated amounts the travel service provider (i.e. hotel, car rental company) pays for their taxes, and/or taxes that we pay, to taxing authorities on your booking (including but not limited to sales, occupancy, and value added tax). This amount may also include any amounts charged to us for resort fees, cleaning fees, and other fees and/or a fee we, the hotel supplier and/or the website you booked on, retain as part of the compensation for our and/or their services, which varies based on factors such as location, the amount, and how you booked. For more details, please see the Terms and Conditions.', consultant_id = 'b2btravel', sales_manager_id = '0', admin_booked = '0', email_id = 'deepak.trivedi@qtechsoftware.com', leader_phone = '1234567890', agent_currency_multiplier = '1.00000', ip_addr = '43.239.53.130', comment_contract = ' Bed Type Selection is not guaranteed.<br/><span style=\'color: red;\'><strong>Note</strong>: Nightly rates might be calculated based on the average of Total Rate</span><br><br><b>Amenities:</b>Free WiFi<br/><b style=\'color:#2748a3;\'>Booking price includes Taxes and fees 182.09 USD</b><br/><br/><br/><b>Checkin Start Time :</b> , <br/><b>Checkin End Time :</b> , <br/><b>Min Checkin Age :</b> , <br/><b>Checkout Time :</b> ,<br/><b>Instructions :</b> ,<br/><b>Special Instructions :</b> ,<br/><b>Taxes and Fees:</b><br/>This charge includes estimated amounts the travel service provider (i.e. hotel, car rental company) pays for their taxes, and/or taxes that we pay, to taxing authorities on your booking (including but not limited to sales, occupancy, and value added tax). This amount may also include any amounts charged to us for resort fees, cleaning fees, and other fees and/or a fee we, the hotel supplier and/or the website you booked on, retain as part of the compensation for our and/or their services, which varies based on factors such as location, the amount, and how you booked. For more details, please see the Terms and Conditions.', backoffice_user = 'v3alpha', customer_id = '', applied_multiplier='1.00000',  applied_markup='0',  agent_markup='0',  basecurrency_multiplier='1.00000',  basecurrency_multiplier_native='1.00000',  parent_agent_id='7857',  sub_agent_rate='0',  agent_rate='1092.54',  applicable_service_tax='0',  supplier_rate='1092.54',  uid='513b1d80ed6002ddd1c2ec0c0fa4922c'  where id='7';
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update bookings_details set touricoRoomResId ='', gta_item_confirm_ref='' , special_request='' where booking_id ='7';
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('7','51.509175','-0.142098');
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into `user_logs` set `username`= 'Deepak_T',`create_date`= '2023-07-24 09:10:49',`log_type`= 'Loyalty Tier Accumulated Points',`sql_query`= 'select id,current_status,display_currency_code,agent_rate,sub_agent_rate,display_room_rate,wh_agent_rate,wh_sub_agent_rate  from bookings where id=\&#039;7\&#039;',`log_description`= 'Loyalty Accumulated Points :0 Added For Booking ID -7 And Booking Status - confirmed',`ip`= '43.239.53.130';
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into user_log_link Set `user_logs_id`='123', `entity`='BookingId', `value`='7' ;
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],INSERT INTO booking_status (reservation_id,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by) VALUES ('155','7','confirmed','2023-07-24 09:10:49','Booking confirmed. Booked by Back Office v3alpha on behalf of Agent - Deepak  trivedi(CD7857)','7857','43.239.53.130','0','7857');
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/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('7','2023-10-22 15:00:00','2023-10-22 15:00:00','2023-10-25 00:00:00','2023-10-25 00:00:00','1092.54','1092.54','0','2023-07-24 09:10:49','1092.54');
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update posted_bookings set booking_id='7',status='1' where reservation_id='155' and booking_id ='0';
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update xmllogs set reservation_id='7' where agent_logs_id='0' and source_type='expedia';
[07/24/2023 09:10:49], [file name :-/home/otrams/public_html/beta/confirm_booking.php],INSERT INTO booking_commission set agent_commission='',  supplier_commission='104.06',  commission_tax='',  booking_id ='7',  supplier_tax='182.09',  supplier_base_fare='910.45',  supplier_commissionable_fare='104.06'able_fare,  retension='100',  commission_percent='0',  create_date ='2023-07-24 09:10:49';
[07/24/2023 09:11:03], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:03' WHERE id= '49';
[07/24/2023 09:11:06], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:06' WHERE id= '49';
[07/24/2023 09:11:09], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:09' WHERE id= '49';
[07/24/2023 09:11:09], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:11:16], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:16' WHERE id= '49';
[07/24/2023 09:11:23], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:23' WHERE id= '49';
[07/24/2023 09:11:23], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:23' WHERE id= '49';
[07/24/2023 09:11:23], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:11:34], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:11:34' WHERE id= '49';
[07/24/2023 09:11:34], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:14:51], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:14:51' WHERE id= '49';
[07/24/2023 09:14:56], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:14:56' WHERE id= '49';
[07/24/2023 09:16:46], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:16:46' WHERE id= '49';
[07/24/2023 09:16:46], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:16:52], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:16:52' WHERE id= '49';
[07/24/2023 09:16:59], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:16:59' WHERE id= '49';
[07/24/2023 09:16:59], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:16:59' WHERE id= '49';
[07/24/2023 09:16:59], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:17:08], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:17:08' WHERE id= '49';
[07/24/2023 09:17:13], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:17:13' WHERE id= '49';
[07/24/2023 09:17:13], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:17:13' WHERE id= '49';
[07/24/2023 09:17:13], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:22:55], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:22:55' WHERE id= '49';
[07/24/2023 09:23:02], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:23:02' WHERE id= '49';
[07/24/2023 09:23:02], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:23:02' WHERE id= '49';
[07/24/2023 09:23:02], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:23:51], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],update bookings set invoice_number= 'INV24072300022', voucher_id='23445',status_date='2023-07-24 09:23:51',current_status='vouchered',voucher_hashcode='b1c0aae343e959ef2c3c9eabcaec16d9648737',vouchered_by ='v3alpha' where id='7';
[07/24/2023 09:23:51], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],update bookings set is_invoiced='yes',invoice_number= 'INV24072300022' where id='7' and is_invoiced!='yes';
[07/24/2023 09:23:51], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],UPDATE agents SET credit_usage=credit_usage+('1092.54'),   credit_value= credit_value-('1092.54') ,  cd_credit_usage=cd_credit_usage+('1092.54') , cd_credit_value=cd_credit_value-('1092.54')  WHERE id = '7857';
[07/24/2023 09:23:51], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],insert into  agent_credit_log SET agent_id= '7857',credit_value= '-145.880',credit_usage= '1145.880',credit_limit= '1000.000',receipt_id= '',amount= '1092.54',booking_id='7',booking_cost= '1092.54',receipt_allocation= '',balance= '1092.54',ip='43.239.53.130',user_type='admin',admin_id='v3alpha',temp_credit_limit='',log_type='Add Invoice',note='Add Invoice',create_date='2023-07-24 09:07:51';
[07/24/2023 09:23:51], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php], insert into booking_rate_info set  booking_id = '7', booking_log = 'Booking Vouchered', create_date = '2023-07-24 09:23:51', supplier_currency ='USD', type = 'Sale', agent_price = '1092.54', sub_agent_price ='', supplier_price = '1092.540', supplier_id = 'expedia', supplier_type = 'online';
[07/24/2023 09:23:53], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','7','vouchered-invoiced','2023-07-24 09:23:53',' by v3alpha','v3alpha','43.239.53.130','v3alpha','','');
[07/24/2023 09:23:53], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],INSERT INTO agent_commission SET booking_id ='7',booking_detail_id ='7',agent_id ='7857',is_sub_agent ='N',parent_id ='',display_commission ='0',display_currency ='USD',paid ='N',type ='hotel',description ='Agent Mark Up Percentage is 0 %',create_date ='2023-07-24 09:23:53';
[07/24/2023 09:23:53], [file name :-/home/otrams/public_html/beta/tms/add_voucher.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','7','vouchered','2023-07-24 09:23:53','Vouchered By v3alpha by v3alpha','v3alpha','43.239.53.130','v3alpha','','');
[07/24/2023 09:30:05], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:05' WHERE id= '49';
[07/24/2023 09:30:08], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:08' WHERE id= '49';
[07/24/2023 09:30:11], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:11' WHERE id= '49';
[07/24/2023 09:30:11], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:16], [file name :-/home/otrams/public_html/beta/get_cancellation_fee.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:16' WHERE id= '49';
[07/24/2023 09:30:17], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:17' WHERE id= '49';
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header)
                    VALUE('7', 'cancel', 'e1/24_07_2023/request_cancel_Deepak_T_7_1690191018_61.json', 'e1/24_07_2023/response_cancel_Deepak_T_7_1690191018_61.json', 'e1/24_07_2023/response_header_cancel_Deepak_T_7_1690191018_61.json', 'expedia', '2023-07-24 09:30:19', '');
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],INSERT INTO history_bookings set history_booking_id ='7', agent_id ='7857', itenirary_id ='7935463486914', confirmation_number ='7935463486914', payment_confirmation_no ='', voucher_id ='23445', voucher_hashcode ='b1c0aae343e959ef2c3c9eabcaec16d9648737', email_id ='deepak.trivedi@qtechsoftware.com', leader_title ='Mr', leader_first_name ='deepak', leader_last_name ='testing', city_id ='london', country_id ='95', display_room_rate ='1092.540', native_room_rate ='1092.540', native_currency_code ='USD', additional_charge ='0.000', cancellation_policy ='Free cancellation up to  14:59:59 on  2023-10-22<br>If you cancel between 2023-10-22 15:00:00 and 2023-10-25 00:00:00 , you will be charged 1092.54 USD<br>No show is subject to a 100 % cancellation charge<br><br/><b>Amendment Policy</b><br/>
		Please note that most hotels treat changes in pax details, room category and dates as a cancellation of the booking, and charges will apply according to the cancellation policy.
		Late amendment charges may apply if requested after 15:00 on 22nd of October 2023.
		Confirmation of amendments is subject to availability and rates at the time of making the amendment.', supplier_cancellation_policy ='', current_status ='vouchered', booking_status ='1', status_date ='2023-07-24 09:23:51', create_date ='2023-07-24 09:10:48', source_type ='expedia', expiration_date ='2023-10-22 12:00:00', comment_contract =' Bed Type Selection is not guaranteed.<br/><span style=\'color: red;\'><strong>Note</strong>: Nightly rates might be calculated based on the average of Total Rate</span><br><br><b>Amenities:</b>Free WiFi<br/><b style=\'color:#2748a3;\'>Booking price includes Taxes and fees 182.09 USD</b><br/><br/><br/><b>Checkin Start Time :</b> , <br/><b>Checkin End Time :</b> , <br/><b>Min Checkin Age :</b> , <br/><b>Checkout Time :</b> ,<br/><b>Instructions :</b> ,<br/><b>Special Instructions :</b> ,<br/><b>Taxes and Fees:</b><br/>This charge includes estimated amounts the travel service provider (i.e. hotel, car rental company) pays for their taxes, and/or taxes that we pay, to taxing authorities on your booking (including but not limited to sales, occupancy, and value added tax). This amount may also include any amounts charged to us for resort fees, cleaning fees, and other fees and/or a fee we, the hotel supplier and/or the website you booked on, retain as part of the compensation for our and/or their services, which varies based on factors such as location, the amount, and how you booked. For more details, please see the Terms and Conditions.', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='1092.540', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='1092.540', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='b2btravel', 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 ='1.00000', wh_agent_currency_multiplier ='1.000', modified_datetime ='2023-07-24 09:30:19', modified_by ='', display_currency_code ='USD', created_datetime ='2023-07-24 09:30:19', sub_agent_rate ='0.000', created_by ='Deepak_T', site_id ='0', applicable_service_tax ='0.000', wh_parent_agent_id ='0', wh_agent_id ='0', nationality ='Indian', ip_addr ='43.239.53.130', is_cancel_history ='1';
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','7','cancelled','2023-07-24 09:30:19','','7857','43.239.53.130','','','');
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE bookings SET current_status='cancelled',status_date='2023-07-24 09:30:19' , pending_cancellation = 'no' WHERE reservation_id = '155' AND id = '7' AND (current_status = 'pending' OR  current_status = 'confirmed' OR  current_status = 'vouchered' OR  current_status = 'on_request' OR  current_status = 'inprocess_cancel') ;
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],update booking_commission set status='D'  where booking_id ='7';
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE bookings SET  agent_rate='0' , sub_agent_rate='0' , supplier_rate='' , applicable_service_tax='0' WHERE id = '7' AND (current_status = 'cancelled' ) ;
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],delete from cancellations where booking_id =? ;
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.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','155','7','2023-07-24 09:30:19','',' ');
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE agents SET credit_usage=credit_usage+('-1092.54'),   credit_value= credit_value-('-1092.54') ,  cd_credit_usage=cd_credit_usage+('-1092.54') , cd_credit_value=cd_credit_value-('-1092.54')  WHERE id = '7857';
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],insert into  agent_credit_log SET agent_id= '7857',credit_value= '946.660',credit_usage= '53.340',credit_limit= '1000.000',receipt_id= '',amount= '-1092.54',booking_id='7',booking_cost= '',receipt_allocation= '',balance= '',ip='43.239.53.130',user_type='User',admin_id='Agent - Deepak  trivedi(CD7857)',temp_credit_limit='',log_type='Booking Cancelled',note='Booking Cancelled',create_date='2023-07-24 09:07:19';
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php], insert into booking_rate_info set  booking_id = '7', booking_log = 'Booking Cancelled', create_date = '2023-07-24 09:30:19', supplier_currency ='USD', type = 'Cancelled', agent_price = '-1092.54', sub_agent_price ='', supplier_price = '-1092.54', supplier_id = 'expedia', supplier_type = 'online';
[07/24/2023 09:30:19], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:22], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:22' WHERE id= '49';
[07/24/2023 09:30:22], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:23], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:23' WHERE id= '49';
[07/24/2023 09:30:23], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:29], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:29' WHERE id= '49';
[07/24/2023 09:30:31], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:31' WHERE id= '49';
[07/24/2023 09:30:34], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:34' WHERE id= '49';
[07/24/2023 09:30:34], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:38], [file name :-/home/otrams/public_html/beta/get_cancellation_fee.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:38' WHERE id= '49';
[07/24/2023 09:30:40], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:40' WHERE id= '49';
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],INSERT INTO xmllogs(reservation_id, type, request_path, response_path, header_path, source_type, create_date, header)
                    VALUE('6', 'cancel', 'e1/24_07_2023/request_cancel_Deepak_T_6_1690191041_35.json', 'e1/24_07_2023/response_cancel_Deepak_T_6_1690191041_35.json', 'e1/24_07_2023/response_header_cancel_Deepak_T_6_1690191041_35.json', 'expedia', '2023-07-24 09:30:42', '');
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],INSERT INTO history_bookings set history_booking_id ='6', agent_id ='7857', itenirary_id ='7289326125688', confirmation_number ='7289326125688', payment_confirmation_no ='', voucher_id ='12345', voucher_hashcode ='f3b2272640c941b5186d98dbe4fd9c92282256', email_id ='deepak.trivedi@qtechsoftware.com', leader_title ='Mr', leader_first_name ='deepak', leader_last_name ='testing', city_id ='phuket', country_id ='136', display_room_rate ='153.340', native_room_rate ='153.340', native_currency_code ='USD', additional_charge ='0.000', cancellation_policy ='Free cancellation up to  13:59:59 on  2023-10-10<br>If you cancel between 2023-10-10 14:00:00 and 2023-10-18 00:00:00 , you will be charged 153.34 USD<br>No show is subject to a 100 % cancellation charge<br><br/><b>Amendment Policy</b><br/>
		Please note that most hotels treat changes in pax details, room category and dates as a cancellation of the booking, and charges will apply according to the cancellation policy.
		Late amendment charges may apply if requested after 14:00 on 10th of October 2023.
		Confirmation of amendments is subject to availability and rates at the time of making the amendment.', supplier_cancellation_policy ='', current_status ='vouchered', booking_status ='1', status_date ='2023-07-24 07:55:42', create_date ='2023-07-24 07:54:52', source_type ='expedia', expiration_date ='2023-10-10 11:00:00', comment_contract =' Bed Type Selection is not guaranteed.<br/><span style=\'color: red;\'><strong>Note</strong>: Nightly rates might be calculated based on the average of Total Rate</span><br><br><b>Amenities:</b>Free breakfast, Free self parking, Free WiFi<br><br><b>Deal:</b> Save 40%,<br><br/><b style=\'color:#2748a3;\'>Booking price includes Taxes and fees 24.16 USD</b><br/><br/><br/><b>Checkin Start Time :</b> , <br/><b>Checkin End Time :</b> , <br/><b>Min Checkin Age :</b> , <br/><b>Checkout Time :</b> ,<br/><b>Instructions :</b> ,<br/><b>Special Instructions :</b> ,<br/><b>Taxes and Fees:</b><br/>This charge includes estimated amounts the travel service provider (i.e. hotel, car rental company) pays for their taxes, and/or taxes that we pay, to taxing authorities on your booking (including but not limited to sales, occupancy, and value added tax). This amount may also include any amounts charged to us for resort fees, cleaning fees, and other fees and/or a fee we, the hotel supplier and/or the website you booked on, retain as part of the compensation for our and/or their services, which varies based on factors such as location, the amount, and how you booked. For more details, please see the Terms and Conditions.', admin_note ='', is_payment_gateway ='0', service_type ='hotel', service_type_detail ='', native_rate ='', display_rate ='', agent_rate ='153.340', wh_sub_agent_rate ='0.000', wh_agent_rate ='0.000', supplier_rate ='153.340', special_comment ='', special_remark ='', sms_status ='', is_xml ='0', consultant_id ='b2btravel', 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 ='1.00000', wh_agent_currency_multiplier ='1.000', modified_datetime ='2023-07-24 09:30:42', modified_by ='', display_currency_code ='USD', created_datetime ='2023-07-24 09:30:42', sub_agent_rate ='0.000', created_by ='Deepak_T', site_id ='0', applicable_service_tax ='0.000', wh_parent_agent_id ='0', wh_agent_id ='0', nationality ='Indian', ip_addr ='43.239.53.130', is_cancel_history ='1';
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','6','cancelled','2023-07-24 09:30:42','','7857','43.239.53.130','','','');
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE bookings SET current_status='cancelled',status_date='2023-07-24 09:30:42' , pending_cancellation = 'no' WHERE reservation_id = '152' AND id = '6' AND (current_status = 'pending' OR  current_status = 'confirmed' OR  current_status = 'vouchered' OR  current_status = 'on_request' OR  current_status = 'inprocess_cancel') ;
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],update booking_commission set status='D'  where booking_id ='6';
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE bookings SET  agent_rate='0' , sub_agent_rate='0' , supplier_rate='' , applicable_service_tax='0' WHERE id = '6' AND (current_status = 'cancelled' ) ;
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],delete from cancellations where booking_id =? ;
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.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','152','6','2023-07-24 09:30:42','',' ');
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE agents SET credit_usage=credit_usage+('-153.34'),   credit_value= credit_value-('-153.34') ,  cd_credit_usage=cd_credit_usage+('-153.34') , cd_credit_value=cd_credit_value-('-153.34')  WHERE id = '7857';
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],insert into  agent_credit_log SET agent_id= '7857',credit_value= '1100.000',credit_usage= '-100.000',credit_limit= '1000.000',receipt_id= '',amount= '-153.34',booking_id='6',booking_cost= '',receipt_allocation= '100.00',balance= '-100',ip='43.239.53.130',user_type='User',admin_id='Agent - Deepak  trivedi(CD7857)',temp_credit_limit='',log_type='Booking Cancelled',note='Booking Cancelled',create_date='2023-07-24 09:07:42';
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php], insert into booking_rate_info set  booking_id = '6', booking_log = 'Booking Cancelled', create_date = '2023-07-24 09:30:42', supplier_currency ='USD', type = 'Cancelled', agent_price = '-153.34', sub_agent_price ='', supplier_price = '-153.34', supplier_id = 'expedia', supplier_type = 'online';
[07/24/2023 09:30:42], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:45], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:45' WHERE id= '49';
[07/24/2023 09:30:45], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
[07/24/2023 09:30:46], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-07-24 09:30:46' WHERE id= '49';
[07/24/2023 09:30:46], [file name :-/home/otrams/public_html/beta/booking_list.php],update messages set mssg_status='R' where booking_id=?;
