'bookings' webservice PUT API service updates
While using the PUT API for adding/updating services to a booking, the service details are not reflecting correctly.
- For example, if a room has an auto added service for "Room Maintenance", while trying to get services in bookings API, the service is not reflected:
- If I now go and add a service from the PUT API, the auto added service is removed:
- Now If I go and add another service through PUT, the previously added services prices are updated as well:
Hi @rahulpant93,
To resolve the issue you're facing, you can use the following PR: #1333
Hi @vishal-singh-webkul thanks for the response. This PR does fix the fetching of auto added charges, but the PUT request to add additional items goes and updates the other service item charges as well:
I was trying to explore the code as well but not getting enough bandwidth, if you could guide on which function within the class handles it, I can try debugging and fixing it.
Hi @rahulpant93,
To resolve the issue you're facing regarding the services prices, you can use the following PR: https://github.com/Qloapps/QloApps/pull/1407