Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add uniqueness for generation chargeback report for SSUI
Chargeback report in summary dashboard screen is calculated from data from this API request: /api/services?expand=resources&filter[]=service_id%3Dnil&attributes=chargeback_report and this request is returing data from each service service1: chargeback_data_for_service_my_service service2: chargeback_data_for_service_my_service service3: chargeback_data_for_service_my_service but for each service has been used same name of report because Services could be named by same name. So when there is generated result for service3 and this result is empty then in final API request will have all services empty result as well because report results from service1 and 2 have been overwriten by empty result from service 3 - thanks to the distiguishing by just name. So I am adding Service#id for distiguishing and ensuring uniqueness.
- Loading branch information