export detail

This commit is contained in:
2024-06-28 08:07:17 +07:00
parent be40cea2a1
commit ca30a991ae
9 changed files with 680 additions and 35 deletions

View File

@@ -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 });
}
}