[01/31/2024 02:05:03], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:03' WHERE id= '484';
[01/31/2024 02:05:09], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:09' WHERE id= '484';
[01/31/2024 02:05:09], [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/31_01_2024/request_sight_details_shiv_qtech_14_05_09_1706709909.json', 'v1/31_01_2024/response_sight_details_shiv_qtech_14_05_09_1706709909.json', 'v1/31_01_2024/response_header_sight_details_shiv_qtech_14_05_09_1706709909.json', 'viator', '2024-01-31 02:05:09', '', '', '1254');
[01/31/2024 02:05:10], [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/31_01_2024/request_sight_details_shiv_qtech_14_05_09_1706709909.json', 'v1/31_01_2024/response_sight_details_shiv_qtech_14_05_09_1706709909.json', 'v1/31_01_2024/response_header_sight_details_shiv_qtech_14_05_09_1706709909.json', 'viator', '2024-01-31 02:05:10', '', '', '1254');
[01/31/2024 02:05:12], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:12' WHERE id= '484';
[01/31/2024 02:05:13], [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/31_01_2024/request_check_availability_shiv_qtech_14_05_12_1706709912.json', 'v1/31_01_2024/response_check_availability_shiv_qtech_14_05_12_1706709912.json', 'v1/31_01_2024/response_header_check_availability_shiv_qtech_14_05_12_1706709912.json', 'viator', '2024-01-31 02:05:13', '', '', '1254');
[01/31/2024 02:05:15], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:15' WHERE id= '484';
[01/31/2024 02:05:15], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1706709915','43.239.53.130');
[01/31/2024 02:05:20], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:20' WHERE id= '484';
[01/31/2024 02:05:22], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:22' WHERE id= '484';
[01/31/2024 02:05:24], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:24' WHERE id= '484';
[01/31/2024 02:05:40], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:40' WHERE id= '484';
[01/31/2024 02:05:44], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:05:44' WHERE id= '484';
[01/31/2024 02:06:03], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:06:03' WHERE id= '484';
[01/31/2024 02:06:03], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1706709963','43.239.53.130');
[01/31/2024 02:06:03], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:06:03' WHERE id= '484';
[01/31/2024 02:06:03], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO bookings set reservation_id='2367',agent_id='7849',leader_title='Mr',leader_first_name='shiv',leader_last_name='chauhan',city_id='dubai',country_id='138',nationality='Emirati',display_room_rate='89.18',display_currency_code='USD',native_room_rate='89.18',consultant_id='b2btravel',native_currency_code='USD',cancellation_policy='Cancellation Charges will be applicable if cancelled after 07 Feb 2024 03:00 hrs.<BR>Late amendment charge may apply.<Br><Br><B><U>Detailed Cancellation Policy:</U></B><Br>Charges - 89.18  applicable if cancelled after 07 Feb 2024 at 03:00 hrs',current_status='inprocess-booking',booking_status='1',sales_manager_id='0',create_date='2024-01-31 14:06:03',source_type='viator',expiration_date= '2024-02-07 00: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-09',sub_user_id='',check_out_date='2024-02-09',supplier_profile_id='',agent_currency_multiplier='60.1758', booking_branch_id = '24',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/31/2024 02:06:03], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO sight_bookings set booking_id='373',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='0<br/>',tour_exclusive='D<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-09',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/31/2024 02:06:03], [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','2367','2024-01-31 14:06:03',0);
[01/31/2024 02:06:07], [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/31_01_2024/request_reservation_sight_shiv_qtech_14_06_03_1706709963.json', 'v1/31_01_2024/response_reservation_sight_shiv_qtech_14_06_03_1706709963.json', 'v1/31_01_2024/response_header_reservation_sight_shiv_qtech_14_06_03_1706709963.json', 'viator', '2024-01-31 02:06:07', '', '', '1254');
[01/31/2024 02:06:07], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE posted_bookings set status=1 where id= '205';
[01/31/2024 02:06:07], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update bookings set  parent_agent_id='7849', applicable_service_tax='0', sub_agent_rate='0', agent_rate='89.18', supplier_rate='89.18', uid='', itenirary_id='2367947', confirmation_number='BR-595340943', comment_contract='', current_status='confirmed', original_source='' where id='373';
[01/31/2024 02:06:07], [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='373';
[01/31/2024 02:06:07], [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
		('','','373','confirmed','2024-01-31 14:06:07','Sightseeing Booking confirmed by Agent..7849','7849','43.239.53.130','','','');
[01/31/2024 02:06:07], [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('373','Mr','1','shiv','chauhan','adult','0');
[01/31/2024 02:06:07], [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('373','Mr','1','sujay','raut','adult','0');
[01/31/2024 02:06:07], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update xmllogs set reservation_id='373' where agent_logs_id='1254' and source_type='viator';
[01/31/2024 02:06:20], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:06:20' WHERE id= '484';
[01/31/2024 02:06:24], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:06:24' WHERE id= '484';
[01/31/2024 02:06:31], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:06:31' WHERE id= '484';
[01/31/2024 02:06:44], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:06:44' WHERE id= '484';
[01/31/2024 02:07:03], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:07:03' WHERE id= '484';
[01/31/2024 02:07:03], [file name :-/home/otrams/public_html/beta/add_voucher.php],update bookings set invoice_number= 'INV31012400002', voucher_id='VACH31',status_date='2024-01-31 14:07:03',current_status='vouchered',voucher_hashcode='4fe0ba06cc16d18487d5c865ddaddab399616373',vouchered_by ='' where id='373';
[01/31/2024 02:07:03], [file name :-/home/otrams/public_html/beta/add_voucher.php],update bookings set is_invoiced='yes',invoice_number= 'INV31012400002' where id='373' and is_invoiced!='yes';
[01/31/2024 02:07:03], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE agents SET credit_usage=credit_usage+('5366.477844'),   credit_value= credit_value-('5366.477844') ,  cd_credit_usage=cd_credit_usage+('5366.477844') , cd_credit_value=cd_credit_value-('5366.477844')  WHERE id = '7849';
[01/31/2024 02:07:03], [file name :-/home/otrams/public_html/beta/add_voucher.php],insert into  agent_credit_log SET agent_id= '7849',credit_value= '144633.522',credit_usage= '5366.478',credit_limit= '150000.000',receipt_id= '',amount= '5366.477844',booking_id='373',booking_cost= '',receipt_allocation= '',balance= '',ip='43.239.53.130',user_type='User',admin_id='Agent - Yogesh vijay shekhar(CD7849)',temp_credit_limit='',log_type='Add Invoice',note='Add Invoice',create_date='2024-01-31 14:01:03';
[01/31/2024 02:07:03], [file name :-/home/otrams/public_html/beta/add_voucher.php], insert into booking_rate_info set  booking_id = '373', booking_log = 'Booking Vouchered', create_date = '2024-01-31 14:07:03', supplier_currency ='USD', type = 'Sale', agent_price = '89.18', sub_agent_price ='', supplier_price = '89.180', supplier_id = 'viator', supplier_type = 'online';
[01/31/2024 02:07:05], [file name :-/home/otrams/public_html/beta/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
		('','','373','vouchered-invoiced','2024-01-31 14:07:05','Booking invoiced by Back Office v3alpha on behalf of Agent - Yogesh vijay shekhar(CD7849)','7849','43.239.53.130','','','');
[01/31/2024 02:07:05], [file name :-/home/otrams/public_html/beta/add_voucher.php],INSERT INTO agent_commission SET booking_id ='373',booking_detail_id ='373',agent_id ='7849',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-31 14:07:05';
[01/31/2024 02:07:05], [file name :-/home/otrams/public_html/beta/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
		('','','373','vouchered','2024-01-31 14:07:05','Voucherd by Back Office v3alpha on behalf of Agent - Yogesh vijay shekhar(CD7849)','7849','43.239.53.130','','','');
[01/31/2024 02:07:12], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:07:12' WHERE id= '484';
[01/31/2024 02:07:23], [file name :-/home/otrams/public_html/beta/print_voucher_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:07:23' WHERE id= '484';
[01/31/2024 02:07:39], [file name :-/home/otrams/public_html/beta/print_invoice.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:07:39' WHERE id= '484';
[01/31/2024 02:08:24], [file name :-/home/otrams/public_html/beta/print_voucher_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:08:24' WHERE id= '484';
[01/31/2024 02:12:10], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:12:10' WHERE id= '484';
[01/31/2024 02:12:19], [file name :-/home/otrams/public_html/beta/print_voucher_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:12:19' WHERE id= '484';
[01/31/2024 02:23:56], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:23:56' WHERE id= '484';
[01/31/2024 02:24:00], [file name :-/home/otrams/public_html/beta/print_voucher_sight.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:24:00' WHERE id= '484';
[01/31/2024 02:24:52], [file name :-/home/otrams/public_html/beta/print_invoice.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:24:52' WHERE id= '484';
[01/31/2024 02:27:54], [file name :-/home/otrams/public_html/beta/sight_search.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:27:54' WHERE id= '484';
[01/31/2024 02:27:57], [file name :-/home/otrams/public_html/beta/sight_search_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:27:57' WHERE id= '484';
[01/31/2024 02:27:57], [file name :-/home/otrams/public_html/beta/sight_search_list.php],INSERT INTO agent_logs SET  agent_id = '7849' , sub_agent_id = '' , sub_user_id = '0' , branch_id = '24' , ip = '43.239.53.130' , city = 'dubai' , arrival_date='2024/02/09',  departure_date='2024/02/09',  nights='1',  create_date='2024-01-31 :14:27:57',  nationality='',  additional_markup='',  selected_currency='USD',  service_type='sightseeing',  total_adult='',  total_children='',  site_id = '' ;
[01/31/2024 02:28:00], [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/31_01_2024/request_availability_shiv_qtech_14_27_57_1706711277.json', 'v1/31_01_2024/response_availability_shiv_qtech_14_27_57_1706711277.json', 'v1/31_01_2024/response_header_availability_shiv_qtech_14_27_57_1706711277.json', 'viator', '2024-01-31 02:28:00', '', '', '1255');
[01/31/2024 02:28:01], [file name :-/home/otrams/public_html/beta/sight_search_list.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:28:01' WHERE id= '484';
[01/31/2024 02:28:01], [file name :-/home/otrams/public_html/beta/ajax/ajax_categories.php],UPDATE user_sessions_ip SET update_date = '2024-01-31 02:28:01' WHERE id= '484';
