[11/06/2023 12:00:53], [file name :-/home/otrams/public_html/beta/m1_write_cache.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:00:53' WHERE id= '108';
[11/06/2023 12:00:53], [file name :-/home/otrams/public_html/beta/book_now.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:00:53' WHERE id= '108';
[11/06/2023 12:00:54], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1699272054','43.239.53.130');
[11/06/2023 12:00:54], [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/06_11_2023/request_valuation_being_gajju_12_00_54_1699272054_82.json', 'e1/06_11_2023/response_valuation_being_gajju_12_00_54_1699272054_82.json', 'e1/06_11_2023/response_header_valuation_being_gajju_12_00_54_1699272054_82.json', 'expedia', '2023-11-06 12:00:54', '', '6962c6a4bed6dfa710c1b6e4e89336bcb191a87df7eef1ed4c5c7fec7a77241f', '0');
[11/06/2023 12:00:54], [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 ('Hotel West Blue', 'mumbai', '106', '7864', '', '28', '', 'hotelcancellationpolicy', '2023-11-06 :12:00:54','');
[11/06/2023 12:01:07], [file name :-/home/otrams/public_html/beta/m1_write_cache.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:01:07' WHERE id= '108';
[11/06/2023 12:01:08], [file name :-/home/otrams/public_html/beta/book_now.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:01:08' WHERE id= '108';
[11/06/2023 12:01:08], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1699272068','43.239.53.130');
[11/06/2023 12:01:08], [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/06_11_2023/request_valuation_being_gajju_12_01_08_1699272068_25.json', 'e1/06_11_2023/response_valuation_being_gajju_12_01_08_1699272068_25.json', 'e1/06_11_2023/response_header_valuation_being_gajju_12_01_08_1699272068_25.json', 'expedia', '2023-11-06 12:01:08', '', '6962c6a4bed6dfa710c1b6e4e89336bcb191a87df7eef1ed4c5c7fec7a77241f', '0');
[11/06/2023 12:01:46], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:01:46' WHERE id= '108';
[11/06/2023 12:01:46], [file name :-/home/otrams/public_html/beta/frontendfunc.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:01:46' WHERE id= '108';
[11/06/2023 12:03:31], [file name :-/home/otrams/public_html/beta/index.php],INSERT INTO psa_login_log  SET username = '', user_type = 'A', branch_id = '7', login_datetime = '2023-11-06 12:03:31', ip = '52.167.144.205', action = 'Login' ;
[11/06/2023 12:04:07], [file name :-/home/otrams/public_html/beta/book_now.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:04:07' WHERE id= '108';
[11/06/2023 12:04:07], [file name :-/home/otrams/public_html/beta/book_now.php],INSERT INTO autogenerator_reservation (reservation_id, remote_id) VALUES ('1699272247','43.239.53.130');
[11/06/2023 12:04:09], [file name :-/home/otrams/public_html/beta/confirm_booking.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:04:09' WHERE id= '108';
[11/06/2023 12:04:10], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into bookings set  source_type = 'expedia', reservation_id = '933', create_date = '2023-11-06 12:04:10', agent_id = '7864', parent_agent_id = '7864', agent_ref_no = '', nationality = 'Indian', city_id = 'mumbai', country_id = '106', current_status = 'inprocess-booking', is_xml = '0', display_room_rate = '2257.8', display_currency_code = 'INR', native_room_rate = '37.52', native_currency_code = 'USD', supplier_profile_id = '42', service_type = 'hotel', service_date = '2023/11/10', check_out_date = '2023/11/11', sub_user_id = '', booking_status = '1', leader_title = 'Mr', leader_first_name = 'gajendra', leader_last_name = 'singh', status_date = '2023-11-06 12:04:10';
[11/06/2023 12:04:10], [file name :-/home/otrams/public_html/beta/confirm_booking.php],UPDATE
		bookings
		SET
		booking_branch_id= '28'
		WHERE
		id='79'
		;
[11/06/2023 12:04:10], [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('79','933','','1','2','0','-','','','33335622','Hotel West Blue','Maruti Chamber, Fun republic Road Andheri West','91-91-9895694717','3.0','1','2023/11/10','2023/11/11','','https://beta.astrabookings.com//cpfv3/images/?image=aHR0cHM6Ly9pLnRyYXZlbGFwaS5jb20vaG90ZWxzLzM0MDAwMDAwLzMzMzQwMDAwLzMzMzM1NzAwLzMzMzM1NjIyLzA4ZTkyYmFjX2IuanBn');
[11/06/2023 12:04:10], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into booking_room_detail set  booking_id = '79', booking_detail_id = '1', room_type_code = '', room_name = 'double', room_type_description = 'FullBed Standard Room, Non Smoking(Room Only)<br>(1 Double Bed)', display_nightly_rates = 'a:1:{i:0;a:2:{s:18:"displayNightlyRate";d:2257.8000000000002;s:25:"displayNightlyRateDisplay";s:145:"Rate - 37.52,Currency Multiplier(USD-INR) - 60.1758, Markup - 0% , Supplier Commission - 3.2 USD, Marketing Fee - 3.2  USD Discount - 0  #expedia";}}', native_nightly_rates = 'a:1:{i:0;a:1:{s:17:"nativeNightlyRate";d:37.520000000000003;}}', native_room_rate_total = '37.52', display_room_rate_total = '2257.8', number_of_rooms = '1', room_category = 'FullBed Standard Room, Non Smoking(Room Only)<br>(1 Double Bed)', meal_basis = 'Room Only';
[11/06/2023 12:04:10], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into passangers set  booking_id = '79', booking_detail_id = '1', rid = '88', room = '0', salutations = 'Mr', first_name = 'gajendra', last_name = 'singh', passenger_type = 'adult', age = '';
[11/06/2023 12:04:10], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into passangers set  booking_id = '79', booking_detail_id = '1', rid = '88', room = '0', salutations = 'Mr', first_name = 'TBAA', last_name = 'TBAA', passenger_type = 'adult', age = '';
[11/06/2023 12:04:11], [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/06_11_2023/request_reservation_being_gajju_12_04_10_1699272250_87.json', 'e1/06_11_2023/response_reservation_being_gajju_12_04_10_1699272250_87.json', 'e1/06_11_2023/response_header_reservation_being_gajju_12_04_10_1699272250_87.json', 'expedia', '2023-11-06 12:04:11', '', '6962c6a4bed6dfa710c1b6e4e89336bcb191a87df7eef1ed4c5c7fec7a77241f', '0');
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update bookings set  special_remark = 'Others', itenirary_id = '7030803217749', confirmation_number = '7030803217749', display_discount = '0', cancellation_policy = 'Free cancellation up to  17:26:10 on  2023-11-04<br>If you cancel between 2023-11-04 17:26:11 and 2023-11-10 00:00:00 , you will be charged 2257.8 INR<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 17:26 on 4th of November 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-11-04 11:57: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 self parking, Free WiFi<br/><b style=\'color:#2748a3;\'>Booking price includes Taxes and fees 4.02 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 = 'SUJAY_QTECH', sales_manager_id = '0', admin_booked = '1', email_id = 'email@test.com', leader_phone = '9876598765', 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 self parking, Free WiFi<br/><b style=\'color:#2748a3;\'>Booking price includes Taxes and fees 4.02 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='60.1758',  applied_markup='0',  agent_markup='0',  basecurrency_multiplier='0.01662',  basecurrency_multiplier_native='1.00000',  parent_agent_id='7864',  sub_agent_rate='0',  agent_rate='2257.8',  applicable_service_tax='0',  supplier_rate='37.52',  uid='b34d5b8eafa80ca72269b6c03ba312fc'  where id='79';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update bookings_details set touricoRoomResId ='', gta_item_confirm_ref='' , special_request='' where booking_id ='79';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into booking_lat_long(booking_id,latitude,longitude) values ('79','19.136444','72.83596');
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into `user_logs` set `username`= 'being_gajju',`create_date`= '2023-11-06 12:04:11',`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;79\&#039;',`log_description`= 'Loyalty Accumulated Points :0 Added For Booking ID -79 And Booking Status - confirmed',`ip`= '43.239.53.130';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into user_log_link Set `user_logs_id`='291', `entity`='BookingId', `value`='79' ;
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update bookings set invoice_number= 'INV06112300071', voucher_id='VUR345',status_date='2023-11-06 12:04:11',current_status='vouchered',voucher_hashcode='67bb084679f8a4fa56d39234557dd5477721979',vouchered_by ='' where id='79';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update bookings set is_invoiced='yes',invoice_number= 'INV06112300071' where id='79' and is_invoiced!='yes';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],UPDATE agents SET credit_usage=credit_usage+('2257.8'),   credit_value= credit_value-('2257.8') ,  cd_credit_usage=cd_credit_usage+('2257.8') , cd_credit_value=cd_credit_value-('2257.8')  WHERE id = '7864';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php],insert into  agent_credit_log SET agent_id= '7864',credit_value= '1997742.200',credit_usage= '2257.800',credit_limit= '2000000.000',receipt_id= '',amount= '2257.8',booking_id='79',booking_cost= '2257.8',receipt_allocation= '',balance= '2257.8',ip='43.239.53.130',user_type='User',admin_id='Agent - Gajendra singh Rajpurohit(CD7864)',temp_credit_limit='',log_type='Add Invoice',note='Add Invoice',create_date='2023-11-06 12:11:11';
[11/06/2023 12:04:11], [file name :-/home/otrams/public_html/beta/confirm_booking.php], insert into booking_rate_info set  booking_id = '79', booking_log = 'Booking Vouchered', create_date = '2023-11-06 12:04:11', supplier_currency ='USD', type = 'Sale', agent_price = '2257.8', sub_agent_price ='', supplier_price = '37.520', supplier_id = 'expedia', supplier_type = 'online';
[11/06/2023 12:04:13], [file name :-/home/otrams/public_html/beta/confirm_booking.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','79','vouchered-invoiced','2023-11-06 12:04:13','Booking invoiced by Back Office v3alpha on behalf of Agent - Gajendra singh Rajpurohit(CD7864)','7864','43.239.53.130','','','');
[11/06/2023 12:04:13], [file name :-/home/otrams/public_html/beta/confirm_booking.php],INSERT INTO agent_commission SET booking_id ='79',booking_detail_id ='79',agent_id ='7864',is_sub_agent ='N',parent_id ='',display_commission ='0',display_currency ='INR',paid ='N',type ='hotel',description ='Agent Mark Up Percentage is 0 %',create_date ='2023-11-06 12:04:13';
[11/06/2023 12:04:13], [file name :-/home/otrams/public_html/beta/confirm_booking.php],INSERT INTO booking_status (visa_id,visa_status,booking_id,status,create_date,memo,agent_id,ip_address,admin,modify_by,crons) VALUES
		('','','79','vouchered','2023-11-06 12:04:13','Voucherd by Back Office v3alpha on behalf of Agent - Gajendra singh Rajpurohit(CD7864)','7864','43.239.53.130','','','');
[11/06/2023 12:04:15], [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 ('933','79','confirmed','2023-11-06 12:04:11','Booking confirmed. Booked by Back Office v3alpha on behalf of Agent - Gajendra singh Rajpurohit(CD7864)','7864','43.239.53.130','0','7864');
[11/06/2023 12:04:15], [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('79','2023-11-04 17:26:11','2023-11-04 17:26:11','2023-11-10 00:00:00','2023-11-10 00:00:00','37.52','2257.8','0','2023-11-06 12:04:15','2257.8');
[11/06/2023 12:04:15], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update posted_bookings set booking_id='79',status='1' where reservation_id='933' and booking_id ='0';
[11/06/2023 12:04:15], [file name :-/home/otrams/public_html/beta/confirm_booking.php],update xmllogs set reservation_id='79' where agent_logs_id='0' and source_type='expedia';
[11/06/2023 12:04:15], [file name :-/home/otrams/public_html/beta/confirm_booking.php],INSERT INTO booking_commission set agent_commission='',  supplier_commission='3.2',  commission_tax='',  booking_id ='79',  supplier_tax='4.02',  supplier_base_fare='33.5',  supplier_commissionable_fare='3.2'able_fare,  retension='100',  commission_percent='0',  create_date ='2023-11-06 12:04:15';
[11/06/2023 12:06:23], [file name :-/home/otrams/public_html/beta/booking_list.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:06:23' WHERE id= '108';
[11/06/2023 12:06:26], [file name :-/home/otrams/public_html/beta/my_accounts.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:06:26' WHERE id= '108';
[11/06/2023 12:56:41], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2023-11-06 12:56:41',login_attempt=0 where id = '7849';
[11/06/2023 12:56:41], [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 = '2023-11-06 12:56:41', ip = '43.239.53.130', action = 'Login' ;
[11/06/2023 12:56:41], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET is_exception = 'yes', exception_info = CONCAT(exception_info, '~~~' ,'ip changed 43.239.53.130') WHERE id= '1';
[11/06/2023 12:56:56], [file name :-/home/otrams/public_html/beta/agent_login.php],update agents set last_login_date = '2023-11-06 12:56:56',login_attempt=0 where id = '7849';
[11/06/2023 12:56:56], [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 = '2023-11-06 12:56:56', ip = '43.239.53.130', action = 'Login' ;
[11/06/2023 12:56:56], [file name :-/home/otrams/public_html/beta/hotel_search.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:56:56' WHERE id= '109';
[11/06/2023 12:57:20], [file name :-/home/otrams/public_html/beta/sight_search.php],UPDATE user_sessions_ip SET update_date = '2023-11-06 12:57:20' WHERE id= '109';
