[02/12/2024 03:00:40], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:00:40' WHERE id= '546';
[02/12/2024 03:00:59], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:00:59' WHERE id= '546';
[02/12/2024 03:00:59], [file name :-/home/otrams/public_html/beta/booking_list_sight.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:00:59' WHERE id= '546';
[02/12/2024 03:01:56], [file name :-/home/otrams/public_html/beta/my_accounts.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:01:56' WHERE id= '546';
[02/12/2024 03:02:03], [file name :-/home/otrams/public_html/beta/edit_profile.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:02:03' WHERE id= '546';
[02/12/2024 03:03:09], [file name :-/home/otrams/public_html/beta/agent_login.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:03:09' WHERE id= '546';
[02/12/2024 03:03:09], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2024-02-12 03:03:09',login_attempt=0 where id = '7849';
[02/12/2024 03:03:09], [file name :-/home/otrams/public_html/beta/agent_login.php],INSERT INTO psa_login_log  SET username = 'shiv_qtech', user_type = 'A', branch_id = '24', login_datetime = '2024-02-12 15:03:09', ip = '43.239.53.130', action = 'Login' ;
[02/12/2024 03:03:09], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:03:09' WHERE id= '546';
[02/12/2024 03:03:46], [file name :-/home/otrams/public_html/beta/agent_login.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:03:46' WHERE id= '546';
[02/12/2024 03:03:47], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2024-02-12 03:03:47',login_attempt=0 where id = '7851';
[02/12/2024 03:03:47], [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-02-12 15:03:47', ip = '43.239.53.130', action = 'Login' ;
[02/12/2024 03:03:47], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:03:47' WHERE id= '546';
[02/12/2024 03:03:50], [file name :-/home/otrams/public_html/beta/sight_search.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:03:50' WHERE id= '546';
[02/12/2024 03:03:58], [file name :-/home/otrams/public_html/beta/get_city_list.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:03:58' WHERE id= '546';
[02/12/2024 03:04:04], [file name :-/home/otrams/public_html/beta/sight_search_list.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:04' WHERE id= '546';
[02/12/2024 03:04:04], [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/03/21',  departure_date='2024/03/21',  nights='1',  create_date='2024-02-12 :15:04:04',  nationality='',  additional_markup='',  selected_currency='USD',  service_type='sightseeing',  total_adult='',  total_children='',  site_id = '' ;
[02/12/2024 03:04:11], [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/12_02_2024/request_availability_Viator_test_15_04_04_1707750244.json', 'v1/12_02_2024/response_availability_Viator_test_15_04_04_1707750244.json', 'v1/12_02_2024/response_header_availability_Viator_test_15_04_04_1707750244.json', 'viator', '2024-02-12 03:04:11', '', '', '1395');
[02/12/2024 03:04:14], [file name :-/home/otrams/public_html/beta/sight_search_list.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:14' WHERE id= '546';
[02/12/2024 03:04:14], [file name :-/home/otrams/public_html/beta/ajax/ajax_categories.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:14' WHERE id= '546';
[02/12/2024 03:04:17], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:17' WHERE id= '546';
[02/12/2024 03:04:17], [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/12_02_2024/request_sight_details_Viator_test_15_04_17_1707750257.json', 'v1/12_02_2024/response_sight_details_Viator_test_15_04_17_1707750257.json', 'v1/12_02_2024/response_header_sight_details_Viator_test_15_04_17_1707750257.json', 'viator', '2024-02-12 03:04:17', '', '', '1395');
[02/12/2024 03:04:17], [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/12_02_2024/request_sight_details_Viator_test_15_04_17_1707750257.json', 'v1/12_02_2024/response_sight_details_Viator_test_15_04_17_1707750257.json', 'v1/12_02_2024/response_header_sight_details_Viator_test_15_04_17_1707750257.json', 'viator', '2024-02-12 03:04:17', '', '', '1395');
[02/12/2024 03:04:21], [file name :-/home/otrams/public_html/beta/user_sight_details.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:21' WHERE id= '546';
[02/12/2024 03:04: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 ('', 'check_availability', 'v1/12_02_2024/request_check_availability_Viator_test_15_04_21_1707750261.json', 'v1/12_02_2024/response_check_availability_Viator_test_15_04_21_1707750261.json', 'v1/12_02_2024/response_header_check_availability_Viator_test_15_04_21_1707750261.json', 'viator', '2024-02-12 03:04:22', '', '', '1395');
[02/12/2024 03:04:29], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:29' WHERE id= '546';
[02/12/2024 03:04:29], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1707750269','43.239.53.130');
[02/12/2024 03:04:35], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:35' WHERE id= '546';
[02/12/2024 03:04:38], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:38' WHERE id= '546';
[02/12/2024 03:04:58], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:58' WHERE id= '546';
[02/12/2024 03:04:58], [file name :-/home/otrams/public_html/beta/book_sightseeing.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1707750298','43.239.53.130');
[02/12/2024 03:04:59], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:04:59' WHERE id= '546';
[02/12/2024 03:04:59], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO bookings set reservation_id='2668',agent_id='7851',leader_title='Mr',leader_first_name='shiv',leader_last_name='chauhan',city_id='dubai',country_id='138',nationality='Emirati',display_room_rate='44.59',display_currency_code='USD',native_room_rate='44.59',consultant_id='SUJAY_QTECH',native_currency_code='USD',cancellation_policy='Cancellation Charges will be applicable if cancelled after 19 Mar 2024 03:00 hrs.<BR>Late amendment charge may apply.<Br><Br><B><U>Detailed Cancellation Policy:</U></B><Br>Charges - 44.59  applicable if cancelled after 19 Mar 2024 at 03:00 hrs',current_status='inprocess-booking',booking_status='1',sales_manager_id='0',create_date='2024-02-12 15:04:59',source_type='viator',expiration_date= '2024-03-19 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-03-21',sub_user_id='',check_out_date='2024-03-21',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';
[02/12/2024 03:04:59], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],INSERT INTO sight_bookings set booking_id='402',native_nightly_rates='a:2:{s:4:\"size\";i:1;s:17:\"nativeNightlyRate\";d:44.590000000000003;}',rate_description='',display_nightly_rates='a:4:{s:4:\"size\";i:1;s:18:\"displayNightlyRate\";d:44.590000000000003;s:25:\"displayNightlyRateDisplay\";s:133:\"Rate - 44.59 USD, Currency Multiplier (USD-USD) - 1.00000, Markup  in % - %, Markup Amount - , Markup Amount in  - ,Other Markup - 0%\";s:23:\"displayNightlyRateStore\";s:134:\"Rate - 44.59 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-03-21',total_adults='1',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='';
[02/12/2024 03:04:59], [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','2668','2024-02-12 15:04:59',0);
[02/12/2024 03:05:02], [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/12_02_2024/request_reservation_sight_Viator_test_15_04_59_1707750299.json', 'v1/12_02_2024/response_reservation_sight_Viator_test_15_04_59_1707750299.json', 'v1/12_02_2024/response_header_reservation_sight_Viator_test_15_04_59_1707750299.json', 'viator', '2024-02-12 03:05:02', '', '', '1395');
[02/12/2024 03:05:02], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE posted_bookings set status=1 where id= '219';
[02/12/2024 03:05:02], [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='44.59', supplier_rate='44.59', uid='', itenirary_id='2668316', confirmation_number='BR-595561447', comment_contract='', current_status='confirmed', original_source='' where id='402';
[02/12/2024 03:05:02], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update sight_bookings set gtaToken='',gta_item_confirm_ref='',viator_item_ref='BR-595561447',viator_ref='BR-595561447',viator_item_id='',viator_voucherKey='https://shop.live.rc.viator.com/ticket?code=1020233957:e1513b813a381c90c782e925b377968e9ee81213244ddd320cb3e446786652b4:595561447',tour_supplier='',textaddition_activities='N;' where booking_id='402';
[02/12/2024 03:05:02], [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
		('','','402','confirmed','2024-02-12 15:05:02','Sightseeing Booking confirmed by Agent..7851','7851','43.239.53.130','','','');
[02/12/2024 03:05:02], [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('402','Mr','1','shiv','chauhan','adult','0');
[02/12/2024 03:05:02], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],update xmllogs set reservation_id='402' where agent_logs_id='1395' and source_type='viator';
[02/12/2024 03:05:13], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:05:13' WHERE id= '546';
[02/12/2024 03:05:17], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:05:17' WHERE id= '546';
[02/12/2024 03:05:17], [file name :-/home/otrams/public_html/beta/add_voucher.php],update bookings set invoice_number= 'INV12022400001', voucher_id='Vsgd7534',status_date='2024-02-12 15:05:17',current_status='vouchered',voucher_hashcode='ba75575afbacb3bb231351cd318e27cb96882402',vouchered_by ='' where id='402';
[02/12/2024 03:05:17], [file name :-/home/otrams/public_html/beta/add_voucher.php],update bookings set is_invoiced='yes',invoice_number= 'INV12022400001' where id='402' and is_invoiced!='yes';
[02/12/2024 03:05:17], [file name :-/home/otrams/public_html/beta/add_voucher.php],UPDATE agents SET credit_usage=credit_usage+('167.243713'),   credit_value= credit_value-('167.243713') ,  cd_credit_usage=cd_credit_usage+('167.243713') , cd_credit_value=cd_credit_value-('167.243713')  WHERE id = '7851';
[02/12/2024 03:05:17], [file name :-/home/otrams/public_html/beta/add_voucher.php],insert into  agent_credit_log SET agent_id= '7851',credit_value= '3036.071',credit_usage= '6963.929',credit_limit= '10000.000',receipt_id= '',amount= '167.243713',booking_id='402',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-02-12 15:02:17';
[02/12/2024 03:05:17], [file name :-/home/otrams/public_html/beta/add_voucher.php], insert into booking_rate_info set  booking_id = '402', booking_log = 'Booking Vouchered', create_date = '2024-02-12 15:05:17', supplier_currency ='USD', type = 'Sale', agent_price = '44.59', sub_agent_price ='', supplier_price = '44.590', supplier_id = 'viator', supplier_type = 'online';
[02/12/2024 03:05:19], [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
		('','','402','vouchered-invoiced','2024-02-12 15:05:19','Booking invoiced by Back Office v3alpha on behalf of Agent - Viator  Viator(CD7851)','7851','43.239.53.130','','','');
[02/12/2024 03:05:19], [file name :-/home/otrams/public_html/beta/add_voucher.php],INSERT INTO agent_commission SET booking_id ='402',booking_detail_id ='402',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-02-12 15:05:19';
[02/12/2024 03:05:19], [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
		('','','402','vouchered','2024-02-12 15:05:19','Voucherd by Back Office v3alpha on behalf of Agent - Viator  Viator(CD7851)','7851','43.239.53.130','','','');
[02/12/2024 03:06:33], [file name :-/home/otrams/public_html/beta/confirm_booking_sightseeing.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:06:33' WHERE id= '546';
[02/12/2024 03:06:49], [file name :-/home/otrams/public_html/beta/print_voucher_sight.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:06:49' WHERE id= '546';
[02/12/2024 03:07:41], [file name :-/home/otrams/public_html/beta/print_voucher_sight.php],UPDATE user_sessions_ip SET update_date = '2024-02-12 03:07:41' WHERE id= '546';
