export detail
This commit is contained in:
@@ -98,4 +98,14 @@ export class CostManagementService {
|
||||
});
|
||||
return this.http.get<any>(url, { headers });
|
||||
}
|
||||
|
||||
getCostDetail(category: any, room: any, period: any): Observable<any> {
|
||||
const endpoint = `/cost-detail/get/Details`;
|
||||
const url = `${BASE_URL}${endpoint}?category_id=${category}&room_id=${room}&periode=${period}`;
|
||||
const headers = new HttpHeaders({
|
||||
'Content-Type': 'application/json',
|
||||
'x-api-key': 'j2yaYvPSQcsEEmHh3NEobfiXyyXmmnHT'
|
||||
});
|
||||
return this.http.get<any>(url, { headers });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user